[totem] build: Use LINGUAS file on help generation
- From: Iñigo Martínez <inigomartinez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] build: Use LINGUAS file on help generation
- Date: Thu, 1 Mar 2018 14:24:34 +0000 (UTC)
commit 300349c05688915c091f35ada019f230fc104e7f
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Fri Feb 16 11:58:07 2018 +0100
build: Use LINGUAS file on help generation
The `linguas` parameter is deprecated when generating help with yelp.
The languages to be used along with `linguas` parameter have been
moved to the `LINGUAS` file.
help/LINGUAS | 29 +++++++++++++++++++++++++++++
help/meson.build | 35 +----------------------------------
2 files changed, 30 insertions(+), 34 deletions(-)
---
diff --git a/help/LINGUAS b/help/LINGUAS
new file mode 100644
index 0000000..70ab4b0
--- /dev/null
+++ b/help/LINGUAS
@@ -0,0 +1,29 @@
+bg
+ca
+cs
+da
+de
+el
+en_GB
+es
+eu
+fi
+fr
+gl
+id
+it
+ja
+nb
+oc
+pa
+pl
+pt_BR
+ro
+ru
+sl
+sv
+te
+uk
+zh_CN
+zh_HK
+zh_TW
diff --git a/help/meson.build b/help/meson.build
index 6b5de24..690b6fa 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -14,42 +14,9 @@ media = [
'figures/totem_volume_mute_button.png'
]
-linguas = [
- 'bg',
- 'ca',
- 'cs',
- 'da',
- 'de',
- 'el',
- 'en_GB',
- 'es',
- 'eu',
- 'fi',
- 'fr',
- 'gl',
- 'id',
- 'it',
- 'ja',
- 'nb',
- 'oc',
- 'pa',
- 'pl',
- 'pt_BR',
- 'ro',
- 'ru',
- 'sl',
- 'sv',
- 'te',
- 'uk',
- 'zh_CN',
- 'zh_HK',
- 'zh_TW'
-]
-
gnome.yelp(
meson.project_name(),
sources: sources,
media: media,
- symlink_media: true,
- languages: linguas
+ symlink_media: true
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]