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