1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-30 15:39: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;
case Cause::Write: {
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.
// It was too late to translate the new message, so improve it
// in English only.