jpayne@68: jpayne@68: jpayne@68: jpayne@68:
jpayne@68: jpayne@68: jpayne@68: jpayne@68: jpayne@68:msguniq - jpayne@68: unify duplicate translations in message catalog
jpayne@68: jpayne@68:msguniq jpayne@68: [OPTION] [INPUTFILE]
jpayne@68: jpayne@68:Unifies jpayne@68: duplicate translations in a translation catalog. Finds jpayne@68: duplicate translations of the same message ID. Such jpayne@68: duplicates are invalid input for other programs like msgfmt, jpayne@68: msgmerge or msgcat. By default, duplicates are merged jpayne@68: together. When using the --repeated jpayne@68: option, only duplicates are output, and all other messages jpayne@68: are discarded. Comments and extracted comments will be jpayne@68: cumulated, except that if jpayne@68: --use-first is specified, they will jpayne@68: be taken from the first translation. File positions will be jpayne@68: cumulated. When using the --unique jpayne@68: option, duplicates are discarded.
jpayne@68: jpayne@68:Mandatory jpayne@68: arguments to long options are mandatory for short options jpayne@68: too.
jpayne@68: jpayne@68:Input file
jpayne@68: location:
jpayne@68: INPUTFILE
input PO file
jpayne@68: jpayne@68:-D, jpayne@68: --directory=DIRECTORY
jpayne@68: jpayne@68:add DIRECTORY to list for input jpayne@68: files search
jpayne@68: jpayne@68:If no input jpayne@68: file is given or if it is -, standard input is jpayne@68: read.
jpayne@68: jpayne@68:Output file
jpayne@68: location:
jpayne@68: -o,
jpayne@68: --output-file=FILE
write output to specified jpayne@68: file
jpayne@68: jpayne@68:The results are jpayne@68: written to standard output if no output file is specified or jpayne@68: if it is -.
jpayne@68: jpayne@68:Message
jpayne@68: selection:
jpayne@68: -d, --repeated
print only duplicates
jpayne@68: jpayne@68:-u, jpayne@68: --unique
jpayne@68: jpayne@68:print only unique messages, jpayne@68: discard duplicates
jpayne@68: jpayne@68:Input file
jpayne@68: syntax:
jpayne@68: -P,
jpayne@68: --properties-input
input file is in Java jpayne@68: .properties syntax
jpayne@68: jpayne@68: jpayne@68:--stringtable-input
jpayne@68: jpayne@68:input file is in jpayne@68: NeXTstep/GNUstep .strings syntax
jpayne@68: jpayne@68:Output
jpayne@68: details:
jpayne@68: -t,
jpayne@68: --to-code=NAME
encoding for output
jpayne@68: jpayne@68: jpayne@68:--use-first
jpayne@68: jpayne@68:use first available translation jpayne@68: for each message, don’t merge several translations
jpayne@68: jpayne@68:--color
jpayne@68: jpayne@68:use colors and other text jpayne@68: attributes always
jpayne@68: jpayne@68: jpayne@68:--color=WHEN
jpayne@68: jpayne@68:use colors and other text jpayne@68: attributes if WHEN. WHEN may be ’always’, jpayne@68: ’never’, ’auto’, or jpayne@68: ’html’.
jpayne@68: jpayne@68: jpayne@68:--style=STYLEFILE
jpayne@68: jpayne@68:specify CSS style rule file for jpayne@68: --color
jpayne@68: jpayne@68:-e, jpayne@68: --no-escape
jpayne@68: jpayne@68:do not use C escapes in output jpayne@68: (default)
jpayne@68: jpayne@68:-E, jpayne@68: --escape
jpayne@68: jpayne@68:use C escapes in output, no jpayne@68: extended chars
jpayne@68: jpayne@68: jpayne@68:--force-po
jpayne@68: jpayne@68:write PO file even if empty
jpayne@68: jpayne@68:-i, jpayne@68: --indent
jpayne@68: jpayne@68:write the .po file using jpayne@68: indented style
jpayne@68: jpayne@68: jpayne@68:--no-location
jpayne@68: jpayne@68:do not write ’#: jpayne@68: filename:line’ lines
jpayne@68: jpayne@68:-n, jpayne@68: --add-location
jpayne@68: jpayne@68:generate ’#: jpayne@68: filename:line’ lines (default)
jpayne@68: jpayne@68: jpayne@68:--strict
jpayne@68: jpayne@68:write out strict Uniforum jpayne@68: conforming .po file
jpayne@68: jpayne@68:-p, jpayne@68: --properties-output
jpayne@68: jpayne@68:write out a Java .properties jpayne@68: file
jpayne@68: jpayne@68: jpayne@68:--stringtable-output
jpayne@68: jpayne@68:write out a NeXTstep/GNUstep jpayne@68: .strings file
jpayne@68: jpayne@68:-w, jpayne@68: --width=NUMBER
jpayne@68: jpayne@68:set output page width
jpayne@68: jpayne@68: jpayne@68:--no-wrap
jpayne@68: jpayne@68:do not break long message jpayne@68: lines, longer than the output page width, into several jpayne@68: lines
jpayne@68: jpayne@68:-s, jpayne@68: --sort-output
jpayne@68: jpayne@68:generate sorted output
jpayne@68: jpayne@68:-F, jpayne@68: --sort-by-file
jpayne@68: jpayne@68:sort output by file jpayne@68: location
jpayne@68: jpayne@68:Informative
jpayne@68: output:
jpayne@68: -h, --help
display this help and exit
jpayne@68: jpayne@68:-V, jpayne@68: --version
jpayne@68: jpayne@68:output version information and jpayne@68: exit
jpayne@68: jpayne@68:Written by jpayne@68: Bruno Haible.
jpayne@68: jpayne@68:Report bugs in jpayne@68: the bug tracker at jpayne@68: <https://savannah.gnu.org/projects/gettext> or by jpayne@68: email to <bug-gettext@gnu.org>.
jpayne@68: jpayne@68:Copyright
jpayne@68: © 2001-2023 Free Software Foundation, Inc.
jpayne@68: License GPLv3+: GNU GPL version 3 or later
jpayne@68: <https://gnu.org/licenses/gpl.html>
jpayne@68: This is free software: you are free to change and
jpayne@68: redistribute it. There is NO WARRANTY, to the extent
jpayne@68: permitted by law.
The full jpayne@68: documentation for msguniq is maintained as a Texinfo jpayne@68: manual. If the info and msguniq programs are jpayne@68: properly installed at your site, the command
jpayne@68: jpayne@68:info jpayne@68: msguniq
jpayne@68: jpayne@68:should give you jpayne@68: access to the complete manual.
jpayne@68: