path: root/
diff options
authorVasco Almeida <>2016-06-17 20:21:02 (GMT)
committerJunio C Hamano <>2016-06-17 22:45:48 (GMT)
commitd323c6b6410dee0a8a2471b4dbf6d631cd3c3d4d (patch)
treeb5f14560f64709fb35d03e34faeeb80d9ffa9819 /
parentc9e6ce41daffb707b33f05dc133bb0dd0493f77b (diff)
i18n: mark strings for translation
Positional arguments, such as $0, $1, etc, need to be stored on shell variables for use in translatable strings, according to gettext manual [1]. Add to LOCALIZED_SH variable in Makefile to enable extraction of string marked for translation by xgettext. Source git-sh-i18n in for gettext support. is a shell library to be sourced by other shell scripts. In order to avoid other scripts from sourcing git-sh-i18n twice, remove line that sources it from them. Not sourcing git-sh-i18n in any script that uses gettext would lead to failure due to, for instance, gettextln not being found. [1] Signed-off-by: Vasco Almeida <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to '')
1 files changed, 0 insertions, 1 deletions
diff --git a/ b/
index d79fc84..308eafd 100755
--- a/
+++ b/
@@ -6,7 +6,6 @@
. git-sh-setup
-. git-sh-i18n