diff options
| author | Matthias Melcher <git@matthiasm.com> | 2021-12-19 01:09:13 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2021-12-19 02:03:05 +0100 |
| commit | 29531873ea4395a2dc65cefcc28db09569c38c18 (patch) | |
| tree | 97ae97c7b7f798c11fd291a0e2cc6bfb27e32b8a /fluid/alignment_panel.fl | |
| parent | 5438954d8c6213f1b0cc9d23b70ffaae388e1d60 (diff) | |
STR 3289: Fluid i18n, gettext, catguts improvements
Removed some unneeded code.
Diffstat (limited to 'fluid/alignment_panel.fl')
| -rw-r--r-- | fluid/alignment_panel.fl | 36 |
1 files changed, 23 insertions, 13 deletions
diff --git a/fluid/alignment_panel.fl b/fluid/alignment_panel.fl index 0bce36880..ca8fb6cbb 100644 --- a/fluid/alignment_panel.fl +++ b/fluid/alignment_panel.fl @@ -54,7 +54,7 @@ Function {make_project_window()} {open } { Fl_Window project_window { label {Project Settings} open - xywh {473 246 399 275} type Double + xywh {472 246 399 275} type Double code0 {\#include <FL/Fl_Preferences.H>} code1 {\#include <FL/Fl_Tooltip.H>} modal visible } { @@ -65,11 +65,11 @@ set_modflag(-1, -1);} tooltip {Close this dialog.} xywh {328 239 60 25} } Fl_Tabs {} {open - xywh {10 10 378 218} selection_color 12 + xywh {10 10 379 218} selection_color 12 labelcolor 7 } { Fl_Group {} { - label Output open - xywh {10 36 378 192} + label Output open selected + xywh {10 36 379 192} } { Fl_Box {} { label {Use "name.ext" to set a file name or just ".ext" to set extension.} @@ -95,11 +95,11 @@ set_modflag(-1, -1);} Fl_Check_Button use_FL_COMMAND_button { label {Menu shortcuts use FL_COMMAND} callback use_FL_COMMAND_button_cb - tooltip {Replace FL_CTRL with FL_COMMAND when generating menu shortcut code.} xywh {117 176 272 20} down_box DOWN_BOX + tooltip {Replace FL_CTRL and FL_META with FL_COMMAND when generating menu shortcuts} xywh {117 176 272 20} down_box DOWN_BOX } Fl_Check_Button utf8_in_src_button { label {allow Unicode UTF-8 in source code} - callback utf8_in_src_cb selected + callback utf8_in_src_cb tooltip {For older compilers, characters outside of the printable ASCII range are escaped using octal notation `\\0123`. If this option is checked, Fluid will write UTF-8 characters unchanged.} xywh {117 199 272 20} down_box DOWN_BOX } } @@ -110,7 +110,7 @@ set_modflag(-1, -1);} Fl_Choice i18n_type_chooser { label {Use:} callback i18n_type_cb open - tooltip {Type of internationalization to use.} xywh {100 48 136 25} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 + tooltip {Type of internationalization to use.} xywh {128 48 136 25} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 } { MenuItem {} { label None @@ -128,22 +128,32 @@ set_modflag(-1, -1);} Fl_Input i18n_include_input { label {\#include:} callback i18n_text_cb - tooltip {The include file for internationalization.} xywh {100 78 272 20} box THIN_DOWN_BOX labelfont 1 textfont 4 + tooltip {The include file for internationalization.} xywh {128 78 243 20} box THIN_DOWN_BOX labelfont 1 textfont 4 + } + Fl_Input i18n_conditional_input { + label {Conditional:} + callback i18n_text_cb + tooltip {only include the header file if this preprocessor macro is defined, for example FLTK_GETTEXT_FOUND} xywh {128 103 243 20} box THIN_DOWN_BOX labelfont 1 textfont 4 } Fl_Input i18n_file_input { label {File:} callback i18n_text_cb - tooltip {The name of the message catalog.} xywh {100 104 272 20} box THIN_DOWN_BOX labelfont 1 textfont 4 + tooltip {The name of the message catalog.} xywh {128 128 243 20} box THIN_DOWN_BOX labelfont 1 textfont 4 } Fl_Input i18n_set_input { label {Set:} callback i18n_int_cb - tooltip {The message set number.} xywh {100 128 272 20} type Int box THIN_DOWN_BOX labelfont 1 textfont 4 + tooltip {The message set number.} xywh {128 153 243 20} type Int box THIN_DOWN_BOX labelfont 1 textfont 4 } Fl_Input i18n_function_input { label {Function:} callback i18n_text_cb - tooltip {The function to call to internationalize the labels and tooltips.} xywh {100 103 272 20} box THIN_DOWN_BOX labelfont 1 textfont 4 + tooltip {The function to call to translate labels and tooltips, usually "gettext" or "_"} xywh {128 128 243 20} box THIN_DOWN_BOX labelfont 1 textfont 4 + } + Fl_Input i18n_static_function_input { + label {Static Function:} + callback i18n_text_cb + tooltip {function to call to translate static text, The function to call to internationalize labels and tooltips, usually "gettext_noop" or "N_"} xywh {128 153 243 20} box THIN_DOWN_BOX labelfont 1 textfont 4 } } } @@ -388,7 +398,7 @@ Function {make_layout_window()} {open } { Fl_Window grid_window { label {Layout Settings} - xywh {885 274 310 245} type Double non_modal visible + xywh {745 303 310 245} type Double non_modal visible } { Fl_Input horizontal_input { label x @@ -431,7 +441,7 @@ Function {make_layout_window()} {open xywh {10 115 107 25} labelfont 1 align 24 } Fl_Group {} {open - xywh {105 115 170 75} + xywh {105 115 192 75} } { Fl_Round_Button {def_widget_size[0]} { user_data 8 user_data_type long |
