94 lines
2.3 KiB
HTML
94 lines
2.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of GIT-SH-I18N</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>GIT-SH-I18N</H1>
|
|
Section: Git Manual (1)<BR>Updated: 03/04/2021<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
git-sh-i18n - Git's i18n setup code for shell scripts
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
<PRE>
|
|
<I>. "$(git --exec-path)/git-sh-i18n"</I>
|
|
</PRE>
|
|
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
This is not a command the end user would want to run. Ever. This documentation is meant for people who are studying the Porcelain-ish scripts and/or are writing new ones.
|
|
<P>
|
|
The 'git sh-i18n scriptlet is designed to be sourced (using <B>.</B>) by Git's porcelain programs implemented in shell script. It provides wrappers for the GNU <B>gettext</B> and <B>eval_gettext</B> functions accessible through the <B>gettext.sh</B> script, and provides pass-through fallbacks on systems without GNU gettext.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>FUNCTIONS</H2>
|
|
|
|
<P>
|
|
|
|
gettext
|
|
<DL COMPACT><DT id="1"><DD>
|
|
Currently a dummy fall-through function implemented as a wrapper around
|
|
<B><A HREF="/cgi-bin/man/man2html?1+printf">printf</A>(1)</B>. Will be replaced by a real gettext implementation in a later version.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
eval_gettext
|
|
<DL COMPACT><DT id="2"><DD>
|
|
Currently a dummy fall-through function implemented as a wrapper around
|
|
<B><A HREF="/cgi-bin/man/man2html?1+printf">printf</A>(1)</B>
|
|
with variables expanded by the
|
|
<B><A HREF="/cgi-bin/man/man2html?1+git-sh-i18n--envsubst">git-sh-i18n--envsubst</A></B>(1)
|
|
helper. Will be replaced by a real gettext implementation in a later version.
|
|
</DL>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>GIT</H2>
|
|
|
|
<P>
|
|
Part of the <B><A HREF="/cgi-bin/man/man2html?1+git">git</A></B>(1) suite
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="4"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="5"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="6"><A HREF="#lbAE">FUNCTIONS</A><DD>
|
|
<DT id="7"><A HREF="#lbAF">GIT</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:14 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|