mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-02 17:23:18 +02:00
Remove special treatment of late additions to 2.2.1 i18n messages
This commit is contained in:
parent
cb363cdd99
commit
a0fad21fec
@ -32,16 +32,9 @@ wxString FileException::ErrorMessage() const
|
||||
break;
|
||||
case Cause::Write: {
|
||||
auto lang = gPrefs->Read(wxT("/Locale/Language"), wxT(""));
|
||||
if (lang.empty() || lang.Left(2) == wxT("en"))
|
||||
// PRL: last-minute improved message for 2.2.0 RC1.
|
||||
// It was too late to translate the new message, so improve it
|
||||
// in English only.
|
||||
// This message is more like that for failed save of a project.
|
||||
format =
|
||||
_("Audacity failed to write to a file.\n"
|
||||
"Perhaps %s is not writable or the disk is full.");
|
||||
else
|
||||
format = _("Audacity failed to write to a file in %s.");
|
||||
break;
|
||||
}
|
||||
case Cause::Rename:
|
||||
|
@ -334,14 +334,7 @@ void AudacityProject::CreateMenusAndCommands()
|
||||
|
||||
{
|
||||
auto lang = gPrefs->Read(wxT("/Locale/Language"), wxT(""));
|
||||
if (lang.empty() || lang.Left(2) == wxT("en"))
|
||||
// PRL: last-minute improved message for 2.2.1 RC1, English only.
|
||||
c->BeginSubMenu( _("&Export") );
|
||||
else
|
||||
// This string was already in catalogs for 2.2.0
|
||||
// So the translation may still replace "Save Other"
|
||||
// But translation will have no accelerator.
|
||||
c->BeginSubMenu( _("Export") );
|
||||
}
|
||||
|
||||
// Enable Export audio commands only when there are audio tracks.
|
||||
|
Loading…
x
Reference in New Issue
Block a user