2 #GETTEXT=./pygettext.py
8 LANGS := de en ar nl es is it da sv no fr fi tr ca
9 LANGPO := $(foreach LANG, $(LANGS),$(LANG).po)
10 LANGMO := $(foreach LANG, $(LANGS),$(LANG).mo)
12 default: enigma2.pot $(LANGPO) merge $(LANGMO)
13 for lang in $(LANGS); do \
14 mkdir -p $$lang/LC_MESSAGES; \
15 cp $$lang.mo $$lang/LC_MESSAGES/enigma2.mo; \
19 for lang in $(LANGS); do \
20 msgmerge -N -U $$lang.po enigma2.pot; \
24 $(GETTEXT) -d enigma2 -s -o enigma2.pot \
25 ../lib/python/Screens/ScanSetup.py \
26 ../lib/python/Screens/NetworkSetup.py \
27 ../lib/python/Screens/Satconfig.py \
28 ../lib/python/Screens/EventView.py \
29 ../lib/python/Screens/Ci.py \
30 ../lib/python/Screens/EpgSelection.py \
31 ../lib/python/Screens/LanguageSelection.py \
32 ../lib/python/Screens/About.py \
33 ../lib/python/Screens/Setup.py \
34 ../lib/python/Screens/HarddiskSetup.py \
35 ../lib/python/Screens/MovieSelection.py \
36 ../lib/python/Screens/InfoBar.py \
37 ../lib/python/Screens/TimerEdit.py \
38 ../lib/python/Screens/TimerEntry.py \
39 ../lib/python/Screens/TimeDateInput.py \
40 ../lib/python/Screens/Wizard.py \
41 ../lib/python/Screens/ServiceScan.py \
42 ../lib/python/Screens/InfoBarGenerics.py \
43 ../lib/python/Screens/ChannelSelection.py \
44 ../lib/python/Screens/PluginBrowser.py \
45 ../lib/python/Screens/ParentalControlSetup.py \
46 ../lib/python/Screens/Console.py \
47 ../lib/python/Screens/MediaPlayer.py \
48 ../lib/python/Screens/PiPSetup.py \
49 ../lib/python/Screens/SubservicesQuickzap.py \
50 ../lib/python/Components/DiskInfo.py \
51 ../lib/python/Components/ServiceScan.py \
52 ../lib/python/Components/Lcd.py \
53 ../lib/python/Components/SetupDevices.py \
54 ../lib/python/Components/Language.py \
55 ../lib/python/Components/ParentalControl.py \
56 ../lib/python/Components/ParentalControlList.py \
57 ../lib/python/Components/NimManager.py \
58 ../lib/python/Components/TimerList.py \
59 ../lib/python/Components/Network.py \
60 ../lib/python/Components/RecordingConfig.py \
61 ../lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py \
62 ../lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py \
63 ../lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/plugin.py \
64 ../lib/python/Plugins/SystemPlugins/ConfigurationBackup/plugin.py \
65 ../lib/python/Tools/FuzzyDate.py \
67 ./xml2po.py ../data/ >> enigma2.pot
68 msguniq -o enigma2uniq.pot enigma2.pot
70 mv enigma2uniq.pot enigma2.pot
79 msginit -l $@ -o $@ -i enigma2.pot --no-translator
84 install-data-am: default
85 for lang in $(LANGS); do \
86 mkdir -p $(DESTDIR)$(DATADIR)/enigma2/po/$$lang/LC_MESSAGES; \
87 cp $$lang.mo $(DESTDIR)$(DATADIR)/enigma2/po/$$lang/LC_MESSAGES/$(DOMAIN).mo; \