diff --git a/src/effects/ChangePitch.cpp b/src/effects/ChangePitch.cpp index 88b64c121..4d98853cd 100644 --- a/src/effects/ChangePitch.cpp +++ b/src/effects/ChangePitch.cpp @@ -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(); diff --git a/src/effects/TruncSilence.cpp b/src/effects/TruncSilence.cpp index 5fce41e38..ce28fa7a2 100644 --- a/src/effects/TruncSilence.cpp +++ b/src/effects/TruncSilence.cpp @@ -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))));