From af2fc6f9c37c78adf971a5c4e783633af0b7a323 Mon Sep 17 00:00:00 2001 From: Seeker4 Date: Mon, 19 Aug 2019 12:32:26 -0700 Subject: [PATCH] Automatically convert IS language code to HE on startup (new code for Hebrew) --- oscar/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oscar/main.cpp b/oscar/main.cpp index fd903259..a7b4b973 100644 --- a/oscar/main.cpp +++ b/oscar/main.cpp @@ -273,6 +273,8 @@ int main(int argc, char *argv[]) { } QString lastlanguage = settings.value(LangSetting, "").toString(); + if (lastlanguage.compare("is", Qt::CaseInsensitive)) // Convert code for Hebrew from 'is' to 'he' + lastlanguage = "he"; bool dont_load_profile = false; bool force_data_dir = false;