summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-02-16 11:58:07 +0100
committerIñigo Martínez <inigomartinez@gmail.com>2018-03-01 15:09:00 +0100
commit300349c05688915c091f35ada019f230fc104e7f (patch)
tree8f7a7664c4fef72ef710fd1edf6fa23aca21ee78
parent3c076201bc49f64ee3e7c6a00b962d6e14c29317 (diff)
downloadtotem-300349c05688915c091f35ada019f230fc104e7f.tar.gz
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.
-rw-r--r--help/LINGUAS29
-rw-r--r--help/meson.build35
2 files changed, 30 insertions, 34 deletions
diff --git a/help/LINGUAS b/help/LINGUAS
new file mode 100644
index 000000000..70ab4b058
--- /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 6b5de24a7..690b6fa87 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
)