summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@ukr.net>2018-12-21 20:13:29 +0200
committerYuri Chornoivan <yurchor@ukr.net>2018-12-21 20:13:29 +0200
commit0b8d8572c6c68753c54622551b2ba40f431d8c17 (patch)
treee6e79c821adb1a59fdb9c7a7358731633b93f0c6 /setup.py
parent81ea21e527726ec288bffc6fdc51111131199ea6 (diff)
downloadmageiawelcome-0b8d8572c6c68753c54622551b2ba40f431d8c17.tar
mageiawelcome-0b8d8572c6c68753c54622551b2ba40f431d8c17.tar.gz
mageiawelcome-0b8d8572c6c68753c54622551b2ba40f431d8c17.tar.bz2
mageiawelcome-0b8d8572c6c68753c54622551b2ba40f431d8c17.tar.xz
mageiawelcome-0b8d8572c6c68753c54622551b2ba40f431d8c17.zip
Fix desktop file localization
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 857e405..d52d462 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ class BuildQm(build):
for ts in glob.glob('i18n/*.ts'):
os.system('lrelease {0} -qm {1}'.format(ts, (ts[:-2]+'qm')))
os.system("rm -f i18n/*.ts")
- os.system('intltool-merge --desktop-style po usr/share/applications/mageiawelcome.desktop.in usr/share/applications/mageiawelcome.desktop')
+ os.system('msgfmt --desktop --template=usr/share/applications/template_mageiawelcome.desktop -d po -o usr/share/applications/mageiawelcome.desktop')
data_files = [("bin",["usr/bin/mageiawelcome","usr/bin/mageiawelcome-launcher"]),