Merge pull request #733 from digital-dreamer/fix-417-relative-path

Fix #417 - bad relative path breaks translations
This commit is contained in:
Jonathan Warren 2014-11-13 16:35:37 -05:00
commit ceb631d12e

View File

@ -3852,7 +3852,7 @@ def run():
translator = QtCore.QTranslator() translator = QtCore.QTranslator()
translationpath = os.path.join( translationpath = os.path.join(
getattr(sys, '_MEIPASS', ''), getattr(sys, '_MEIPASS', sys.path[0]),
'translations', 'translations',
'bitmessage_' + l10n.getTranslationLanguage() 'bitmessage_' + l10n.getTranslationLanguage()
) )