Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Commit

Permalink
Delete the trailing space to fit the format.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryspia committed Oct 12, 2014
1 parent 94ee28e commit 9a74a05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/freeseer/frontend/qtcommon/FreeseerApp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 9a74a05

Please sign in to comment.