Don't localize gsettings strings (#663)

This commit is contained in:
Daniel Foré 2020-01-07 09:40:48 -08:00 committed by GitHub
parent a4d51ee560
commit 4f5ecdb2d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 18 deletions

View File

@ -16,7 +16,7 @@
<value nick='natural' value='1'/> <value nick='natural' value='1'/>
</enum> </enum>
<schema path="/org/pantheon/desktop/gala/behavior/" id="org.pantheon.desktop.gala.behavior" gettext-domain="@GETTEXT_PACKAGE@"> <schema path="/org/pantheon/desktop/gala/behavior/" id="org.pantheon.desktop.gala.behavior">
<key enum="GalaActionType" name="hotcorner-topleft"> <key enum="GalaActionType" name="hotcorner-topleft">
<default>'none'</default> <default>'none'</default>
<summary>Action for the top left corner</summary> <summary>Action for the top left corner</summary>
@ -89,7 +89,7 @@
</key> </key>
</schema> </schema>
<schema path="/org/pantheon/desktop/gala/keybindings/" id="org.pantheon.desktop.gala.keybindings" gettext-domain="@GETTEXT_PACKAGE@"> <schema path="/org/pantheon/desktop/gala/keybindings/" id="org.pantheon.desktop.gala.keybindings">
<key type="as" name="switch-to-workspace-first"> <key type="as" name="switch-to-workspace-first">
<default><![CDATA[['<Super>Home']]]></default> <default><![CDATA[['<Super>Home']]]></default>
<summary>Shortcut to move to first workspace</summary> <summary>Shortcut to move to first workspace</summary>
@ -154,7 +154,7 @@
</key> </key>
</schema> </schema>
<schema path="/org/pantheon/desktop/gala/appearance/" id="org.pantheon.desktop.gala.appearance" gettext-domain="@GETTEXT_PACKAGE@"> <schema path="/org/pantheon/desktop/gala/appearance/" id="org.pantheon.desktop.gala.appearance">
<key type="b" name="attach-modal-dialogs"> <key type="b" name="attach-modal-dialogs">
<default>false</default> <default>false</default>
<summary>Attach modal dialogs</summary> <summary>Attach modal dialogs</summary>
@ -181,7 +181,7 @@
</key> </key>
</schema> </schema>
<schema path="/org/pantheon/desktop/gala/animations/" id="org.pantheon.desktop.gala.animations" gettext-domain="@GETTEXT_PACKAGE@"> <schema path="/org/pantheon/desktop/gala/animations/" id="org.pantheon.desktop.gala.animations">
<key type="b" name="enable-animations"> <key type="b" name="enable-animations">
<default>true</default> <default>true</default>
<summary>Enable Animations</summary> <summary>Enable Animations</summary>
@ -219,7 +219,7 @@
</key> </key>
</schema> </schema>
<schema path="/org/pantheon/desktop/gala/shadows/" id="org.pantheon.desktop.gala.shadows" gettext-domain="@GETTEXT_PACKAGE@"> <schema path="/org/pantheon/desktop/gala/shadows/" id="org.pantheon.desktop.gala.shadows">
<key type="as" name="normal-focused"> <key type="as" name="normal-focused">
<default>['20', '-1', '0', '15', '100']</default> <default>['20', '-1', '0', '15', '100']</default>
<summary>Defines the shadow of normal focused windows</summary> <summary>Defines the shadow of normal focused windows</summary>
@ -247,7 +247,7 @@
</key> </key>
</schema> </schema>
<schema path="/org/pantheon/desktop/gala/notifications/" id="org.pantheon.desktop.gala.notifications" gettext-domain="@GETTEXT_PACKAGE@"> <schema path="/org/pantheon/desktop/gala/notifications/" id="org.pantheon.desktop.gala.notifications">
<key type="b" name="do-not-disturb"> <key type="b" name="do-not-disturb">
<default>false</default> <default>false</default>
<summary>Disable all notifications</summary> <summary>Disable all notifications</summary>
@ -255,7 +255,7 @@
<child name="applications" schema="org.pantheon.desktop.gala.notifications.application" /> <child name="applications" schema="org.pantheon.desktop.gala.notifications.application" />
</schema> </schema>
<schema id="org.pantheon.desktop.gala.notifications.application" gettext-domain="@GETTEXT_PACKAGE@"> <schema id="org.pantheon.desktop.gala.notifications.application">
<key type="b" name="bubbles"> <key type="b" name="bubbles">
<default>true</default> <default>true</default>
<summary>Enable bubbles</summary> <summary>Enable bubbles</summary>
@ -270,7 +270,7 @@
</key> </key>
</schema> </schema>
<schema path="/org/pantheon/desktop/gala/mask-corners/" id="org.pantheon.desktop.gala.mask-corners" gettext-domain="@GETTEXT_PACKAGE@"> <schema path="/org/pantheon/desktop/gala/mask-corners/" id="org.pantheon.desktop.gala.mask-corners">
<key type="b" name="enable"> <key type="b" name="enable">
<default>true</default> <default>true</default>
<summary>Enable rounded corner mask</summary> <summary>Enable rounded corner mask</summary>

View File

@ -1,13 +1,9 @@
gala_gschema = configure_file( install_data(
input: 'org.pantheon.desktop.gala.gschema.xml.in', 'gala.gschema.xml',
output: 'org.pantheon.desktop.gala.gschema.xml', install_dir: join_paths(data_dir, 'glib-2.0', 'schemas'),
configuration: customconf, rename: 'org.pantheon.desktop.gala.gschema.xml'
install: true,
install_dir: join_paths(data_dir, 'glib-2.0', 'schemas')
) )
gala_gschema_compile = gnome.compile_schemas()
i18n.merge_file( i18n.merge_file(
input: 'gala.appdata.xml.in', input: 'gala.appdata.xml.in',
output: meson.project_name() + '.appdata.xml', output: meson.project_name() + '.appdata.xml',

View File

@ -1,7 +1,7 @@
project('gala', project('gala',
'c', 'vala', 'c', 'vala',
version: '3.2.0', version: '3.2.0',
meson_version: '>= 0.42.0', meson_version: '>= 0.46.0',
license: 'GPL3', license: 'GPL3',
) )

View File

@ -4,4 +4,3 @@ daemon/MenuDaemon.vala
data/gala.appdata.xml.in data/gala.appdata.xml.in
data/gala-multitaskingview.desktop.in data/gala-multitaskingview.desktop.in
data/gala-other.desktop.in data/gala-other.desktop.in
data/org.pantheon.desktop.gala.gschema.xml.in