]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Wrap location comments to 79 characters
authorAlex Henrie <alexhenrie24@gmail.com>
Thu, 5 Feb 2015 05:59:14 +0000 (22:59 -0700)
committerDaiki Ueno <ueno@gnu.org>
Thu, 5 Feb 2015 13:19:01 +0000 (22:19 +0900)
commitea070a750206e6ffde1439afe7738ad4faed1bf4
tree7d709ee4bdf05985ea342a2d79d27b3e90a8f880
parent1e69ea41b355982adafacfa029cb668cc262ce35
xgettext: Wrap location comments to 79 characters

Previously, messages wre wrapped to 79 characters, but location
comments were wrapped to 78 characters.
* gettext-tools/src/write-po.c (message_print_comment_filepos): Fix
off-by-one in calculating line-wrapping width of location comment.

* gettext-tools/tests/xgettext-13: New file.
* gettext-tools/tests/Makefile.am (TESTS): Add new test.
* gettext-tools/tests/mm-viet.out: Adjust to the recent line-wrapping
behavior change.
gettext-tools/src/ChangeLog
gettext-tools/src/write-po.c
gettext-tools/tests/ChangeLog
gettext-tools/tests/Makefile.am
gettext-tools/tests/mm-viet.out
gettext-tools/tests/xgettext-13 [new file with mode: 0755]