mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-31 16:09:28 +02:00
Improved file exception message for locale "en" as well as for blank
This commit is contained in:
parent
147c3f9d65
commit
423a752bef
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user