From 35fc8f5fa458ef520f789f43ab1d5f69e3775bfd Mon Sep 17 00:00:00 2001 From: souliane Date: Mon, 17 Feb 2014 19:23:13 +0100 Subject: [PATCH] misc: exclude misc/_jp from xgettext input --- README4TRANSLATORS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README4TRANSLATORS b/README4TRANSLATORS index af91b299..c2ebf6d1 100644 --- a/README4TRANSLATORS +++ b/README4TRANSLATORS @@ -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