diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-10-07 09:13:59 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-10-07 10:34:50 -0400 |
commit | 74f3d7f6d3349f71a10cfd694718e75fd0ea1a3b (patch) | |
tree | 9772b5b6afeb5968ee406d93b308bbeba7787025 /make-pot | |
parent | ecd384eeb77b2808cdc0fb56c4b795c0c6497b7a (diff) | |
download | gtk+-74f3d7f6d3349f71a10cfd694718e75fd0ea1a3b.tar.gz |
Switch gettext domain from gtk30 to gtk40
Diffstat (limited to 'make-pot')
-rwxr-xr-x | make-pot | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |