[gnome-screenshot] Fix schema translations



commit 65473b2912bb696d7b7da9d0943aef6c6e26254f
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Apr 1 19:50:18 2015 -0400

    Fix schema translations
    
    There are two fixes here. First, we need to use the correct
    gettext domain in the schema file and second, we must not
    merge translations back into the xml file, since dconf-editor
    can't deal with that.
    
    http://bugzilla.gnome.org/show_bug.cgi?id=747125

 src/Makefile.am                               |    3 +++
 src/org.gnome.gnome-screenshot.gschema.xml.in |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 43731b0..f3b7fff 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -66,6 +66,9 @@ appdata_DATA = $(appdata_in_files:.xml.in=.xml)
 appdata_in_files = org.gnome.Screenshot.appdata.xml.in
 @INTLTOOL_XML_RULE@
 
+%.gschema.xml: %.gschema.xml.in
+       $(AM_V_GEN) $(INTLTOOL_MERGE) -x -u --no-translations $< $@
+
 dbusservicedir = $(datadir)/dbus-1/services
 dbusservice_DATA = org.gnome.Screenshot.service
 
diff --git a/src/org.gnome.gnome-screenshot.gschema.xml.in b/src/org.gnome.gnome-screenshot.gschema.xml.in
index ea8a09a..8d08edf 100644
--- a/src/org.gnome.gnome-screenshot.gschema.xml.in
+++ b/src/org.gnome.gnome-screenshot.gschema.xml.in
@@ -1,4 +1,4 @@
-<schemalist gettext-domain="gnome-utils-2.0">
+<schemalist gettext-domain="gnome-screenshot">
  <enum id="org.gnome.gnome-screenshot.file-types">
     <value nick="bmp" value="0"/>
     <value nick="jpg" value="1"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]