blob: 60cf49cb2a38df99d4526698576acd5cb6c979c4 [file] [log] [blame]
Junio C Hamano2a294cd2011-05-23 23:06:311git-sh-i18n(1)
2==============
3
4NAME
5----
6git-sh-i18n - Git's i18n setup code for shell scripts
7
8SYNOPSIS
9--------
Junio C Hamano15567bc2011-07-23 00:51:5910[verse]
Junio C Hamano2a294cd2011-05-23 23:06:3111'. "$(git --exec-path)/git-sh-i18n"'
12
13DESCRIPTION
14-----------
15
16This is not a command the end user would want to run. Ever.
17This documentation is meant for people who are studying the
18Porcelain-ish scripts and/or are writing new ones.
19
20The 'git sh-i18n scriptlet is designed to be sourced (using
21`.`) by Git's porcelain programs implemented in shell
22script. It provides wrappers for the GNU `gettext` and
23`eval_gettext` functions accessible through the `gettext.sh`
24script, and provides pass-through fallbacks on systems
25without GNU gettext.
26
27FUNCTIONS
28---------
29
30gettext::
31Currently a dummy fall-through function implemented as a wrapper
32around `printf(1)`. Will be replaced by a real gettext
33implementation in a later version.
34
35eval_gettext::
36Currently a dummy fall-through function implemented as a wrapper
37around `printf(1)` with variables expanded by the
Junio C Hamano360e3a12011-07-13 23:51:5638linkgit:git-sh-i18n{litdd}envsubst[1] helper. Will be replaced by a
Junio C Hamano2a294cd2011-05-23 23:06:3139real gettext implementation in a later version.
40
41GIT
42---
43Part of the linkgit:git[1] suite