From c3bfe25c25e5d49659b3214987fa6a40fceb8f29 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 24 Feb 2003 10:49:59 +0000 Subject: Support for plural forms in xgettext --language=Python. --- gettext-tools/src/x-python.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gettext-tools/src/x-python.c') diff --git a/gettext-tools/src/x-python.c b/gettext-tools/src/x-python.c index 5efd314..74e9a78 100644 --- a/gettext-tools/src/x-python.c +++ b/gettext-tools/src/x-python.c @@ -1,5 +1,5 @@ /* xgettext Python backend. - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002-2003 Free Software Foundation, Inc. This file was written by Bruno Haible , 2002. @@ -126,7 +126,11 @@ init_keywords () if (default_keywords) { x_python_keyword ("gettext"); + x_python_keyword ("ugettext"); x_python_keyword ("dgettext:2"); + x_python_keyword ("ngettext:1,2"); + x_python_keyword ("ungettext:1,2"); + x_python_keyword ("dngettext:2,3"); x_python_keyword ("_"); default_keywords = false; } -- cgit v1.1