diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2020-04-13 08:06:22 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2020-04-13 08:06:22 +0000 |
commit | 128beadceee66d94d2a2ccce5a9d336dec111b48 (patch) | |
tree | d8762ab808212ced35f723b2ae1f637a801a9a91 /Build/source/texk/web2c/cwebdir/comm-w2c.h | |
parent | 1c9a64cd896d7fa9ef4d7b157fac9f105b217cad (diff) |
Add 'gettext' comment in section 6 of the main programs.
git-svn-id: svn://tug.org/texlive/trunk@54716 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/comm-w2c.h')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/comm-w2c.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/cwebdir/comm-w2c.h b/Build/source/texk/web2c/cwebdir/comm-w2c.h index a5b968abfd5..e03516f2bb0 100644 --- a/Build/source/texk/web2c/cwebdir/comm-w2c.h +++ b/Build/source/texk/web2c/cwebdir/comm-w2c.h @@ -41,7 +41,14 @@ typedef uint16_t sixteen_bits; extern int program; /* \.{CWEAVE} or \.{CTANGLE} or \.{CTWILL}? */ extern int phase; /* which phase are we in? */ -@ @d _(STRING) gettext(STRING) +@ You may have noticed that almost all \.{"strings"} in the \.{CWEB} sources +are placed in the context of the `|_|'~macro. This is just a shortcut for the +`|gettext|' function from the ``GNU~gettext utilities.'' For systems that do +not have this library installed, we wrap things for neutral behavior without +internationalization. + +@d _(STRING) gettext(STRING) + @<Include files@>= #ifndef HAVE_GETTEXT #define HAVE_GETTEXT 0 |