Commit 74f3d7f6 authored by Matthias Clasen's avatar Matthias Clasen

Switch gettext domain from gtk30 to gtk40

parent ecd384ee
......@@ -104,6 +104,6 @@ AM_DISTCHECK_CONFIGURE_FLAGS = \
--enable-installed-tests
GITIGNORE_TRANSLATION_DIRS = po-properties
GITIGNOREFILES = po-properties/gtk30-properties.pot
GITIGNOREFILES = po-properties/gtk40-properties.pot
-include $(top_srcdir)/git.mk
......@@ -168,7 +168,7 @@ AC_USE_SYSTEM_EXTENSIONS
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.19.7])
GETTEXT_PACKAGE=gtk30
GETTEXT_PACKAGE=gtk40
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
[The prefix for our gettext translation domains.])
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<!-- interface-requires gtk+ 3.10 -->
<!-- interface-requires gtkdemo 3.10 -->
<object class="GtkMenu" id="menu1">
......
......@@ -28,8 +28,8 @@ Make sure that gtk-doc is the latest released version.
3) Update the pot files and commit the changes:
make -C po gtk30.pot
make -C po-properties gtk30-properties.pot
make -C po gtk40.pot
make -C po-properties gtk40-properties.pot
4) In particular, if this is a major, stable, release, verify that
README.in contains the relevant release notes and that the
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<object class="GtkListStore" id="model">
<columns>
<column type="gchararray"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<object class="GtkTextTagTable" id="tags">
<child type="tag">
<object class="GtkTextTag">
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<object class="GtkListStore" id="prop_model">
<columns>
<column type="gchararray"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<template class="GtkInspectorDataList" parent="GtkBox">
<property name="orientation">vertical</property>
<child>
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<template class="GtkInspectorGeneral" parent="GtkScrolledWindow">
<property name="hscrollbar-policy">never</property>
<property name="vscrollbar-policy">automatic</property>
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<template class="GtkInspectorMagnifier" parent="GtkBox">
<property name="orientation">vertical</property>
<child>
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<object class="GtkTreeStore" id="model">
<columns>
<column type="gchararray"/> <!-- type -->
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<template class="GtkInspectorMiscInfo" parent="GtkScrolledWindow">
<child>
<object class="GtkBox">
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<object class="GtkTreeStore" id="model">
<columns>
<column type="gchararray"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<object class="GtkTreeStore" id="model">
<columns>
<column type="gpointer"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<object class="GtkListStore" id="model">
<columns>
<column type="gchararray"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<object class="GtkTreeStore" id="model">
<columns>
<column type="gchararray"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<object class="GtkTreeStore" id="model">
<columns>
<column type="gchararray"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<object class="GtkListStore" id="model">
<columns>
<column type="gchararray"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<object class="GtkListStore" id="model">
<columns>
<column type="GType"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<object class="GtkAdjustment" id="scale_adjustment">
<property name="lower">1</property>
<property name="upper">2</property>
......
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<interface domain="gtk40">
<object class="GtkAdjustment" id="magnification_adjustment">
<property name="lower">1.0</property>
<property name="upper">5.0</property>
......
......@@ -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
......
# Makefile variables for PO directory in any package using GNU gettext.
# Usually the message domain is the same as the package name.
DOMAIN = gtk30-properties
DOMAIN = gtk40-properties
# These two variables depend on the location of this directory.
subdir = po
......
# Makefile variables for PO directory in any package using GNU gettext.
# Usually the message domain is the same as the package name.
DOMAIN = gtk30
DOMAIN = gtk40
# These two variables depend on the location of this directory.
subdir = po
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment