summaryrefslogtreecommitdiff
path: root/src/leap/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/app.py')
-rw-r--r--src/leap/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/app.py b/src/leap/app.py
index a790f81b..246f2d14 100644
--- a/src/leap/app.py
+++ b/src/leap/app.py
@@ -81,7 +81,7 @@ def main():
if qtTranslator.load("qt_%s" % locale, ":/translations"):
app.installTranslator(qtTranslator)
appTranslator = QtCore.QTranslator()
- if appTranslator.load("leap_client_%s" % locale, ":/translations"):
+ if appTranslator.load("%s.qm" % locale[:2], ":/translations"):
app.installTranslator(appTranslator)
# Needed for initializing qsettings it will write