X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/aac467952b8d6e7c7be49b732721fea16769e9a2..52ef2f890b4cf1087cabac94eb88643d06f7a2c1:/po/Makefile.am diff --git a/po/Makefile.am b/po/Makefile.am index c61f36a0..7e723c46 100644 --- a/po/Makefile.am +++ b/po/Makefile.am @@ -5,23 +5,23 @@ GETTEXT=xgettext #MSGFMT = ./msgfmt.py MSGFMT = msgfmt -LANGS := de en +LANGS := de en ar nl es LANGPO := $(foreach LANG, $(LANGS),$(LANG).po) LANGMO := $(foreach LANG, $(LANGS),$(LANG).mo) default: enigma2.pot $(LANGPO) merge $(LANGMO) for lang in $(LANGS); do \ mkdir -p $$lang/LC_MESSAGES; \ - cp $$lang.mo de/LC_MESSAGES/enigma2.mo; \ + cp $$lang.mo $$lang/LC_MESSAGES/enigma2.mo; \ done merge: -# msgmerge -N -U enigma2.pot menu.pot -# msgmerge -N -U enigma2.pot setup.pot msguniq -o enigma2uniq.pot enigma2.pot - rm enigma2.pot + $(RM) enigma2.pot mv enigma2uniq.pot enigma2.pot - msgmerge -N -U de.po enigma2.pot + for lang in $(LANGS); do \ + msgmerge -N -U $$lang.po enigma2.pot; \ + done enigma2.pot: $(GETTEXT) -d enigma2 -s -o enigma2.pot \ @@ -49,6 +49,7 @@ enigma2.pot: ../lib/python/Components/SetupDevices.py \ ../lib/python/Components/Language.py \ ../lib/python/Components/NimManager.py \ + ../lib/python/Components/TimerList.py \ ../lib/python/Components/EventInfo.py \ ../lib/python/Components/Network.py \ ../lib/python/Components/RecordingConfig.py \ @@ -64,7 +65,7 @@ enigma2.pot: msginit -l $@ -o $@ -i enigma2.pot --no-translator clean: - rm *.mo *.pot + $(RM) *.mo *.pot install-data-am: default for lang in $(LANGS); do \