diff options
author | Alexey Loginov <alexl@mageia.org> | 2015-09-04 15:13:07 +0300 |
---|---|---|
committer | Alexey Loginov <alexl@mageia.org> | 2015-09-04 15:13:07 +0300 |
commit | d17b5623ad3f5e79688bc8b2ee9c9c4a5637af01 (patch) | |
tree | 487b85d715f4e73ed986b10814522d67e03ce4e4 /po/Makefile | |
parent | 3b37c5b4f55383b9ffaf69ab129245e355534cc8 (diff) | |
download | mageiawelcome-d17b5623ad3f5e79688bc8b2ee9c9c4a5637af01.tar mageiawelcome-d17b5623ad3f5e79688bc8b2ee9c9c4a5637af01.tar.gz mageiawelcome-d17b5623ad3f5e79688bc8b2ee9c9c4a5637af01.tar.bz2 mageiawelcome-d17b5623ad3f5e79688bc8b2ee9c9c4a5637af01.tar.xz mageiawelcome-d17b5623ad3f5e79688bc8b2ee9c9c4a5637af01.zip |
- move translations from desktop file into po files
- add GenericName
Diffstat (limited to 'po/Makefile')
-rw-r--r-- | po/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/po/Makefile b/po/Makefile index af254db..004c14f 100644 --- a/po/Makefile +++ b/po/Makefile @@ -15,8 +15,11 @@ clean: pot: + cat ../usr/share/applications/$(PACKAGE_NAME).desktop.in | grep _ | cut -d "=" --fields=2 | sed 's|^|_("|g' | sed 's|$$|")|g' > ../usr/share/applications/$(PACKAGE_NAME).desktop.tmp xgettext --copyright-holder='Daniel Napora <napcok@gmail.com>' --package-name=mageiawelcome --from-code=UTF-8 \ --L Python --msgid-bugs-address=http://bugs.mageia.org -o $(PACKAGE_NAME).pot ../usr/share/mageiawelcome/mageiawelcome.py ../usr/share/mageiawelcome/helpers.py +-L Python --msgid-bugs-address=http://bugs.mageia.org -o $(PACKAGE_NAME).pot ../usr/share/mageiawelcome/mageiawelcome.py ../usr/share/mageiawelcome/helpers.py ../usr/share/applications/$(PACKAGE_NAME).desktop.tmp + rm -f ../usr/share/applications/$(PACKAGE_NAME).desktop.tmp + sed -i "s|desktop.tmp|desktop.in|g" $(PACKAGE_NAME).pot po: @for lang in $(LANGUAGES); do \ |