diff options
author | Thierry Crozat | 2010-08-22 18:49:19 +0000 |
---|---|---|
committer | Thierry Crozat | 2010-08-22 18:49:19 +0000 |
commit | c89462c2a63f1419f389190c058c0d18a2d09118 (patch) | |
tree | cc50dd833e9cbb39ecec6e0ba86758e8d9f35e72 /po | |
parent | 66f7e4306c8159a7125d349bdb4208234d08cceb (diff) | |
download | scummvm-rg350-c89462c2a63f1419f389190c058c0d18a2d09118.tar.gz scummvm-rg350-c89462c2a63f1419f389190c058c0d18a2d09118.tar.bz2 scummvm-rg350-c89462c2a63f1419f389190c058c0d18a2d09118.zip |
i18n: Implement po file parsing in create_translations tool
Until now the parsing was done by the po2c perl script, which
generated a messages.h file. The create_translations executable
had then to be recompiled before being executed. This commit
removes the po2c perl script. The parsing is now directly done by
the create_translations tool.
The parsing has also been extended to support the msgctxt strings.
This is not dumped yet in translations.dat but will be once I have
finished implementing context support for the translations.
svn-id: r52284
Diffstat (limited to 'po')
-rw-r--r-- | po/module.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/po/module.mk b/po/module.mk index 26e709903f..3690052d54 100644 --- a/po/module.mk +++ b/po/module.mk @@ -35,10 +35,8 @@ updatepot: #$(srcdir)/common/messages.cpp: $(POFILES) # perl $(srcdir)/tools/po2c $^ > $(srcdir)/common/messages.cpp -translations-dat: - perl $(srcdir)/tools/create_translations/po2c $(POFILES) > $(srcdir)/tools/create_translations/messages.h - make tools/create_translations - tools/create_translations/create_translations +translations-dat: tools/create_translations + tools/create_translations/create_translations $(POFILES) mv translations.dat gui/themes/ update-translations: updatepot $(POFILES) translations-dat |