From 94ee28e533d30b8deb2a18ab61eadd680d4a60e5 Mon Sep 17 00:00:00 2001 From: Kaiyuan Li Date: Sat, 4 Oct 2014 02:27:21 -0700 Subject: [PATCH] Delete the redundant backslash to fit the format requirement. --- src/freeseer/frontend/qtcommon/FreeseerApp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freeseer/frontend/qtcommon/FreeseerApp.py b/src/freeseer/frontend/qtcommon/FreeseerApp.py index dc694b32..5f7ba3e3 100644 --- a/src/freeseer/frontend/qtcommon/FreeseerApp.py +++ b/src/freeseer/frontend/qtcommon/FreeseerApp.py @@ -190,8 +190,8 @@ def setupLanguageMenu(self): languageDetected = True #Additional case for Simplified Chinese & Traditional Chinese. #Traditional Chinese has higher priority - if (self.current_language[:2] != "zh" or \ - str(language) == "tr_zh_HK.qm" and \ + if (self.current_language[:2] != "zh" or + str(language) == "tr_zh_HK.qm" and self.current_language != "zh_CN"): self.current_language = str(language).strip("tr_").rstrip(".qm")