[Sugar-devel] [PATCH sugar v2 1/2] recognise translations using pgettext
Sascha Silbe
silbe at activitycentral.com
Sat Feb 12 07:27:40 EST 2011
Since Python doesn't support pgettext, we need to teach xgettext to recognise
it.
Signed-off-by: Sascha Silbe <silbe at activitycentral.com>
---
po/Makevars | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 po/Makevars
diff --git a/po/Makevars b/po/Makevars
new file mode 100644
index 0000000..da4dba6
--- /dev/null
+++ b/po/Makevars
@@ -0,0 +1 @@
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=Q_ --keyword=g_dgettext:2 --keyword=g_dngettext:2,3 --keyword=g_dpgettext:2 --keyword=g_dpgettext2=2c,3 --keyword=pgettext:1c,2
--
1.7.2.3
More information about the Sugar-devel
mailing list