Skip to content

i18n: Add shell script translation infrastructure

Ævar Arnfjörð Bjarmason git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4git-sh-i18n--envsubst: our own envsubst(1) for eval_gettext().gitignore Documentation/git-sh-i18n--envsubst.txt Makefile +2 more+524 -01 reply
2/4git-sh-i18n.sh: add no-op gettext() and eval_gettext() wrappers.gitignore Documentation/git-sh-i18n.txt Makefile +1 more+61 -00 replies
3/4git-sh-i18n.sh: add GIT_GETTEXT_POISON supportgit-sh-i18n.sh+21 -90 replies
4/4Makefile: add xgettext target for *.sh filesMakefile+5 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] i18n: Add shell script translation infrastructure

This is v2 of the "Add shell script translation infrastructure" series. Changes:

* The Author & Documentation sections from the documentation are now gone. These should no longer be included, but the patch series preceded that convention.

* Update the git-sh-i18n.txt and git-sh-i18n--envsubst.txt documentation to accurately reflect what the skeleton fall-through wrappers do.

* Updated the commit message for "git-sh-i18n--envsubst: our own envsubst(1) for eval_gettext()" to not include a lengthy description of failed eval_gettext experiments at Junio's suggestion.

Ævar Arnfjörð Bjarmason (4):
git-sh-i18n--envsubst: our own envsubst(1) for eval_gettext() git-sh-i18n.sh: add no-op gettext() and eval_gettext() wrappers git-sh-i18n.sh: add GIT_GETTEXT_POISON support
Makefile: add xgettext target for *.sh files

 .gitignore                              |    3 +
 Documentation/git-sh-i18n--envsubst.txt |   26 ++
 Documentation/git-sh-i18n.txt           |   42 +++
 Makefile                                |    8 +-
 git-sh-i18n.sh                          |   29 ++
 sh-i18n--envsubst.c                     |  444 +++++++++++++++++++++++++++++++
 t/t0201-gettext-fallbacks.sh            |   51 ++++
 7 files changed, 602 insertions(+), 1 deletions(-)
 create mode 100644 Documentation/git-sh-i18n--envsubst.txt
 create mode 100644 Documentation/git-sh-i18n.txt
 create mode 100644 git-sh-i18n.sh
 create mode 100644 sh-i18n--envsubst.c
 create mode 100755 t/t0201-gettext-fallbacks.sh
Signature · 1 line
1.7.4.4