1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 01:29:43 +02:00

Make some strings translatable, per Steve's 'Untranslated labels in effects' post on -quality.

This commit is contained in:
v.audacity 2013-12-14 02:07:06 +00:00
parent fc6e4a4cba
commit 18e45e1e58
2 changed files with 5 additions and 5 deletions

View File

@ -299,7 +299,7 @@ void ChangePitchDialog::PopulateOrExchange(ShuttleGui & S)
S.EndVerticalLay();
/* i18n-hint: (noun) Musical pitch.*/
S.StartStatic(wxT("Pitch"));
S.StartStatic(_("Pitch"));
{
S.StartMultiColumn(6, wxALIGN_CENTER); // 6 controls, because each AddChoice adds a wxStaticText and a wxChoice.
{
@ -333,7 +333,7 @@ void ChangePitchDialog::PopulateOrExchange(ShuttleGui & S)
}
S.EndStatic();
S.StartStatic(wxT("Frequency"));
S.StartStatic(_("Frequency"));
{
S.StartMultiColumn(5, wxALIGN_CENTER); // 5, because AddTextBox adds a wxStaticText and a wxTextCtrl.
{
@ -351,7 +351,7 @@ void ChangePitchDialog::PopulateOrExchange(ShuttleGui & S)
S.StartHorizontalLay(wxALIGN_CENTER);
{
m_pTextCtrl_PercentChange = S.Id(ID_TEXT_PERCENTCHANGE).AddTextBox(wxT("Percent Change:"), wxT(""), 12);
m_pTextCtrl_PercentChange = S.Id(ID_TEXT_PERCENTCHANGE).AddTextBox(_("Percent Change:"), wxT(""), 12);
m_pTextCtrl_PercentChange->SetValidator(numvld);
}
S.EndHorizontalLay();

View File

@ -526,7 +526,7 @@ void TruncSilenceDialog::PopulateOrExchange(ShuttleGui & S)
{
S.AddSpace(0, 5);
S.StartStatic(wxT("Detection"));
S.StartStatic(_("Detection"));
{
S.StartTwoColumn();
{
@ -547,7 +547,7 @@ void TruncSilenceDialog::PopulateOrExchange(ShuttleGui & S)
}
S.EndStatic();
S.StartStatic(wxT("Truncation"));
S.StartStatic(_("Truncation"));
{
mTruncationMessage = S.AddVariableText(wxString::Format(_("For silences longer than %d milliseconds:"),
(gPrefs->Read(wxT("/Effects/TruncateSilence/InitialAllowedSilentMs"), 200L))));