]> git.ipfire.org Git - thirdparty/gettext.git/commit
Extend --add-location option to suppress line number output
authorDaiki Ueno <ueno@gnu.org>
Mon, 24 Mar 2014 09:43:01 +0000 (18:43 +0900)
committerDaiki Ueno <ueno@gnu.org>
Tue, 25 Mar 2014 08:05:41 +0000 (17:05 +0900)
commit90c76fda268779b80c2fa969b8efddbb4aa5da1e
tree35736c9950945b19fad8244a89907d20d29c2b5b
parent0c94b1c6d7a118b64e50644242cd498b60bfa518
Extend --add-location option to suppress line number output

The --add-location option of msgattrib, msgcat, msgcomm, msgconv,
msgen, msgfilter, msggrep, msgmerge, msguniq, and xgettext
commands now takes an optional argument 'never', 'full', or
'file', to control the format of "#: ..."  comments.

The default catalog reader changed to always remember file
positions so the line number part can be suppressed in output
phase rather than input phase.
40 files changed:
gettext-tools/doc/ChangeLog
gettext-tools/doc/msgattrib.texi
gettext-tools/doc/msgcat.texi
gettext-tools/doc/msgcomm.texi
gettext-tools/doc/msgconv.texi
gettext-tools/doc/msgen.texi
gettext-tools/doc/msgfilter.texi
gettext-tools/doc/msggrep.texi
gettext-tools/doc/msgmerge.texi
gettext-tools/doc/msguniq.texi
gettext-tools/doc/xgettext.texi
gettext-tools/src/ChangeLog
gettext-tools/src/msgattrib.c
gettext-tools/src/msgcat.c
gettext-tools/src/msgcomm.c
gettext-tools/src/msgconv.c
gettext-tools/src/msgen.c
gettext-tools/src/msgfilter.c
gettext-tools/src/msgfmt.c
gettext-tools/src/msggrep.c
gettext-tools/src/msgmerge.c
gettext-tools/src/msguniq.c
gettext-tools/src/read-catalog.c
gettext-tools/src/read-catalog.h
gettext-tools/src/write-po.c
gettext-tools/src/write-po.h
gettext-tools/src/x-po.c
gettext-tools/src/xgettext.c
gettext-tools/tests/ChangeLog
gettext-tools/tests/Makefile.am
gettext-tools/tests/msgattrib-18 [new file with mode: 0755]
gettext-tools/tests/msgcat-19 [new file with mode: 0755]
gettext-tools/tests/msgcomm-28 [new file with mode: 0755]
gettext-tools/tests/msgconv-7 [new file with mode: 0755]
gettext-tools/tests/msgen-4 [new file with mode: 0755]
gettext-tools/tests/msgfilter-5 [new file with mode: 0755]
gettext-tools/tests/msggrep-11 [new file with mode: 0755]
gettext-tools/tests/msgmerge-25 [new file with mode: 0755]
gettext-tools/tests/msguniq-7 [new file with mode: 0755]
gettext-tools/tests/xgettext-10 [new file with mode: 0755]