Subject: Load translations from /usr/share
Author: Alexander Sulfrian <alexander@sulfrian.net>
Forwarded: not-needed

The translation files should be installed under /usr/share/inkcut/.

Index: inkcut/inkcut/core/workbench.py
===================================================================
--- inkcut.orig/inkcut/core/workbench.py
+++ inkcut/inkcut/core/workbench.py
@@ -180,8 +180,7 @@ class InkcutWorkbench(UIWorkbench):
                 locale = language().name()
             else:
                 locale = QtCore.QLocale.system().name()
-            root_dir = os.path.dirname(os.path.dirname(__file__))
-            path = os.path.join(root_dir, "res", "translations", locale)
+            path = os.path.join('/usr/share/inkcut/translations', locale)
             if self.translator.load(path):
                 log.warning("Setting locale: %s" % locale)
                 self.application._qapp.installTranslator(self.translator)
