|
|
63adfc |
From 80f7e1c144103d52a877f2d42db6a427867591f6 Mon Sep 17 00:00:00 2001
|
|
|
63adfc |
From: Ondrej Holy <oholy@redhat.com>
|
|
|
63adfc |
Date: Thu, 14 Jun 2018 15:22:15 +0200
|
|
|
63adfc |
Subject: [PATCH] build: Fix gschema translations
|
|
|
63adfc |
MIME-Version: 1.0
|
|
|
63adfc |
Content-Type: text/plain; charset=UTF-8
|
|
|
63adfc |
Content-Transfer-Encoding: 8bit
|
|
|
63adfc |
|
|
|
63adfc |
After meson port, translations are merged in gschema file, which doesn't
|
|
|
63adfc |
work:
|
|
|
63adfc |
|
|
|
63adfc |
$ LANG=en_US gsettings describe org.gnome.baobab.preferences excluded-uris
|
|
|
63adfc |
Una lista d'URI t'as particiones que cal excluir de l'anal�s.
|
|
|
63adfc |
|
|
|
63adfc |
Translations should not be merged in gschema files and also I don't see any
|
|
|
63adfc |
other gschema file with merged translations in /usr/share/glib-2.0/schemas/.
|
|
|
63adfc |
Let's install gschema file as is. After this change, translations works as
|
|
|
63adfc |
expected.
|
|
|
63adfc |
---
|
|
|
63adfc |
data/meson.build | 7 ++-----
|
|
|
63adfc |
....baobab.gschema.xml.in => org.gnome.baobab.gschema.xml} | 0
|
|
|
63adfc |
po/POTFILES.in | 2 +-
|
|
|
63adfc |
3 files changed, 3 insertions(+), 6 deletions(-)
|
|
|
63adfc |
rename data/{org.gnome.baobab.gschema.xml.in => org.gnome.baobab.gschema.xml} (100%)
|
|
|
63adfc |
|
|
|
63adfc |
diff --git a/data/meson.build b/data/meson.build
|
|
|
63adfc |
index 5b1ef00..98d1d69 100644
|
|
|
63adfc |
--- a/data/meson.build
|
|
|
63adfc |
+++ b/data/meson.build
|
|
|
63adfc |
@@ -22,11 +22,8 @@ appdata_file = i18n.merge_file(
|
|
|
63adfc |
install_dir: join_paths(get_option('datadir'), 'metainfo'),
|
|
|
63adfc |
)
|
|
|
63adfc |
|
|
|
63adfc |
-gschema_file = i18n.merge_file(
|
|
|
63adfc |
- input: 'org.gnome.baobab.gschema.xml.in',
|
|
|
63adfc |
- output: 'org.gnome.baobab.gschema.xml',
|
|
|
63adfc |
- po_dir: '../po',
|
|
|
63adfc |
- install: true,
|
|
|
63adfc |
+install_data (
|
|
|
63adfc |
+ 'org.gnome.baobab.gschema.xml',
|
|
|
63adfc |
install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas')
|
|
|
63adfc |
)
|
|
|
63adfc |
|
|
|
63adfc |
diff --git a/data/org.gnome.baobab.gschema.xml.in b/data/org.gnome.baobab.gschema.xml
|
|
|
63adfc |
similarity index 100%
|
|
|
63adfc |
rename from data/org.gnome.baobab.gschema.xml.in
|
|
|
63adfc |
rename to data/org.gnome.baobab.gschema.xml
|
|
|
63adfc |
diff --git a/po/POTFILES.in b/po/POTFILES.in
|
|
|
63adfc |
index 0c9452a..f3d6521 100644
|
|
|
63adfc |
--- a/po/POTFILES.in
|
|
|
63adfc |
+++ b/po/POTFILES.in
|
|
|
63adfc |
@@ -2,7 +2,7 @@
|
|
|
63adfc |
# Please keep this file sorted alphabetically.
|
|
|
63adfc |
data/org.gnome.baobab.appdata.xml.in
|
|
|
63adfc |
data/org.gnome.baobab.desktop.in
|
|
|
63adfc |
-data/org.gnome.baobab.gschema.xml.in
|
|
|
63adfc |
+data/org.gnome.baobab.gschema.xml
|
|
|
63adfc |
src/baobab-application.vala
|
|
|
63adfc |
src/baobab-cellrenderers.vala
|
|
|
63adfc |
src/baobab-location-list.ui
|
|
|
63adfc |
--
|
|
|
63adfc |
2.21.0
|
|
|
63adfc |
|