[gedit] gschema: simplify setting the gettext-domain
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] gschema: simplify setting the gettext-domain
- Date: Thu, 5 Dec 2019 10:22:05 +0000 (UTC)
commit 03379f7af42bdcd04a6c5781478d845ff79750e5
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Dec 5 10:06:45 2019 +0100
gschema: simplify setting the gettext-domain
The *.pot is still the same.
There are plenty of org.gnome.gedit or /org/gnome/gedit/, so hard-coding
the gettext-domain to "gedit" is fine IMHO.
data/org.gnome.gedit.gschema.xml.in | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/data/org.gnome.gedit.gschema.xml.in b/data/org.gnome.gedit.gschema.xml.in
index f7b0f670c..a3e6cb556 100644
--- a/data/org.gnome.gedit.gschema.xml.in
+++ b/data/org.gnome.gedit.gschema.xml.in
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<schemalist>
+<schemalist gettext-domain="gedit">
<enum id="org.gnome.gedit.WrapMode">
<value nick="none" value="0"/>
<value nick="char" value="1"/>
@@ -19,18 +19,18 @@
<value nick="grid" value="1"/>
</enum>
- <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit" path="/org/gnome/gedit/">
+ <schema id="org.gnome.gedit" path="/org/gnome/gedit/">
<child name="preferences" schema="org.gnome.gedit.preferences"/>
<child name="state" schema="org.gnome.gedit.state"/>
<child name="plugins" schema="org.gnome.gedit.plugins"/>
</schema>
- <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences"
path="/org/gnome/gedit/preferences/">
+ <schema id="org.gnome.gedit.preferences" path="/org/gnome/gedit/preferences/">
<child name="editor" schema="org.gnome.gedit.preferences.editor"/>
<child name="ui" schema="org.gnome.gedit.preferences.ui"/>
<child name="print" schema="org.gnome.gedit.preferences.print"/>
<child name="encodings" schema="org.gnome.gedit.preferences.encodings"/>
</schema>
- <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences.editor"
path="/org/gnome/gedit/preferences/editor/">
+ <schema id="org.gnome.gedit.preferences.editor" path="/org/gnome/gedit/preferences/editor/">
<key name="use-default-font" type="b">
<default>true</default>
<summary>Use Default Font</summary>
@@ -163,7 +163,7 @@
<description>Whether gedit will ensure that documents always end with a trailing newline.</description>
</key>
</schema>
- <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences.ui"
path="/org/gnome/gedit/preferences/ui/">
+ <schema id="org.gnome.gedit.preferences.ui" path="/org/gnome/gedit/preferences/ui/">
<key name="show-tabs-mode" enum="org.gnome.gedit.GeditNotebookShowTabsModeType">
<default>'auto'</default>
<summary>Notebook Show Tabs Mode</summary>
@@ -183,7 +183,7 @@
<default>false</default>
</key>
</schema>
- <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences.print"
path="/org/gnome/gedit/preferences/print/">
+ <schema id="org.gnome.gedit.preferences.print" path="/org/gnome/gedit/preferences/print/">
<key name="print-syntax-highlighting" type="b">
<default>true</default>
<summary>Print Syntax Highlighting</summary>
@@ -248,7 +248,7 @@
<description>The bottom margin, in millimeters.</description>
</key>
</schema>
- <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences.encodings"
path="/org/gnome/gedit/preferences/encodings/">
+ <schema id="org.gnome.gedit.preferences.encodings" path="/org/gnome/gedit/preferences/encodings/">
<key name="candidate-encodings" type="as">
<default>['']</default>
<summary>Candidate Encodings</summary>
@@ -295,7 +295,7 @@
<default>['']</default>
</key>
</schema>
- <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.plugins" path="/org/gnome/gedit/plugins/">
+ <schema id="org.gnome.gedit.plugins" path="/org/gnome/gedit/plugins/">
<key name="active-plugins" type="as">
<default>[@ACTIVE_PLUGINS@]</default>
<summary>Active plugins</summary>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]