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

Improved file exception message for locale "en" as well as for blank

This commit is contained in:
Paul Licameli 2017-10-18 15:39:01 -04:00
parent 147c3f9d65
commit 423a752bef

View File

@ -32,7 +32,7 @@ wxString FileException::ErrorMessage() const
break; break;
case Cause::Write: { case Cause::Write: {
auto lang = gPrefs->Read(wxT("/Locale/Language"), wxT("")); auto lang = gPrefs->Read(wxT("/Locale/Language"), wxT(""));
if (lang.empty()) if (lang.empty() || lang.Left(2) == wxT("en"))
// PRL: last-minute improved message for 2.2.0 RC1. // PRL: last-minute improved message for 2.2.0 RC1.
// It was too late to translate the new message, so improve it // It was too late to translate the new message, so improve it
// in English only. // in English only.