1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-06 14:35:32 +01:00

ShuttleGui::AddFixedText takes TranslatableString

This commit is contained in:
Paul Licameli
2019-12-22 19:55:59 -05:00
parent acd1158e1b
commit 13417b6d5b
19 changed files with 71 additions and 45 deletions

View File

@@ -114,11 +114,19 @@ void ModulePrefs::PopulateOrExchange(ShuttleGui & S)
S.StartStatic( {} );
{
S.AddFixedText(_("These are experimental modules. Enable them only if you've read the Audacity Manual\nand know what you are doing.") );
S.AddFixedText(wxString(wxT(" ")) + _("'Ask' means Audacity will ask if you want to load the module each time it starts.") );
S.AddFixedText(wxString(wxT(" ")) + _("'Failed' means Audacity thinks the module is broken and won't run it.") );
S.AddFixedText(wxString(wxT(" ")) + _("'New' means no choice has been made yet.") );
S.AddFixedText(_("Changes to these settings only take effect when Audacity starts up."));
S.AddFixedText(XO(
"These are experimental modules. Enable them only if you've read the Audacity Manual\nand know what you are doing.") );
S.AddFixedText(XO(
/* i18n-hint preserve the leading spaces */
" 'Ask' means Audacity will ask if you want to load the module each time it starts.") );
S.AddFixedText(XO(
/* i18n-hint preserve the leading spaces */
" 'Failed' means Audacity thinks the module is broken and won't run it.") );
S.AddFixedText(XO(
/* i18n-hint preserve the leading spaces */
" 'New' means no choice has been made yet.") );
S.AddFixedText(XO(
"Changes to these settings only take effect when Audacity starts up."));
{
S.StartMultiColumn( 2 );
int i;
@@ -137,7 +145,7 @@ void ModulePrefs::PopulateOrExchange(ShuttleGui & S)
}
if( mModules.size() < 1 )
{
S.AddFixedText( _("No modules were found") );
S.AddFixedText( XO("No modules were found") );
}
}
S.EndStatic();