1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 16:39:30 +02:00

Fixed internationalisation hints.

This commit is contained in:
james.k.crook@gmail.com 2012-03-19 17:41:19 +00:00
parent efcd55142b
commit f1721693c3

View File

@ -59,7 +59,7 @@ void AboutDialog::CreateCreditsList()
#if IS_BETA
AddCredit(wxT("James Crook"), roleTeamDeveloper);
#endif
AddCredit(wxT("Roger Dannenberg - co-founder"), roleTeamDeveloper);
AddCredit(wxString(wxT("Roger Dannenberg - ")) + _("co-founder"), roleTeamDeveloper);
AddCredit(wxT("Vaughan Johnson"), roleTeamDeveloper);
AddCredit(wxT("Martyn Shaw"), roleTeamDeveloper);
@ -80,7 +80,7 @@ void AboutDialog::CreateCreditsList()
AddCredit(wxT("Joshua Haberman"), roleEmeritusDeveloper);
AddCredit(wxT("Ruslan Ijbulatov"), roleEmeritusDeveloper);
AddCredit(wxT("Leland Lucius"), roleEmeritusDeveloper);
AddCredit(wxT("Dominic Mazzoni - co-founder"), roleEmeritusDeveloper);
AddCredit(wxString(wxT("Dominic Mazzoni - "))+_("co-founder"), roleEmeritusDeveloper);
AddCredit(wxT("Markus Meyer"), roleEmeritusDeveloper);
AddCredit(wxT("Monty Montgomery"), roleEmeritusDeveloper);
AddCredit(wxT("Shane Mueller"), roleEmeritusDeveloper);
@ -173,7 +173,11 @@ AboutDialog::AboutDialog(wxWindow * parent)
PopulateLicensePage( S );
}
S.EndNotebook();
/*i18n-hint: "OK... Audacious" appears on a button at the
* foot of the 'About Audacity' dialog box, after some text to read.
* In English it is slightly humorous alternative to an 'OK' button.
* If the humour doesn't work in your language, then just use whatever
* you would use for a translation for 'OK' on a button. */
wxButton *ok = new wxButton(S.GetParent(), wxID_OK, _("OK... Audacious!"));
ok->SetDefault();
S.Prop(0).AddWindow( ok );
@ -197,7 +201,9 @@ void AboutDialog::PopulateAudacityPage( ShuttleGui & S )
"Audacity is a free program written by a worldwide team of volunteer <a href=\"http://audacity.sourceforge.net/community/developers\">developers</a>. We thank <a href=\"http://sourceforge.net\">SourceForge.net</a> and <a href=\"http://code.google.com\">Google Code</a> for our project hosting. Audacity is <a href=\"http://audacity.sourceforge.net/download/\">available</a> for Windows, Mac, and GNU/Linux (and other Unix-like systems).");
#if IS_BETA // Is this beta or not?
wxString par2Str = _(
// TODO: IS_BETA is going away
// No longer distribute betas, so translation no longer needed.
wxString par2Str = wxT(
"This is a Beta version of the program. It may contain bugs and unfinished features. We depend on your feedback: please send bug reports and feature requests to our <a href=\"mailto:feedback@audacityteam.org\">Feedback</a> address. For help, use the Help menu in the program, view the tips and tricks on our <a href=\"http://wiki.audacityteam.org/\">Wiki</a> or visit our <a href=\"http://forum.audacityteam.org/\">Forum</a>.");
#else
wxString par2Str = _(
@ -206,11 +212,10 @@ void AboutDialog::PopulateAudacityPage( ShuttleGui & S )
wxString translatorCredits;
/* i18n-hint: The translation of "translator_credits" will appear
in the credits in the About Audacity window. Use this to add
your own name(s) to the credits.
For example: "English translation by Dominic Mazzoni."
*/
* in the credits in the About Audacity window. Use this to add
* your own name(s) to the credits.
*
* For example: "English translation by Dominic Mazzoni." */
if (_("translator_credits") != wxString(wxT("translator_credits"))) {
translatorCredits += wxT("<p><center>");
translatorCredits += _("translator_credits");