1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <!DOCTYPE sect2 SYSTEM "../../../dtd/dblite.dtd">
\r
4 <sect2 lang="en" id="git-sh-i18n(1)">
\r
5 <title>git-sh-i18n(1)</title>
\r
7 <primary>git-sh-i18n(1)</primary>
\r
9 <simplesect id="git-sh-i18n(1)__name">
\r
11 <simpara>git-sh-i18n - Git's i18n setup code for shell scripts</simpara>
\r
13 <simplesect id="git-sh-i18n(1)__synopsis">
\r
14 <title>SYNOPSIS</title>
\r
16 <literallayout><emphasis>. "$(git --exec-path)/git-sh-i18n"</emphasis></literallayout>
\r
19 <simplesect id="git-sh-i18n(1)__description">
\r
20 <title>DESCRIPTION</title>
\r
21 <simpara>This is not a command the end user would want to run. Ever.
\r
22 This documentation is meant for people who are studying the
\r
23 Porcelain-ish scripts and/or are writing new ones.</simpara>
\r
24 <simpara>The 'git sh-i18n scriptlet is designed to be sourced (using
\r
25 <emphasis>.</emphasis>) by Git's porcelain programs implemented in shell
\r
26 script. It provides wrappers for the GNU <emphasis>gettext</emphasis> and
\r
27 <emphasis>eval_gettext</emphasis> functions accessible through the <emphasis>gettext.sh</emphasis>
\r
28 script, and provides pass-through fallbacks on systems
\r
29 without GNU gettext.</simpara>
\r
31 <simplesect id="git-sh-i18n(1)__functions">
\r
32 <title>FUNCTIONS</title>
\r
40 Currently a dummy fall-through function implemented as a wrapper
\r
41 around <emphasis>printf(1)</emphasis>. Will be replaced by a real gettext
\r
42 implementation in a later version.
\r
52 Currently a dummy fall-through function implemented as a wrapper
\r
53 around <emphasis>printf(1)</emphasis> with variables expanded by the
\r
54 <xref linkend="git-sh-i18n--envsubst(1)" /> helper. Will be replaced by a
\r
55 real gettext implementation in a later version.
\r
61 <simplesect id="git-sh-i18n(1)__git">
\r
63 <simpara>Part of the <xref linkend="git(1)" /> suite</simpara>
\r