1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01:00

TranslatableString for list control column headers, menus

This commit is contained in:
Paul Licameli
2019-12-23 17:57:45 -05:00
parent 6b235bdec5
commit 455d3185a8
10 changed files with 23 additions and 22 deletions

View File

@@ -139,7 +139,7 @@ void ApplyMacroDialog::PopulateOrExchange(ShuttleGui &S)
.Style(wxSUNKEN_BORDER | wxLC_REPORT | wxLC_HRULES | wxLC_VRULES |
wxLC_SINGLE_SEL)
// i18n-hint: This is the heading for a column in the edit macros dialog
.AddListControlReportMode( { _("Macro") } );
.AddListControlReportMode( { XO("Macro") } );
}
S.EndStatic();
@@ -415,7 +415,7 @@ void ApplyMacroDialog::OnApplyToFiles(wxCommandEvent & WXUNUSED(event))
fileList = S.Id(CommandsListID)
.Style(wxSUNKEN_BORDER | wxLC_REPORT | wxLC_HRULES | wxLC_VRULES |
wxLC_SINGLE_SEL)
.AddListControlReportMode( { _("File") } );
.AddListControlReportMode( { XO("File") } );
// AssignImageList takes ownership
fileList->AssignImageList(imageList.release(), wxIMAGE_LIST_SMALL);
}
@@ -624,7 +624,7 @@ void MacrosWindow::PopulateOrExchange(ShuttleGui & S)
.Style(wxSUNKEN_BORDER | wxLC_REPORT | wxLC_HRULES
| wxLC_SINGLE_SEL | wxLC_EDIT_LABELS)
// i18n-hint: This is the heading for a column in the edit macros dialog
.AddListControlReportMode( { _("Macro") } );
.AddListControlReportMode( { XO("Macro") } );
S.StartVerticalLay(wxALIGN_TOP, 0);
{
S.Id(AddButtonID).AddButton(XO("&New"));
@@ -657,9 +657,9 @@ void MacrosWindow::PopulateOrExchange(ShuttleGui & S)
wxLC_SINGLE_SEL)
.AddListControlReportMode({
/* i18n-hint: This is the number of the command in the list */
{ _("Num"), wxLIST_FORMAT_RIGHT },
{ _("Command "), wxLIST_FORMAT_RIGHT },
{ _("Parameters"), wxLIST_FORMAT_LEFT }
{ XO("Num"), wxLIST_FORMAT_RIGHT },
{ XO("Command "), wxLIST_FORMAT_RIGHT },
{ XO("Parameters"), wxLIST_FORMAT_LEFT }
});
S.StartVerticalLay(wxALIGN_TOP, 0);