mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-11-07 09:20:29 +00:00
7bc87c7f0b
Assuming filter-repo will be merged into git.git, use "git" for the TEXTDOMAIN, and assume its build system will replace "@@LOCALEDIR@@" appropriately. Note that the xgettext command used to grab string translations is nearly identical to the one for C files in git.git; just use --language=python instead and add --join-existing to avoid overwriting the po/git.pot file. In other words, use the command: xgettext -o../git/po/git.pot --join-existing --force-po \ --add-comments=TRANSLATORS: \ --msgid-bugs-address="Git Mailing List <git@vger.kernel.org>" \ --from-code=UTF-8 --language=python \ --keyword=_ --keyword=N_ --keyword="Q_:1,2" \ git-filter-repo To create or update the translation, go to git.git/po and run either of: msginit --locale=XX msgmerge --add-location --backup=off -U XX.po git.pot Once you've updated the translation, within git.git just build as normal. That's all that's needed. Signed-off-by: Elijah Newren <newren@gmail.com> |
||
---|---|---|
.. | ||
t9390 | ||
t9391 | ||
run_coverage | ||
t9390-filter-repo.sh | ||
t9391-filter-repo-lib-usage.sh | ||
t9392-python-callback.sh | ||
test-lib-functions.sh | ||
test-lib.sh |