misc: exclude misc/_jp from xgettext input
This commit is contained in:
parent
24beb81688
commit
35fc8f5fa4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue