[accerciser] Fix schema translations
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [accerciser] Fix schema translations
- Date: Tue, 25 Aug 2015 22:20:31 +0000 (UTC)
commit b1fdb2fde7e224f0cf79ad1532fcb42124d73013
Author: Matthias Clasen <mclasen redhat com>
Date: Sat May 23 09:44:35 2015 -0400
Fix schema translations
There are two fixes here. First, we need to set a gettext
domain in the scehma file and second, we must not merge
translations back into the xml file, since dconf-editor
can't deal with that.
https://bugzilla.gnome.org/show_bug.cgi?id=749769
Makefile.am | 3 +++
org.a11y.Accerciser.gschema.xml.in | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 73d0972..73f86e2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,6 +20,9 @@ appdata_DATA = $(appdata_in_files:.xml.in=.xml)
appdata_in_files = org.gnome.accerciser.appdata.xml.in
@INTLTOOL_XML_RULE@
+%.gschema.xml: %.gschema.xml.in
+ $(AM_V_GEN) $(INTLTOOL_MERGE) -x -u --no-translations $< $@
+
@GSETTINGS_RULES@
EXTRA_DIST = \
diff --git a/org.a11y.Accerciser.gschema.xml.in b/org.a11y.Accerciser.gschema.xml.in
index 44f706b..1fc2afc 100644
--- a/org.a11y.Accerciser.gschema.xml.in
+++ b/org.a11y.Accerciser.gschema.xml.in
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<schemalist>
+<schemalist gettext-domain="accerciser">
<schema path="/org/a11y/accerciser/" id="org.a11y.Accerciser" gettext-domain="accerciser">
<key type="as" name="disabled-plugins">
<default>[]</default>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]