summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/x-python.c
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2013-06-17 11:56:41 +0900
committerDaiki Ueno <ueno@gnu.org>2013-06-17 12:23:43 +0900
commit4db97420210b1393566e9d361ca8253f60aad3d0 (patch)
tree889bac7d9fa893e1450784e565089f12d660547b /gettext-tools/src/x-python.c
parent51d87a61197ef9c78b97de291535d0e005b6385c (diff)
downloadexternal_gettext-4db97420210b1393566e9d361ca8253f60aad3d0.zip
external_gettext-4db97420210b1393566e9d361ca8253f60aad3d0.tar.gz
external_gettext-4db97420210b1393566e9d361ca8253f60aad3d0.tar.bz2
Enable python-brace-format detection by default.
Diffstat (limited to 'gettext-tools/src/x-python.c')
-rw-r--r--gettext-tools/src/x-python.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gettext-tools/src/x-python.c b/gettext-tools/src/x-python.c
index a3a106c..faafa50 100644
--- a/gettext-tools/src/x-python.c
+++ b/gettext-tools/src/x-python.c
@@ -133,6 +133,18 @@ init_flag_table_python ()
xgettext_record_flag ("dngettext:3:pass-python-format");
xgettext_record_flag ("_:1:pass-python-format");
/* xgettext_record_flag ("%:1:python-format"); // % is an infix operator! */
+
+ xgettext_record_flag ("gettext:1:pass-python-brace-format");
+ xgettext_record_flag ("ugettext:1:pass-python-brace-format");
+ xgettext_record_flag ("dgettext:2:pass-python-brace-format");
+ xgettext_record_flag ("ngettext:1:pass-python-brace-format");
+ xgettext_record_flag ("ngettext:2:pass-python-brace-format");
+ xgettext_record_flag ("ungettext:1:pass-python-brace-format");
+ xgettext_record_flag ("ungettext:2:pass-python-brace-format");
+ xgettext_record_flag ("dngettext:2:pass-python-brace-format");
+ xgettext_record_flag ("dngettext:3:pass-python-brace-format");
+ xgettext_record_flag ("_:1:pass-python-brace-format");
+ /* xgettext_record_flag ("format:1:python-brace-format"); */
}