1 #GETTEXT=./pygettext.py
8 LANGPO := $(foreach LANG, $(LANGS),$(LANG).po)
9 LANGMO := $(foreach LANG, $(LANGS),$(LANG).mo)
11 default: enigma2.pot $(LANGPO) merge $(LANGMO)
12 -mkdir -p de/LC_MESSAGES
13 cp de.mo de/LC_MESSAGES/enigma2.mo
15 -mkdir -p en/LC_MESSAGES
16 cp en.mo en/LC_MESSAGES/enigma2.mo
19 # msgmerge -N -U enigma2.pot menu.pot
20 # msgmerge -N -U enigma2.pot setup.pot
21 msguniq -o enigma2uniq.pot enigma2.pot
23 mv enigma2uniq.pot enigma2.pot
24 msgmerge -N -U de.po enigma2.pot
27 $(GETTEXT) -d enigma2 -s -o enigma2.pot \
28 ../lib/python/Screens/ScanSetup.py \
29 ../lib/python/Screens/NetworkSetup.py \
30 ../lib/python/Screens/Satconfig.py \
31 ../lib/python/Screens/EventView.py \
32 ../lib/python/Screens/Ci.py \
33 ../lib/python/Screens/About.py \
34 ../lib/python/Screens/HarddiskSetup.py \
35 ../lib/python/Screens/InfoBar.py \
36 ../lib/python/Screens/TimerEdit.py \
37 ../lib/python/Screens/TimerEntry.py \
38 ../lib/python/Screens/Wizard.py \
39 ../lib/python/Screens/ServiceScan.py \
40 ../lib/python/Screens/InfoBarGenerics.py \
41 ../lib/python/Components/ServiceScan.py \
42 ../lib/python/Components/Lcd.py \
43 ../lib/python/Components/SetupDevices.py \
44 ../lib/python/Components/Language.py \
45 ../lib/python/Components/NimManager.py \
46 ../lib/python/Components/EventInfo.py \
47 ../lib/python/Components/Network.py
48 ./xml2po.py ../data/ >> enigma2.pot
55 msginit -l $@ -o $@ -i enigma2.pot --no-translator