summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/ChangeLog
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2015-01-28 16:50:20 +0900
committerDaiki Ueno <ueno@gnu.org>2015-01-29 12:31:50 +0900
commit96dde0b8bdf6e4930f22556412d1680721929cd1 (patch)
treebcb636a22b8c7080a7945d9f649f75f4ff274689 /gettext-tools/tests/ChangeLog
parent2d36f1e1de7521090272b88f161711f95228c19d (diff)
downloadexternal_gettext-96dde0b8bdf6e4930f22556412d1680721929cd1.zip
external_gettext-96dde0b8bdf6e4930f22556412d1680721929cd1.tar.gz
external_gettext-96dde0b8bdf6e4930f22556412d1680721929cd1.tar.bz2
msgfilter: Add --newline option
The filter program was supposed to handle translation without a newline character at the end of line. This was causing portability problems with standard text processing programs on some platforms (BSD sed, for instance) and not friendly towards POSIX, where a "text file" is required to have an ending newline. The new --newline option controls the behavior. If it is given, both filter input and output are assumed to end with a newline character. * gettext-tools/src/msgfilter.c (newline): New variable. (long_options): Add --newline option. (main): Handle --newline option. (usage): Document --newline option. (process_string_with_newline): New function which wraps process_string. (process_message): Use process_string_with_newline instead of process_string if --newline is specified. * gettext-tools/tests/msgfilter-8: New file. * gettext-tools/tests/Makefile.am (TESTS): Add new test. * gettext-tools/doc/msgfilter.texi: Document --newline option.
Diffstat (limited to 'gettext-tools/tests/ChangeLog')
-rw-r--r--gettext-tools/tests/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog
index a08f91d..c60f35a 100644
--- a/gettext-tools/tests/ChangeLog
+++ b/gettext-tools/tests/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-28 Daiki Ueno <ueno@gnu.org>
+
+ * msgfilter-8: New file.
+ * Makefile.am (TESTS): Add new test.
+
2015-01-16 Daiki Ueno <ueno@gnu.org>
* xgettext-desktop-1: Check "invalid non-blank character" warning.