summaryrefslogtreecommitdiff
path: root/make-pot
diff options
context:
space:
mode:
authorSophie Herold <sophie@hemio.de>2022-05-11 17:36:07 +0200
committerSophie Herold <sophie@hemio.de>2022-05-11 17:36:07 +0200
commit17578a97d6629877d80e53af17b71e746b84485d (patch)
treea6977823e63b7d2ce64ae56ddf880a274f132959 /make-pot
parent9536eb654b15b2a906d4b63bbb9bb56a81e0a146 (diff)
downloadgtk+-17578a97d6629877d80e53af17b71e746b84485d.tar.gz
l10n: Remove po/pot for dropped nicks/blurbs
Diffstat (limited to 'make-pot')
-rwxr-xr-xmake-pot22
1 files changed, 8 insertions, 14 deletions
diff --git a/make-pot b/make-pot
index ad3c3ad97a..b860a349cb 100755
--- a/make-pot
+++ b/make-pot
@@ -9,11 +9,7 @@
#
# ./make-pot
#
-# to generate po/gtk40.pot, and like this:
-#
-# ./make-pot properties
-#
-# to generate po-properties/gtk40-properties.pot.
+# to generate po/gtk40.pot.
#
# Various things can be passed in by environment variables, which
# are heavily inspired by the variables used in po/Makefile.in.in:
@@ -26,19 +22,17 @@
# .pot file (defaults to gtk40 or gtk40-properties)
# XGETTEXT_KEYWORDS - --keyword arguments to pass to xgettext
+if test "$1" = "properties"; then
+ echo "'properties' is no longer supported" >&2
+ exit 1
+fi
XGETTEXT="${XGETTEXT:-xgettext}"
top_srcdir="${top_srcdir:-.}"
-if test "$1" = "properties"; then
- srcdir="${srcdir:-$top_srcdir/po-properties}"
- GETTEXT_PACKAGE="${GETTEXT_PACKAGE:-gtk40-properties}"
- XGETTEXT_KEYWORDS="${XGETTEXT_KEYWORDS:- --keyword --keyword=P_ }"
-else
- srcdir="${srcdir:-$top_srcdir/po}"
- 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
+srcdir="${srcdir:-$top_srcdir/po}"
+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 }"
$XGETTEXT --default-domain="$GETTEXT_PACKAGE" \
--directory="$top_srcdir" \