diff options
| author | Bruno Haible <bruno@clisp.org> | 2019-08-25 19:17:21 +0200 |
|---|---|---|
| committer | Bruno Haible <bruno@clisp.org> | 2019-08-25 19:17:21 +0200 |
| commit | c2758ebe0a99fedc2063bda6ebbea0d1df8cd934 (patch) | |
| tree | f5e4013292b14a49f72cf53aff00ce04b8074055 /gettext-tools/src/FILES | |
| parent | a55b0194e3768fc27b8ec6f098f21759f2aa4f4e (diff) | |
| download | gettext-c2758ebe0a99fedc2063bda6ebbea0d1df8cd934.tar.gz | |
Add support for Java format strings in the Formatter syntax.
* gettext-tools/src/message.h (format_type): Add format_java_printf.
(NFORMATS): Increment.
* gettext-tools/src/message.c (format_language, format_language_pretty): Add
entry for format_java_printf.
* gettext-tools/src/format.h (formatstring_java_printf): New declaration.
* gettext-tools/src/format-java.c: Update comments.
* gettext-tools/src/format-java-printf.c: New file.
* gettext-tools/src/format.c (formatstring_parsers): Add entry for
format_java_printf.
* gettext-tools/src/x-java.h (SCANNERS_JAVA): Use formatstring_java_printf.
* gettext-tools/src/x-java.c (init_flag_table_java): Add entries relevant to
format strings in Formatter syntax.
* gettext-tools/src/xgettext.c (xgettext_record_flag): Add support for
format_java_printf.
* gettext-tools/src/FILES: Add format-java-printf.c.
* gettext-tools/src/Makefile.am (FORMAT_SOURCE): Add format-java-printf.c.
* gettext-tools/woe32dll/gettextsrc-exports.c: Export formatstring_java_printf.
* gettext-tools/libgettextpo/Makefile.am (libgettextpo_la_AUXSOURCES): Likewise.
* gettext-tools/tests/xgettext-6 (xg-test6.java): Add test for recognition of
format strings in Formatter syntax.
* gettext-tools/tests/format-java-printf-1: New file.
* gettext-tools/tests/format-java-printf-2: New file.
* gettext-tools/tests/Makefile.am (TESTS): Add them.
* gettext-tools/tests/lang-java: Add two uses of String.format to the program.
* gettext-tools/doc/gettext.texi (PO Files): Document java-printf-format and
no-java-printf-format.
(java-format): Describe both kinds of format strings. Update URLs.
(Java): Mention the second kind of format string as well.
* NEWS: Mention the improvement.
Diffstat (limited to 'gettext-tools/src/FILES')
| -rw-r--r-- | gettext-tools/src/FILES | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gettext-tools/src/FILES b/gettext-tools/src/FILES index 2bbeb01f0..52c1ad058 100644 --- a/gettext-tools/src/FILES +++ b/gettext-tools/src/FILES @@ -223,6 +223,7 @@ format-elisp.c Format string handling for Emacs Lisp. format-librep.c Format string handling for librep. format-scheme.c Format string handling for Scheme. format-java.c Format string handling for Java. +format-java-printf.c Format string handling for Java, printf syntax. format-csharp.c Format string handling for C#. format-awk.c Format string handling for awk. format-pascal.c Format string handling for Object Pascal. |
