mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Added missing initializers for QuickDialog.i18n.
This commit is contained in:
parent
3b421b32bb
commit
9902c1b885
@ -390,7 +390,7 @@ void menu_save_mode_cmd (void)
|
||||
NULL_QuickWidget};
|
||||
static QuickDialog dialog =
|
||||
{DLG_X, DLG_Y, -1, -1, N_(" Edit Save Mode "), "[Edit Save Mode]",
|
||||
widgets};
|
||||
widgets, 0};
|
||||
static int i18n_flag = 0;
|
||||
|
||||
if (!i18n_flag) {
|
||||
@ -1194,7 +1194,7 @@ edit_replace_prompt (WEdit * edit, char *replace_text, int xpos, int ypos)
|
||||
{
|
||||
QuickDialog Quick_input =
|
||||
{CONFIRM_DLG_WIDTH, CONFIRM_DLG_HEIGTH, 0, 0, N_ (" Confirm replace "),
|
||||
"[Input Line Keys]", 0 /*quick_widgets */ };
|
||||
"[Input Line Keys]", 0 /*quick_widgets */, 0 };
|
||||
|
||||
Quick_input.widgets = quick_widgets;
|
||||
|
||||
@ -1271,7 +1271,7 @@ edit_replace_dialog (WEdit * edit, char **search_text, char **replace_text, char
|
||||
{
|
||||
QuickDialog Quick_input =
|
||||
{REPLACE_DLG_WIDTH, REPLACE_DLG_HEIGHT, -1, 0, N_(" Replace "),
|
||||
"[Input Line Keys]", 0 /*quick_widgets */ };
|
||||
"[Input Line Keys]", 0 /*quick_widgets */, 0};
|
||||
|
||||
Quick_input.widgets = quick_widgets;
|
||||
|
||||
@ -1336,7 +1336,7 @@ edit_search_dialog (WEdit * edit, char **search_text)
|
||||
{
|
||||
QuickDialog Quick_input =
|
||||
{SEARCH_DLG_WIDTH, SEARCH_DLG_HEIGHT, -1, 0, N_("Search"),
|
||||
"[Input Line Keys]", 0 /*quick_widgets */ };
|
||||
"[Input Line Keys]", 0 /*quick_widgets */, 0};
|
||||
|
||||
Quick_input.widgets = quick_widgets;
|
||||
|
||||
@ -2560,7 +2560,7 @@ void edit_mail_dialog (WEdit * edit)
|
||||
|
||||
QuickDialog Quick_input =
|
||||
{50, MAIL_DLG_HEIGHT, -1, 0, N_(" Mail "),
|
||||
"[Input Line Keys]", 0};
|
||||
"[Input Line Keys]", 0, 0};
|
||||
|
||||
QuickWidget quick_widgets[] =
|
||||
{
|
||||
|
@ -121,7 +121,7 @@ edit_options_dialog (void)
|
||||
};
|
||||
|
||||
QuickDialog Quick_options =
|
||||
{ OPT_DLG_W, OPT_DLG_H, -1, 0, N_(" Editor options "), "", 0 };
|
||||
{ OPT_DLG_W, OPT_DLG_H, -1, 0, N_(" Editor options "), "", 0, 0 };
|
||||
|
||||
if (!i18n_flag) {
|
||||
i18n_translate_array (key_emu_str);
|
||||
|
Loading…
Reference in New Issue
Block a user