@@ -30,6 +30,7 @@ DPKG_BEGIN_DECLS
#define _(str) gettext(str)
#define P_(str, str_plural, n) ngettext(str, str_plural, n)
#define N_(str) gettext_noop(str)
+#define C_(ctxt, str) pgettext(ctxt, str)
DPKG_END_DECLS
@@ -8,7 +8,8 @@ subdir = po
top_builddir = ..
# These options get passed to xgettext.
-XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=P_:1,2 --from-code=UTF-8
+XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ \
+ --keyword=P_:1,2 --keyword=C_:1c,2
MSGMERGE_OPTIONS = --previous