I18N: Move specification of engine specific files to enginedir/POTFILES.
This allows to keep the engines to specfiy the files for translation close to the engine sources itself. Thanks to criezy for his suggestion on this approach.
This commit is contained in:
parent
bb7e95f1ad
commit
378387c903
23 changed files with 44 additions and 42 deletions
2
engines/agi/POTFILES
Normal file
2
engines/agi/POTFILES
Normal file
|
@ -0,0 +1,2 @@
|
|||
engines/agi/detection.cpp
|
||||
engines/agi/saveload.cpp
|
2
engines/agos/POTFILES
Normal file
2
engines/agos/POTFILES
Normal file
|
@ -0,0 +1,2 @@
|
|||
engines/agos/saveload.cpp
|
||||
engines/agos/animation.cpp
|
1
engines/cruise/POTFILES
Normal file
1
engines/cruise/POTFILES
Normal file
|
@ -0,0 +1 @@
|
|||
engines/cruise/menu.cpp
|
2
engines/drascula/POTFILES
Normal file
2
engines/drascula/POTFILES
Normal file
|
@ -0,0 +1,2 @@
|
|||
engines/drascula/detection.cpp
|
||||
engines/drascula/saveload.cpp
|
1
engines/dreamweb/POTFILES
Normal file
1
engines/dreamweb/POTFILES
Normal file
|
@ -0,0 +1 @@
|
|||
engines/dreamweb/detection.cpp
|
3
engines/gob/POTFILES
Normal file
3
engines/gob/POTFILES
Normal file
|
@ -0,0 +1,3 @@
|
|||
engines/gob/inter_playtoons.cpp
|
||||
engines/gob/inter_v2.cpp
|
||||
engines/gob/inter_v5.cpp
|
2
engines/groovie/POTFILES
Normal file
2
engines/groovie/POTFILES
Normal file
|
@ -0,0 +1,2 @@
|
|||
engines/groovie/detection.cpp
|
||||
engines/groovie/script.cpp
|
3
engines/kyra/POTFILES
Normal file
3
engines/kyra/POTFILES
Normal file
|
@ -0,0 +1,3 @@
|
|||
engines/kyra/detection.cpp
|
||||
engines/kyra/lol.cpp
|
||||
engines/kyra/sound_midi.cpp
|
3
engines/mohawk/POTFILES
Normal file
3
engines/mohawk/POTFILES
Normal file
|
@ -0,0 +1,3 @@
|
|||
engines/mohawk/dialogs.cpp
|
||||
engines/mohawk/myst.cpp
|
||||
engines/mohawk/riven.cpp
|
2
engines/neverhood/POTFILES
Normal file
2
engines/neverhood/POTFILES
Normal file
|
@ -0,0 +1,2 @@
|
|||
engines/neverhood/detection.cpp
|
||||
engines/neverhood/menumodule.cpp
|
1
engines/parallaction/POTFILES
Normal file
1
engines/parallaction/POTFILES
Normal file
|
@ -0,0 +1 @@
|
|||
engines/parallaction/saveload.cpp
|
1
engines/pegasus/POTFILES
Normal file
1
engines/pegasus/POTFILES
Normal file
|
@ -0,0 +1 @@
|
|||
engines/pegasus/pegasus.cpp
|
1
engines/queen/POTFILES
Normal file
1
engines/queen/POTFILES
Normal file
|
@ -0,0 +1 @@
|
|||
engines/queen/queen.cpp
|
2
engines/sci/POTFILES
Normal file
2
engines/sci/POTFILES
Normal file
|
@ -0,0 +1,2 @@
|
|||
engines/sci/detection.cpp
|
||||
engines/sci/engine/kfile.cpp
|
3
engines/scumm/POTFILES
Normal file
3
engines/scumm/POTFILES
Normal file
|
@ -0,0 +1,3 @@
|
|||
engines/scumm/dialogs.cpp
|
||||
engines/scumm/help.cpp
|
||||
engines/scumm/scumm.cpp
|
2
engines/sky/POTFILES
Normal file
2
engines/sky/POTFILES
Normal file
|
@ -0,0 +1,2 @@
|
|||
engines/sky/compact.cpp
|
||||
engines/sky/detection.cpp
|
4
engines/sword1/POTFILES
Normal file
4
engines/sword1/POTFILES
Normal file
|
@ -0,0 +1,4 @@
|
|||
engines/sword1/animation.cpp
|
||||
engines/sword1/control.cpp
|
||||
engines/sword1/logic.cpp
|
||||
engines/sword1/sword1.cpp
|
2
engines/sword2/POTFILES
Normal file
2
engines/sword2/POTFILES
Normal file
|
@ -0,0 +1,2 @@
|
|||
engines/sword2/animation.cpp
|
||||
engines/sword2/sword2.cpp
|
1
engines/teenagent/POTFILES
Normal file
1
engines/teenagent/POTFILES
Normal file
|
@ -0,0 +1 @@
|
|||
engines/teenagent/resources.cpp
|
1
engines/tinsel/POTFILES
Normal file
1
engines/tinsel/POTFILES
Normal file
|
@ -0,0 +1 @@
|
|||
engines/tinsel/saveload.cpp
|
2
engines/toltecs/POTFILES
Normal file
2
engines/toltecs/POTFILES
Normal file
|
@ -0,0 +1,2 @@
|
|||
engines/toltecs/detection.cpp
|
||||
engines/toltecs/menu.cpp
|
41
po/POTFILES
41
po/POTFILES
|
@ -24,47 +24,6 @@ common/util.cpp
|
|||
engines/advancedDetector.cpp
|
||||
engines/dialogs.cpp
|
||||
engines/engine.cpp
|
||||
engines/agi/detection.cpp
|
||||
engines/agi/saveload.cpp
|
||||
engines/drascula/detection.cpp
|
||||
engines/drascula/saveload.cpp
|
||||
engines/dreamweb/detection.cpp
|
||||
engines/sci/detection.cpp
|
||||
engines/scumm/dialogs.cpp
|
||||
engines/scumm/help.cpp
|
||||
engines/scumm/scumm.cpp
|
||||
engines/mohawk/dialogs.cpp
|
||||
engines/mohawk/myst.cpp
|
||||
engines/mohawk/riven.cpp
|
||||
engines/cruise/menu.cpp
|
||||
engines/sci/engine/kfile.cpp
|
||||
engines/agos/saveload.cpp
|
||||
engines/agos/animation.cpp
|
||||
engines/gob/inter_playtoons.cpp
|
||||
engines/gob/inter_v2.cpp
|
||||
engines/gob/inter_v5.cpp
|
||||
engines/groovie/detection.cpp
|
||||
engines/groovie/script.cpp
|
||||
engines/kyra/detection.cpp
|
||||
engines/kyra/lol.cpp
|
||||
engines/kyra/sound_midi.cpp
|
||||
engines/neverhood/detection.cpp
|
||||
engines/neverhood/menumodule.cpp
|
||||
engines/queen/queen.cpp
|
||||
engines/sky/compact.cpp
|
||||
engines/sky/detection.cpp
|
||||
engines/sword1/animation.cpp
|
||||
engines/sword1/control.cpp
|
||||
engines/sword1/logic.cpp
|
||||
engines/sword1/sword1.cpp
|
||||
engines/sword2/animation.cpp
|
||||
engines/sword2/sword2.cpp
|
||||
engines/teenagent/resources.cpp
|
||||
engines/tinsel/saveload.cpp
|
||||
engines/toltecs/detection.cpp
|
||||
engines/toltecs/menu.cpp
|
||||
engines/parallaction/saveload.cpp
|
||||
engines/pegasus/pegasus.cpp
|
||||
|
||||
audio/fmopl.cpp
|
||||
audio/mididrv.cpp
|
||||
|
|
|
@ -2,8 +2,10 @@ POTFILE := $(srcdir)/po/scummvm.pot
|
|||
POFILES := $(wildcard $(srcdir)/po/*.po)
|
||||
CPFILES := $(wildcard $(srcdir)/po/*.cp)
|
||||
|
||||
ENGINE_INPUT_POTFILES := $(wildcard $(srcdir)/engines/*/POTFILES)
|
||||
updatepot:
|
||||
xgettext -f $(srcdir)/po/POTFILES -D $(srcdir) -d scummvm --c++ -k_ -k_s -k_c:1,2c -k_sc:1,2c --add-comments=I18N\
|
||||
cat $(srcdir)/po/POTFILES $(ENGINE_INPUT_POTFILES) | \
|
||||
xgettext -f - -D $(srcdir) -d scummvm --c++ -k_ -k_s -k_c:1,2c -k_sc:1,2c --add-comments=I18N\
|
||||
-kDECLARE_TRANSLATION_ADDITIONAL_CONTEXT:1,2c -o $(POTFILE) \
|
||||
--copyright-holder="ScummVM Team" --package-name=ScummVM \
|
||||
--package-version=$(VERSION) --msgid-bugs-address=scummvm-devel@lists.sf.net -o $(POTFILE)_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue