summaryrefslogtreecommitdiff
path: root/src/leap/app.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-03-11 13:37:14 -0300
committerTomás Touceda <chiiph@leap.se>2013-03-11 13:37:14 -0300
commiteaec4a9fff67134284f45eb850f0d7e0f7f275f0 (patch)
tree5f5c323b40bc1b1888ecfa9c69aaffbe05c6ee34 /src/leap/app.py
parent1e3631c9a21f99e08bbb4bace61590b1221bc9f1 (diff)
Finish up translation support
Also: - Add spanish translations - Fix an issue when disabling autologin
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