diff options
| author | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-06 02:49:13 +0500 |
|---|---|---|
| committer | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-06 02:49:13 +0500 |
| commit | c19f34db2f4a64326d03cee7edae095051660f65 (patch) | |
| tree | 3c8defa8bcafe90fb907dace5d2a21c2ca5e0f8a /fluid/panels/settings_panel.fl | |
| parent | 43e0a37906afabb0b3b091b8d3eac9a910cae50c (diff) | |
wip
Diffstat (limited to 'fluid/panels/settings_panel.fl')
| -rw-r--r-- | fluid/panels/settings_panel.fl | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/fluid/panels/settings_panel.fl b/fluid/panels/settings_panel.fl index abc0ade2f..86513bafd 100644 --- a/fluid/panels/settings_panel.fl +++ b/fluid/panels/settings_panel.fl @@ -1586,10 +1586,10 @@ if (v == LOAD) { Fl_Input i18n_gnu_include_input { label {\#include:} callback {if (v == LOAD) { - o->value(Fluid.proj.i18n.gnu_include.c_str()); + o->value(Fluid.proj.i18n.gnu_include); } else { Fluid.proj.undo.checkpoint(); - Fluid.proj.i18n.gnu_include = o->value(); + Fluid.proj.i18n.set_gnu_include(o->value()); Fluid.proj.set_modflag(1); }} tooltip {The include file for internationalization.} xywh {110 103 230 20} box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12 @@ -1597,10 +1597,10 @@ if (v == LOAD) { Fl_Input i18n_gnu_conditional_input { label {Conditional:} callback {if (v == LOAD) { - o->value(Fluid.proj.i18n.gnu_conditional.c_str()); + o->value(Fluid.proj.i18n.gnu_conditional); } else { Fluid.proj.undo.checkpoint(); - Fluid.proj.i18n.gnu_conditional = o->value(); + Fluid.proj.i18n.set_gnu_conditional(o->value()); Fluid.proj.set_modflag(1); }} tooltip {only include the header file if this preprocessor macro is defined, for example FLTK_GETTEXT_FOUND} xywh {110 128 230 20} box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12 @@ -1608,10 +1608,10 @@ if (v == LOAD) { Fl_Input i18n_gnu_function_input { label {Function:} callback {if (v == LOAD) { - o->value(Fluid.proj.i18n.gnu_function.c_str()); + o->value(Fluid.proj.i18n.gnu_function); } else { Fluid.proj.undo.checkpoint(); - Fluid.proj.i18n.gnu_function = o->value(); + Fluid.proj.i18n.set_gnu_function(o->value()); Fluid.proj.set_modflag(1); }} tooltip {The function to call to translate labels and tooltips, usually "gettext" or "_"} xywh {110 153 230 20} box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12 @@ -1619,10 +1619,10 @@ if (v == LOAD) { Fl_Input i18n_gnu_static_function_input { label {Static Function:} callback {if (v == LOAD) { - o->value(Fluid.proj.i18n.gnu_static_function.c_str()); + o->value(Fluid.proj.i18n.gnu_static_function); } else { Fluid.proj.undo.checkpoint(); - Fluid.proj.i18n.gnu_static_function = o->value(); + Fluid.proj.i18n.set_gnu_static_function(o->value()); Fluid.proj.set_modflag(1); }} tooltip {function to call to translate static text, The function to call to internationalize labels and tooltips, usually "gettext_noop" or "N_"} xywh {110 178 230 20} box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12 @@ -1635,10 +1635,10 @@ if (v == LOAD) { Fl_Input i18n_pos_include_input { label {\#include:} callback {if (v == LOAD) { - o->value(Fluid.proj.i18n.posix_include.c_str()); + o->value(Fluid.proj.i18n.posix_include); } else { Fluid.proj.undo.checkpoint(); - Fluid.proj.i18n.posix_include = o->value(); + Fluid.proj.i18n.set_posix_include(o->value()); Fluid.proj.set_modflag(1); }} tooltip {The include file for internationalization.} xywh {110 103 230 20} box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12 @@ -1646,10 +1646,10 @@ if (v == LOAD) { Fl_Input i18n_pos_conditional_input { label {Conditional:} callback {if (v == LOAD) { - o->value(Fluid.proj.i18n.posix_conditional.c_str()); + o->value(Fluid.proj.i18n.posix_conditional); } else { Fluid.proj.undo.checkpoint(); - Fluid.proj.i18n.posix_conditional = o->value(); + Fluid.proj.i18n.set_posix_conditional(o->value()); Fluid.proj.set_modflag(1); }} tooltip {only include the header file if this preprocessor macro is defined, for example FLTK_GETTEXT_FOUND} xywh {110 128 230 20} box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12 @@ -1657,10 +1657,10 @@ if (v == LOAD) { Fl_Input i18n_pos_file_input { label {Catalog:} callback {if (v == LOAD) { - o->value(Fluid.proj.i18n.posix_file.c_str()); + o->value(Fluid.proj.i18n.posix_file); } else { Fluid.proj.undo.checkpoint(); - Fluid.proj.i18n.posix_file = o->value(); + Fluid.proj.i18n.set_posix_file(o->value()); Fluid.proj.set_modflag(1); }} tooltip {The name of the message catalog.} xywh {110 153 230 20} box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12 @@ -1672,10 +1672,10 @@ if (v == LOAD) { Fl_Input i18n_pos_set_input { label {Set:} callback {if (v == LOAD) { - o->value(Fluid.proj.i18n.posix_set.c_str()); + o->value(Fluid.proj.i18n.posix_set); } else { Fluid.proj.undo.checkpoint(); - Fluid.proj.i18n.posix_set = o->value(); + Fluid.proj.i18n.set_posix_set(o->value()); Fluid.proj.set_modflag(1); }} tooltip {The message set number.} xywh {110 178 80 20} type Int box THIN_DOWN_BOX labelsize 12 textfont 4 textsize 12 |
