summaryrefslogtreecommitdiff
path: root/make-pot
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-10-07 09:13:59 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-10-07 10:34:50 -0400
commit74f3d7f6d3349f71a10cfd694718e75fd0ea1a3b (patch)
tree9772b5b6afeb5968ee406d93b308bbeba7787025 /make-pot
parentecd384eeb77b2808cdc0fb56c4b795c0c6497b7a (diff)
downloadgtk+-74f3d7f6d3349f71a10cfd694718e75fd0ea1a3b.tar.gz
Switch gettext domain from gtk30 to gtk40
Diffstat (limited to 'make-pot')
-rwxr-xr-xmake-pot10
1 files changed, 5 insertions, 5 deletions
diff --git a/make-pot b/make-pot
index 1abb5905e3..e95e971f30 100755
--- a/make-pot
+++ b/make-pot
@@ -9,11 +9,11 @@
#
# ./make-pot
#
-# to generate po/gtk30.pot, and like this:
+# to generate po/gtk40.pot, and like this:
#
# ./make-pot properties
#
-# to generate po-properties/gtk30-properties.pot.
+# to generate po-properties/gtk40-properties.pot.
#
# Various things can be passed in by environment variables, which
# are heavily inspired by the variables used in po/Makefile.in.in:
@@ -23,7 +23,7 @@
# srcdir - the directory where POTFILES.in is located (defaults to
# $top_srcdir/po or $top_srcdir/po-properties)
# GETTEXT_PACKAGE - the gettext domain, used for naming the resulting
-# .pot file (defaults to gtk30 or gtk30-properties)
+# .pot file (defaults to gtk40 or gtk40-properties)
# XGETTEXT_KEYWORDS - --keyword arguments to pass to xgettext
@@ -32,11 +32,11 @@ top_srcdir="${top_srcdir:-.}"
if test "$1" = "properties"; then
srcdir="${srcdir:-$top_srcdir/po-properties}"
- GETTEXT_PACKAGE="${GETTEXT_PACKAGE:-gtk30-properties}"
+ GETTEXT_PACKAGE="${GETTEXT_PACKAGE:-gtk40-properties}"
XGETTEXT_KEYWORDS="${XGETTEXT_KEYWORDS:- --keyword --keyword=P_ }"
else
srcdir="${srcdir:-$top_srcdir/po}"
- GETTEXT_PACKAGE="${GETTEXT_PACKAGE:-gtk30}"
+ GETTEXT_PACKAGE="${GETTEXT_PACKAGE:-gtk40}"
XGETTEXT_KEYWORDS="${XGETTEXT_KEYWORDS:- --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 }"
fi