1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-11 00:45:53 +01:00

TranslatableString for labels of ShuttleGui buttons

This commit is contained in:
Paul Licameli
2019-12-22 14:20:01 -05:00
parent c682718ee4
commit 1944ac2040
34 changed files with 183 additions and 178 deletions

View File

@@ -171,13 +171,15 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
#if wxUSE_TOOLTIPS
.ToolTip( XO("Backwards" ) )
#endif
.AddButton( _("<") );
/* i18n-hint arrowhead meaning backward movement */
.AddButton( XO("<") );
S.Id( wxID_FORWARD )
.Disable()
#if wxUSE_TOOLTIPS
.ToolTip( XO("Forwards" ) )
#endif
.AddButton( _(">") );
/* i18n-hint arrowhead meaning forward movement */
.AddButton( XO(">") );
}
S.EndHorizontalLay();
@@ -195,7 +197,7 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
S.Prop(1).Focus().Position( wxEXPAND )
.AddWindow( html );
S.Id( wxID_CANCEL ).AddButton( _("Close"), wxALIGN_CENTER, true );
S.Id( wxID_CANCEL ).AddButton( XO("Close"), wxALIGN_CENTER, true );
}
S.EndPanel();