From 423a752bef3172422a1001b5f49554b497d83d26 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Wed, 18 Oct 2017 15:39:01 -0400 Subject: [PATCH] Improved file exception message for locale "en" as well as for blank --- src/FileException.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FileException.cpp b/src/FileException.cpp index 3810bbcc4..7330e0b56 100644 --- a/src/FileException.cpp +++ b/src/FileException.cpp @@ -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.