misc: exclude misc/_jp from xgettext input

This commit is contained in:
souliane 2014-02-17 19:23:13 +01:00
commit 35fc8f5fa4

View file

@ -5,7 +5,7 @@ NOTE: *.po files are in i18n directory
To translate a file, you can use a dedicated tool as the excellent gtranslator:
- use the template .po file (e.g. sat.po) and name it to your translated language (e.g. fr.po for french); you can preferably generate a new template directly from the source with the following command (eventually adapted, the following command use zsh's globbing syntax), launched from root sat dir:
> xgettext -L python -d sat --keyword=D_ -p i18n **/*(.py|.tac|primitivus|wix|jp)(.)
> xgettext -L python -d sat --keyword=D_ -p i18n **/*(.py|.tac|primitivus|wix)(.) **/jp(.)
- then to start a new translation, copy i18n/sat.po to your language file, e.g. cd i18n; cp sat.po fr.po