Skip to content

Commit db31cb4

Browse files
author
Jonathan Warren
committed
Merge pull request Bitmessage#363 from akh81/locale-bug-fix
fixed the bug with getting the wrong locale
2 parents b5e8686 + f322696 commit db31cb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bitmessageqt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3289,7 +3289,7 @@ def run():
32893289
translator = QtCore.QTranslator()
32903290

32913291
try:
3292-
translator.load("translations/bitmessage_" + str(locale.getlocale()[0]))
3292+
translator.load("translations/bitmessage_" + str(locale.getdefaultlocale()[0]))
32933293
except:
32943294
# The above is not compatible with all versions of OSX.
32953295
translator.load("translations/bitmessage_en_US") # Default to english.

0 commit comments

Comments
 (0)