1GIT-SH-I18N(1) Git Manual GIT-SH-I18N(1)
2
3
4
6 git-sh-i18n - Git's i18n setup code for shell scripts
7
9 . "$(git --exec-path)/git-sh-i18n"
10
12 This is not a command the end user would want to run. Ever. This
13 documentation is meant for people who are studying the Porcelain-ish
14 scripts and/or are writing new ones.
15
16 The 'git sh-i18n scriptlet is designed to be sourced (using .) by Git’s
17 porcelain programs implemented in shell script. It provides wrappers
18 for the GNU gettext and eval_gettext functions accessible through the
19 gettext.sh script, and provides pass-through fallbacks on systems
20 without GNU gettext.
21
23 gettext
24 Currently a dummy fall-through function implemented as a wrapper
25 around printf(1). Will be replaced by a real gettext implementation
26 in a later version.
27
28 eval_gettext
29 Currently a dummy fall-through function implemented as a wrapper
30 around printf(1) with variables expanded by the git-sh-
31 i18n--envsubst(1) helper. Will be replaced by a real gettext
32 implementation in a later version.
33
35 Part of the git(1) suite
36
37
38
39Git 2.26.2 2020-04-20 GIT-SH-I18N(1)