Begin gettextizing Git
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 36 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
None of the 17 patches has a Reviewed-by or Acked-by.
| Patch | Jens Lehmann | Bill Fenner |
|---|---|---|
| 1/17 | ||
| 2/17 | ||
| 3/17 | ||
| 4/17 | ||
| 5/17 | ||
| 6/17 | ||
| 7/17 | Submitted-By | |
| 8/17 | T-b | |
| 9/17 | ||
| 10/17 | ||
| 11/17 | ||
| 12/17 | ||
| 13/17 | ||
| 14/17 | ||
| 15/17 | ||
| 16/17 | ||
| 17/17 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH/RFC 00/17] Begin gettextizing Git
Now that Git has the infrastructure for translation in next I'm going to start submitting patches to make the main porcelain translatable.
This series starts that work, and fixes and also fixes up some of the infrastructure (like the bug discussed in "Odd encoding issue with UTF-8 + gettext yields ? on non-ASCII"), and adds tests to make sure it's all working.
With it applied git-init is the one and only utility of the porcelain that's translatable. The series includes a translation of it into Icelandic and Polish.
I think it's ready to be applied. I tested it on Solaris, FreeBSD and Debian. But there's almost definitely something I'm missing in a series this big, so it's an RFC.
Marcin Cieślak (1):
po/pl.po: add Polish translation
Ævar Arnfjörð Bjarmason (16):
Makefile: A variable for options used by xgettext(1) calls
Makefile: provide a --msgid-bugs-address to xgettext(1)
Makefile: tell xgettext(1) that our source is in UTF-8 builtin.h: Include gettext.h
gettext: make the simple parts of git-init localizable
gettext: localize the main git-init message gettext.c: work around us not using setlocale(LC_CTYPE, "") gettext tests: test if $VERSION exists before using it gettext tests: update test/is.po to match t/t0200/test.c gettext tests: add detection for is_IS.ISO-8859-1 locale gettext tests: test message re-encoding under Shell gettext tests: test re-encoding with a UTF-8 msgid under Shell gettext tests: mark a test message as not needing translation po/is.po: msgmerge and add Language: header po/is.po: add Icelandic translation
gettext tests: test message re-encoding under C
Makefile | 7 +- builtin.h | 1 + builtin/init-db.c | 56 ++++++----- gettext.c | 6 + po/is.po | 153 ++++++++++++++++++++++++++++-- po/pl.po | 187 ++++++++++++++++++++++++++++++++++++ t/lib-gettext.sh | 26 +++++- t/t0200-gettext-basic.sh | 4 +- t/t0200/test.c | 10 ++ t/t0202/test.pl | 4 +- t/t0204-gettext-reencode-sanity.sh | 78 +++++++++++++++ 11 files changed, 490 insertions(+), 42 deletions(-) create mode 100644 po/pl.po create mode 100755 t/t0204-gettext-reencode-sanity.sh
Signature · 1 line
1.7.2.2.536.g3f548