1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-13 14:13:32 +02:00

TranslatableString for captions of text entry boxes

This commit is contained in:
Paul Licameli
2019-12-22 16:26:56 -05:00
parent b404eb7800
commit 5168d62e3d
59 changed files with 221 additions and 198 deletions

View File

@@ -408,20 +408,20 @@ ImportRawDialog::ImportRawDialog(wxWindow * parent,
{
// Offset text
/* i18n-hint: (noun)*/
mOffsetText = S.AddTextBox(_("Start offset:"),
mOffsetText = S.AddTextBox(XO("Start offset:"),
wxString::Format(wxT("%d"), mOffset),
12);
S.AddUnits(_("bytes"));
// Percent text
mPercentText = S.AddTextBox(_("Amount to import:"),
mPercentText = S.AddTextBox(XO("Amount to import:"),
wxT("100"),
12);
S.AddUnits(_("%"));
// Rate text
/* i18n-hint: (noun)*/
mRateText = S.AddTextBox(_("Sample rate:"),
mRateText = S.AddTextBox(XO("Sample rate:"),
wxString::Format(wxT("%d"), (int)mRate),
12);
/* i18n-hint: This is the abbreviation for "Hertz", or