1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
\r
4 <article lang="en" id="git-sh-i18n(1)">
\r
6 <title>git-sh-i18n(1)</title>
\r
8 <primary>git-sh-i18n(1)</primary>
\r
11 <simplesect id="_name">
\r
13 <simpara>git-sh-i18n - Git's i18n setup code for shell scripts</simpara>
\r
15 <simplesect id="_synopsis">
\r
16 <title>SYNOPSIS</title>
\r
18 <literallayout><emphasis>. "$(git --exec-path)/git-sh-i18n"</emphasis></literallayout>
\r
21 <simplesect id="_description">
\r
22 <title>DESCRIPTION</title>
\r
23 <simpara>This is not a command the end user would want to run. Ever.
\r
24 This documentation is meant for people who are studying the
\r
25 Porcelain-ish scripts and/or are writing new ones.</simpara>
\r
26 <simpara>The 'git sh-i18n scriptlet is designed to be sourced (using
\r
27 <emphasis>.</emphasis>) by Git's porcelain programs implemented in shell
\r
28 script. It provides wrappers for the GNU <emphasis>gettext</emphasis> and
\r
29 <emphasis>eval_gettext</emphasis> functions accessible through the <emphasis>gettext.sh</emphasis>
\r
30 script, and provides pass-through fallbacks on systems
\r
31 without GNU gettext.</simpara>
\r
33 <simplesect id="_functions">
\r
34 <title>FUNCTIONS</title>
\r
42 Currently a dummy fall-through function implemented as a wrapper
\r
43 around <emphasis>printf(1)</emphasis>. Will be replaced by a real gettext
\r
44 implementation in a later version.
\r
54 Currently a dummy fall-through function implemented as a wrapper
\r
55 around <emphasis>printf(1)</emphasis> with variables expanded by the
\r
56 <xref linkend="git-sh-i18n--envsubst(1)" /> helper. Will be replaced by a
\r
57 real gettext implementation in a later version.
\r
63 <simplesect id="_git">
\r
65 <simpara>Part of the <xref linkend="git(1)" /> suite</simpara>
\r