summaryrefslogtreecommitdiffstats
path: root/doc/msgen.texi
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-02-04 13:39:56 +0000
committerBruno Haible <bruno@clisp.org>2009-06-22 01:15:27 +0200
commit1e8c890ff24acceb4d21b838580d92cdbaec10b7 (patch)
tree893872c5acc85a60b85da02cc92ea870fb7c5424 /doc/msgen.texi
parente54357669bd7b199f1f6fc665415c3531f7dd834 (diff)
downloadexternal_gettext-1e8c890ff24acceb4d21b838580d92cdbaec10b7.zip
external_gettext-1e8c890ff24acceb4d21b838580d92cdbaec10b7.tar.gz
external_gettext-1e8c890ff24acceb4d21b838580d92cdbaec10b7.tar.bz2
Add indices.
Diffstat (limited to 'doc/msgen.texi')
-rw-r--r--doc/msgen.texi23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/msgen.texi b/doc/msgen.texi
index 14c54f9..770e055 100644
--- a/doc/msgen.texi
+++ b/doc/msgen.texi
@@ -1,7 +1,10 @@
+@pindex msgen
+@cindex @code{msgen} program, usage
@example
msgen [@var{option}] @var{inputfile}
@end example
+@cindex generate translation catalog in English
The @code{msgen} program creates an English translation catalog. The
input file is the last created English PO file, or a PO Template file
(generally created by xgettext). Untranslated entries are assigned a
@@ -19,6 +22,8 @@ Input PO or POT file.
@item -D @var{directory}
@itemx --directory=@var{directory}
+@opindex -D@r{, @code{msgen} option}
+@opindex --directory@r{, @code{msgen} option}
Add @var{directory} to the list of directories. Source files are
searched relative to this list of directories. The resulting @file{.po}
file will be written relative to the current directory, though.
@@ -32,6 +37,8 @@ If @var{inputfile} is @samp{-}, standard input is read.
@table @samp
@item -o @var{file}
@itemx --output-file=@var{file}
+@opindex -o@r{, @code{msgen} option}
+@opindex --output-file@r{, @code{msgen} option}
Write output to specified file.
@end table
@@ -45,36 +52,48 @@ or if it is @samp{-}.
@table @samp
@item --force-po
+@opindex --force-po@r{, @code{msgen} option}
Always write an output file even if it contains no message.
@item -i
@itemx --indent
+@opindex -i@r{, @code{msgen} option}
+@opindex --indent@r{, @code{msgen} option}
Write the .po file using indented style.
@item --no-location
+@opindex --no-location@r{, @code{msgen} option}
Do not write @samp{#: @var{filename}:@var{line}} lines.
@item --add-location
+@opindex --add-location@r{, @code{msgen} option}
Generate @samp{#: @var{filename}:@var{line}} lines (default).
@item --strict
+@opindex --strict@r{, @code{msgen} option}
Write out a strict Uniforum conforming PO file. Note that this
Uniforum format should be avoided because it doesn't support the
GNU extensions.
@item -w @var{number}
@itemx --width=@var{number}
+@opindex -w@r{, @code{msgen} option}
+@opindex --width@r{, @code{msgen} option}
Set the output page width. Long strings in the output files will be
split across multiple lines in order to ensure that each line's width
(= number of screen columns) is less or equal to the given @var{number}.
@item -s
@itemx --sort-output
+@opindex -s@r{, @code{msgen} option}
+@opindex --sort-output@r{, @code{msgen} option}
Generate sorted output. Note that using this option makes it much harder
for the translator to understand each message's context.
@item -F
@itemx --sort-by-file
+@opindex -F@r{, @code{msgen} option}
+@opindex --sort-by-file@r{, @code{msgen} option}
Sort output by file location.
@end table
@@ -84,10 +103,14 @@ Sort output by file location.
@table @samp
@item -h
@itemx --help
+@opindex -h@r{, @code{msgen} option}
+@opindex --help@r{, @code{msgen} option}
Display this help and exit.
@item -V
@itemx --version
+@opindex -V@r{, @code{msgen} option}
+@opindex --version@r{, @code{msgen} option}
Output version information and exit.
@end table