summaryrefslogtreecommitdiff
path: root/devdocs/git/git-sh-i18n.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/git/git-sh-i18n.html
new repository
Diffstat (limited to 'devdocs/git/git-sh-i18n.html')
-rw-r--r--devdocs/git/git-sh-i18n.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/git/git-sh-i18n.html b/devdocs/git/git-sh-i18n.html
new file mode 100644
index 00000000..2b7cc97d
--- /dev/null
+++ b/devdocs/git/git-sh-i18n.html
@@ -0,0 +1,6 @@
+<h1>git-sh-i18n</h1> <h2 id="_name">Name</h2> <div class="sectionbody"> <p>git-sh-i18n - Git’s i18n setup code for shell scripts</p> </div> <h2 id="_synopsis">Synopsis</h2> <div class="sectionbody"> <div class="verseblock"> <pre class="content">. "$(git --exec-path)/git-sh-i18n"</pre> </div> </div> <h2 id="_description">Description</h2> <div class="sectionbody"> <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> <p>The 'git sh-i18n scriptlet is designed to be sourced (using <code>.</code>) by Git’s porcelain programs implemented in shell script. It provides wrappers for the GNU <code>gettext</code> and <code>eval_gettext</code> functions accessible through the <code>gettext.sh</code> script, and provides pass-through fallbacks on systems without GNU gettext.</p> </div> <h2 id="_functions">Functions</h2> <div class="sectionbody"> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git-sh-i18n.txt-gettext"> gettext </dt> <dd> <p>Currently a dummy fall-through function implemented as a wrapper around <code>printf(1)</code>. Will be replaced by a real gettext implementation in a later version.</p> </dd> <dt class="hdlist1" id="Documentation/git-sh-i18n.txt-evalgettext"> eval_gettext </dt> <dd> <p>Currently a dummy fall-through function implemented as a wrapper around <code>printf(1)</code> with variables expanded by the <a href="git-sh-i18n--envsubst">git-sh-i18n--envsubst[1]</a> helper. Will be replaced by a real gettext implementation in a later version.</p> </dd> </dl> </div> </div><div class="_attribution">
+ <p class="_attribution-p">
+ &copy; 2012&ndash;2024 Scott Chacon and others<br>Licensed under the MIT License.<br>
+ <a href="https://git-scm.com/docs/git-sh-i18n" class="_attribution-link">https://git-scm.com/docs/git-sh-i18n</a>
+ </p>
+</div>