From e4863193c05ee219079e3adbc04bfe4c068c57c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A7=D0=B0=D1=81=D0=BB=D0=B0=D0=B2=20=D0=98=D0=BB=D0=B8?= =?UTF-8?q?=D1=9B=20=28Chusslove=20Illich=29?= Date: Mon, 11 May 2015 15:30:55 +0900 Subject: kde: Enable ki18n keywords by default * gettext-tools/src/x-c.c (init_flag_table_kde): New function. (additional_keywords_kde): New variable. (activate_additional_keywords_kde): New function. (init_keywords): Optional addition of KDE-specific keywords. * gettext-tools/src/x-c.h (init_flag_table_kde): New function declaration. (activate_additional_keywords_kde): New function declaration. * gettext-tools/src/xgettext.c (main): Invoke addition of KDE-specific keywords when language is C++ with KDE. * NEWS: Mention --kde behavior change. --- NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index ac3a634..3a01dba 100644 --- a/NEWS +++ b/NEWS @@ -19,6 +19,9 @@ Version 0.19.5 - unreleased - C++ with KDE: xgettext and msgfmt can now recognize KUIT (KDE User Interface Text) markup. See the documentation section "KUIT Format Strings" for more info. + - C++ with KDE: xgettext now recognizes all default KDE keywords. + This removes the need for a long list of --keyword and --flag + options to perform a reasonable extraction. * Bug fixes: - xgettext C++11 raw string recognition is now stricter and don't -- cgit v1.1