[recipes/piotrdrag/i18n-fixes: 2/2] build: Read language lists from LINGUAS
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes/piotrdrag/i18n-fixes: 2/2] build: Read language lists from LINGUAS
- Date: Sun, 17 Feb 2019 13:17:20 +0000 (UTC)
commit dcd8c7b6a6cf9846172ebae1b8c18a0b99b1bc23
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sun Feb 17 14:10:58 2019 +0100
build: Read language lists from LINGUAS
Bump Meson to 0.37.0, which added this feature.
help/LINGUAS | 8 ++++++++
help/meson.build | 3 +--
meson.build | 2 +-
po-data/meson.build | 4 +---
po/meson.build | 4 +---
5 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/help/LINGUAS b/help/LINGUAS
new file mode 100644
index 0000000..58a2cb5
--- /dev/null
+++ b/help/LINGUAS
@@ -0,0 +1,8 @@
+# Please keep this list sorted alphabetically.
+cs
+de
+es
+fr
+ko
+pl
+sv
diff --git a/help/meson.build b/help/meson.build
index cbea29c..e5e2356 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -22,5 +22,4 @@ gnome.yelp('org.gnome.Recipes',
'images/rotate-right.png',
'images/search.png',
'images/star.png',
- 'images/trash.png'],
- languages: ['cs', 'de', 'es', 'fr', 'ko', 'pl', 'sv'])
+ 'images/trash.png'])
diff --git a/meson.build b/meson.build
index 96bba4b..74723e8 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
project('gnome-recipes', 'c',
version: '2.0.3',
- meson_version : '>=0.36.0')
+ meson_version : '>=0.37.0')
i18n = import('i18n')
gnome = import('gnome')
diff --git a/po-data/meson.build b/po-data/meson.build
index 1837f54..836676b 100644
--- a/po-data/meson.build
+++ b/po-data/meson.build
@@ -1,3 +1 @@
-langs = ['ar', 'cs', 'de', 'es', 'fur', 'hu', 'nl', 'pt_BR', 'sl', 'sr']
-
-i18n.gettext('gnome-recipes-data', languages: langs, preset: 'glib')
+i18n.gettext('gnome-recipes-data', preset: 'glib')
diff --git a/po/meson.build b/po/meson.build
index f1fb60b..548bcc4 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -1,3 +1 @@
-langs = ['ar', 'ca', 'cs', 'de', 'en_GB', 'es', 'fi', 'fur', 'hu', 'id', 'ko', 'nb', 'nl', 'pl', 'pt_BR',
'sk', 'sl', 'sr', 'sv']
-
-i18n.gettext('gnome-recipes', languages: langs, preset: 'glib')
+i18n.gettext('gnome-recipes', preset: 'glib')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]