Fix #417 - bad relative path breaks translations
This commit is contained in:
parent
ced463bf23
commit
80fa32de41
|
@ -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()
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user