summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-02-10 23:06:46 +0100
committerStefano Karapetsas <[email protected]>2013-02-10 23:06:46 +0100
commitb10ccd46e6d2d70f7639ec076c1f746803cd2e55 (patch)
tree999b51fae50addfffef0298b3a92ce793c6db2fa /data
parent352b1136eabf1e1a7752264a7690ac355e39756d (diff)
downloadmate-panel-b10ccd46e6d2d70f7639ec076c1f746803cd2e55.tar.bz2
mate-panel-b10ccd46e6d2d70f7639ec076c1f746803cd2e55.tar.xz
Make GSettings schemas translatable
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am3
-rw-r--r--data/org.mate.panel.gschema.xml.in.in (renamed from data/org.mate.panel.gschema.xml.in)2
-rw-r--r--data/org.mate.panel.object.gschema.xml.in.in (renamed from data/org.mate.panel.object.gschema.xml.in)2
-rw-r--r--data/org.mate.panel.toplevel.gschema.xml.in.in (renamed from data/org.mate.panel.toplevel.gschema.xml.in)2
4 files changed, 6 insertions, 3 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index e744324f..6fa19552 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -13,6 +13,9 @@ gsettings_SCHEMAS = \
@GSETTINGS_RULES@
+%.gschema.xml.in: %.gschema.xml.in.in Makefile
+ $(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@
+
convertdir = $(datadir)/MateConf/gsettings
convert_DATA = mate-panel.convert
diff --git a/data/org.mate.panel.gschema.xml.in b/data/org.mate.panel.gschema.xml.in.in
index e4dd0a25..53c32b86 100644
--- a/data/org.mate.panel.gschema.xml.in
+++ b/data/org.mate.panel.gschema.xml.in.in
@@ -1,4 +1,4 @@
-<schemalist>
+<schemalist gettext-domain="@GETTEXT_PACKAGE@">
<schema id="org.mate.panel" path="/org/mate/panel/general/">
<key name="enable-program-list" type="b">
<default>true</default>
diff --git a/data/org.mate.panel.object.gschema.xml.in b/data/org.mate.panel.object.gschema.xml.in.in
index e4582fd9..90c4a1bf 100644
--- a/data/org.mate.panel.object.gschema.xml.in
+++ b/data/org.mate.panel.object.gschema.xml.in.in
@@ -1,4 +1,4 @@
-<schemalist>
+<schemalist gettext-domain="@GETTEXT_PACKAGE@">
<schema id="org.mate.panel.object">
<key name="object-type" enum="org.mate.panel.PanelObjectType">
<default>'launcher'</default>
diff --git a/data/org.mate.panel.toplevel.gschema.xml.in b/data/org.mate.panel.toplevel.gschema.xml.in.in
index c3b5944d..ffffb6cf 100644
--- a/data/org.mate.panel.toplevel.gschema.xml.in
+++ b/data/org.mate.panel.toplevel.gschema.xml.in.in
@@ -1,4 +1,4 @@
-<schemalist>
+<schemalist gettext-domain="@GETTEXT_PACKAGE@">
<schema id="org.mate.panel.toplevel">
<key name="name" type="s">
<default>''</default>