]>
Commit | Line | Data |
---|---|---|
e00cf070 ÆAB |
1 | git-sh-i18n(1) |
2 | ============== | |
3 | ||
4 | NAME | |
5 | ---- | |
6 | git-sh-i18n - Git's i18n setup code for shell scripts | |
7 | ||
8 | SYNOPSIS | |
9 | -------- | |
10 | '. "$(git --exec-path)/git-sh-i18n"' | |
11 | ||
12 | DESCRIPTION | |
13 | ----------- | |
14 | ||
15 | This is not a command the end user would want to run. Ever. | |
16 | This documentation is meant for people who are studying the | |
17 | Porcelain-ish scripts and/or are writing new ones. | |
18 | ||
19 | The 'git sh-i18n scriptlet is designed to be sourced (using | |
20 | `.`) by Git's porcelain programs implemented in shell | |
21 | script. It provides wrappers for the GNU `gettext` and | |
22 | `eval_gettext` functions accessible through the `gettext.sh` | |
23 | script, and provides pass-through fallbacks on systems | |
24 | without GNU gettext. | |
25 | ||
26 | FUNCTIONS | |
27 | --------- | |
28 | ||
29 | gettext:: | |
30 | Currently a dummy fall-through function implemented as a wrapper | |
31 | around `printf(1)`. Will be replaced by a real gettext | |
32 | implementation in a later version. | |
33 | ||
34 | eval_gettext:: | |
35 | Currently a dummy fall-through function implemented as a wrapper | |
36 | around `printf(1)` with variables expanded by the | |
37 | linkgit:git-sh-i18n--envsubst[1] helper. Will be replaced by a | |
38 | real gettext implementation in a later version. | |
39 | ||
40 | GIT | |
41 | --- | |
42 | Part of the linkgit:git[1] suite |