summaryrefslogtreecommitdiffstats
path: root/gettext-tools/libgettextpo
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for 0.19.5Daiki Ueno2015-06-231-1/+1
|
* maint: Update copyright yearDaiki Ueno2015-06-054-4/+5
|
* format-kde: Recognize KUIT markupDaiki Ueno2015-03-092-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by Chusslove Illich in: https://lists.gnu.org/archive/html/bug-gettext/2015-01/msg00017.html * gettext-tools/src/format.h (formatstring_kde_kuit): New variable declaration. * gettext-tools/src/format.c (formatstring_parsers): Register formatstring_kde_kuitas a format string parser. * gettext-tools/src/format-kde-kuit.c: New file. * gettext-tools/src/message.h (NFORMATS): Increment. (enum format_type): New enum value format_kde_kuit. * gettext-tools/src/xgettext.c (xgettext_record_flag): Handle format_kde_kuit. * gettext-tools/src/Makefile.am (xgettext_SOURCES): Move libexpat-compat.c to... (libgettextsrc_la_SOURCES): ...here. (xgettext_LDADD): Move @LTLIBEXPAT@ to... (libgettextsrc_la_LDFLAGS): ...here. (FORMAT_SOURCE): Add format-kde-kuit.c. * gettext-tools/libgettextpo/Makefile.am (libgettextpo_la_AUXSOURCES): Add ../src/format-kde-kuit.c and ../src/libexpat-compat.c. (libgettextpo_la_LDFLAGS): Add @LTLIBEXPAT@. * gettext-tools/tests/format-kde-kuit-1: New file. * gettext-tools/tests/format-kde-kuit-2: New file. * gettext-tools/tests/Makefile.am (TESTS): Add new tests. * gettext-tools/doc/gettext.texi (kde-kuit-format): New subsection. * NEWS: Mention KUIT format string support.
* xgettext: Support message syntax checksDaiki Ueno2015-03-032-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, xgettext could report common syntactic problems in extracted strings. The current built-in checks are ellipsis-unicode, space-ellipsis, and quote-unicode. Those checks can be enabled with --check option of xgettext and disabled with special "xgettext:" comment in source files. Feature suggested by Philip Withnall in: https://savannah.gnu.org/bugs/?44098 * gettext-tools/src/message.h (enum syntax_check_type): New enum. (NSYNTAXCHECKS): New constant. (enum is_syntax_check): New enum. (struct message_ty): New field 'do_syntax_check'. (syntax_check_name): New variable declaration. * gettext-tools/src/message.c (syntax_check_name): New variable. * gettext-tools/src/msgl-cat.c (catenate_msgdomain_list): Propagate mp->do_syntax_check. * gettext-tools/src/msgmerge.c (message_merge): Propagate ref->do_syntax_check. * gettext-tools/src/msgl-check.h (syntax_check_message_list): New declaration. * gettext-tools/src/msgl-check.c (sentence_end): New function. (syntax_check_ellipsis_unicode): New function. (syntax_check_space_ellipsis): New function. (syntax_check_quote_unicode): New function. (syntax_check_message): New function. (syntax_check_message_list): New function. * gettext-tools/src/read-catalog-abstract.h (po_parse_comment_special): Adjust function declaration. * gettext-tools/src/read-catalog-abstract.c (po_parse_comment_special): Add new argument SCP for syntax checking; all callers changed. * gettext-tools/src/read-catalog.h (DEFAULT_CATALOG_READER_TY): New field 'do_syntax_check'. * gettext-tools/src/read-catalog.c (default_constructor): Initialize this->do_syntax_check. (default_copy_comment_state): Propagate this->do_syntax_check. * gettext-tools/src/xgettext.c (long_options): Add --check option. (main): Handle --check option. (usage): Document --check option. (remember_a_message): Propagate do_syntax_check value. * gettext-tools/tests/xgettext-14: New file. * gettext-tools/tests/sentence.c: New file. * gettext-tools/tests/Makefile.am (TESTS): Add new test. (noinst_PROGRAMS): Add 'sentence'. (sentence_SOURCES): New variable. (sentence_CPPFLAGS): New variable. (sentence_LDADD): New variable. * gettext-tools/doc/xgettext.texi: Document --check option.
* Release 0.19.4Daiki Ueno2014-12-241-0/+4
|
* Prepare for 0.19.4Daiki Ueno2014-12-243-2/+7
|
* Update gnulib.Daiki Ueno2014-11-231-0/+1
|
* Release 0.19.3Daiki Ueno2014-10-151-0/+4
|
* Prepare for 0.19.3Daiki Ueno2014-10-152-1/+5
|
* Release 0.19.2Daiki Ueno2014-07-141-0/+4
|
* Prepare for 0.19.2Daiki Ueno2014-07-141-1/+1
|
* Release 0.19.1Daiki Ueno2014-06-101-0/+4
|
* Prepare for 0.19.1Daiki Ueno2014-06-101-1/+1
|
* Release 0.19Daiki Ueno2014-06-021-0/+4
|
* Prepare for 0.19.Daiki Ueno2014-06-021-1/+1
|
* build: Remove unused variablesDaiki Ueno2014-05-121-2/+0
|
* build: Use Automake 'subdir-objects' optionRoumen Petrov2014-04-222-1/+6
| | | | | | | * gettext-runtime/tests/Makefile.am (AUTOMAKE_OPTIONS): Add 'subdir-objects'. * gettext-tools/libgettextpo/Makefile.am (AUTOMAKE_OPTIONS): Likewise. * gettext-tools/libgrep/Makefile.am (AUTOMAKE_OPTIONS): Likewise. * gettext-tools/src/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* Update .gitignoreDaiki Ueno2014-04-221-12/+36
|
* Regenerated for 0.18.3.Daiki Ueno2013-07-071-0/+4
|
* Prepare for 0.18.3.Daiki Ueno2013-07-071-1/+1
|
* Support Python brace format.Daiki Ueno2013-04-262-0/+6
|
* Support for JavaScript.Andreas Stricker2013-04-172-0/+6
|
* Support for Lua.Ľubomír Remák2013-04-112-0/+5
|
* Regenerate files for 0.18.2.Daiki Ueno2012-12-251-0/+8
|
* Version 0.18.2.Daiki Ueno2012-12-251-0/+4
|
* Prepare for 0.18.2.Daiki Ueno2012-12-253-2/+7
|
* Update after gnulib changed.Bruno Haible2012-02-191-0/+14
|
* Rename gettext-po.h.in to gettext-po.in.h.Bruno Haible2011-06-073-4/+10
|
* Rely more on libtool.Bruno Haible2011-06-072-2/+8
|
* Bug fixes in libgettextpo.Bruno Haible2010-06-072-5/+14
|
* Avoid link error in programs that use libgettextpo.Bruno Haible2010-06-062-1/+7
|
* Version 0.18.1.Bruno Haible2010-06-041-0/+4
|
* Prepare for 0.18.1.Bruno Haible2010-06-043-2/+7
|
* Link with libunistring, if it exists.Bruno Haible2010-06-031-5/+6
|
* Cleanup files that are no longer used.Bruno Haible2010-06-031-1/+0
|
* Version 0.18.Bruno Haible2010-05-091-0/+4
|
* Prepare for version 0.18.Bruno Haible2010-05-094-6/+12
|
* Update after gnulib changed.Bruno Haible2010-03-291-0/+10
|
* Update.Bruno Haible2009-12-262-2/+6
|
* Untabify.Bruno Haible2009-12-123-206/+211
|
* Update after gnulib changed.Bruno Haible2009-12-121-0/+5
|
* Add necessary variable.Guido Flohr2009-12-012-0/+5
|
* Update after gnulib imports and gnulib changed.Bruno Haible2009-08-151-0/+1
|
* Remove obsolete CVS infrastructure.Bruno Haible2009-08-141-155/+0
|
* Compile also format-gfc-internal.c and format-qt-plural.c.Bruno Haible2009-08-112-0/+7
|
* Ignore all files that are automatically generated and distributed andBruno Haible2009-08-041-0/+150
| | | | not under version control.
* Update MOSTLYCLEANFILES after last commit.Bruno Haible2009-06-232-1/+2
|
* Fix the handling of Windows resources in shared libraries.Bruno Haible2009-06-232-6/+14
|
* Update after string_list_join changed.Bruno Haible2009-06-232-3/+8
|
* Update for 2008-10-04 change.Bruno Haible2009-06-232-1/+2
|