[gtksourceview] Do not translate glade catalog



commit b09de52a33430e20320079a435c6d917a7fbe79c
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu Sep 7 14:43:58 2017 +0200

    Do not translate glade catalog
    
    The glade catalog strings do not appear in application UIs. It is
    something used only by developers or designers, i.e. contributors.
    
    In GtkSourceView the GObject properties descriptions are not translated.
    The glade catalog is similar.

 data/glade/Makefile.am          |    6 +-----
 data/glade/glade.its            |    7 -------
 data/glade/glade.pot            |   31 -------------------------------
 data/glade/gtksourceview.xml.in |    2 --
 data/glade/update-pot.sh        |    3 ---
 po/POTFILES.in                  |    1 -
 6 files changed, 1 insertions(+), 49 deletions(-)
---
diff --git a/data/glade/Makefile.am b/data/glade/Makefile.am
index 20ed221..fbada8f 100644
--- a/data/glade/Makefile.am
+++ b/data/glade/Makefile.am
@@ -11,10 +11,6 @@ catalog_DATA = gtksourceview.xml
 validate: $(catalog_DATA)
        xmllint --dtdvalid $(GLADE_CATALOG_DIR)/glade-catalog.dtd --noout $<
 
-EXTRA_DIST =                   \
-       gtksourceview.xml.in    \
-       glade.its               \
-       glade.pot               \
-       update-pot.sh
+EXTRA_DIST = gtksourceview.xml.in
 
 -include $(top_srcdir)/git.mk
diff --git a/data/glade/gtksourceview.xml.in b/data/glade/gtksourceview.xml.in
index dc07150..4b2c298 100644
--- a/data/glade/gtksourceview.xml.in
+++ b/data/glade/gtksourceview.xml.in
@@ -3,7 +3,6 @@
                supports="gtkbuilder"
                name="gtksourceview"
                library="gtksourceview-@GSV_API_VERSION@"
-               domain="gtksourceview-@GSV_API_VERSION@"
                depends="gtk+"
                book="gtksourceview-@GSV_API_VERSION@">
   <glade-widget-classes>
@@ -19,7 +18,6 @@
         <property id="show-right-margin" default="False" />
         <property id="smart-home-end" default="Disabled">
           <displayable-values>
-            <!-- Translators: It is related to an option of a set of values -->
             <value id="GTK_SOURCE_SMART_HOME_END_DISABLED" name="Disabled" />
             <value id="GTK_SOURCE_SMART_HOME_END_BEFORE" name="Before" />
             <value id="GTK_SOURCE_SMART_HOME_END_AFTER" name="After" />
diff --git a/po/POTFILES.in b/po/POTFILES.in
index aa0c00e..e8d9456 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,4 +1,3 @@
-data/glade/glade.pot
 data/language-specs/language-specs.pot
 data/styles/styles.pot
 gtksourceview/completion-providers/words/gtksourcecompletionwords.c


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