summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Drąg <piotrdrag@gmail.com>2018-03-18 18:01:45 +0100
committerStefano Facchini <stefano.facchini@gmail.com>2018-03-19 10:33:09 +0100
commitaee08d643c880f649923c18a1a4bac1045820fd4 (patch)
tree7da5d0f60946d80504a7bd45c044a633e1a4b479
parent884fb555173c46fcb4a80a5cc9cbd32bad8186ba (diff)
downloadbaobab-aee08d643c880f649923c18a1a4bac1045820fd4.tar.gz
build: Use LINGUAS file for help
The old method is deprecated. https://bugzilla.gnome.org/show_bug.cgi?id=794449
-rw-r--r--help/LINGUAS21
-rw-r--r--help/meson.build27
2 files changed, 22 insertions, 26 deletions
diff --git a/help/LINGUAS b/help/LINGUAS
new file mode 100644
index 0000000..9f7af5e
--- /dev/null
+++ b/help/LINGUAS
@@ -0,0 +1,21 @@
+ca
+cs
+da
+de
+el
+es
+fi
+fr
+gl
+hr
+hu
+id
+it
+ko
+pl
+pt
+pt_BR
+ru
+sl
+sv
+zh_CN
diff --git a/help/meson.build b/help/meson.build
index 34e7691..549b3d9 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -17,33 +17,8 @@ help_media = [
'media/hicolor_apps_48x48_baobab.png'
]
-help_linguas = [
- 'ca',
- 'cs',
- 'da',
- 'de',
- 'el',
- 'es',
- 'fi',
- 'fr',
- 'gl',
- 'hr',
- 'hu',
- 'id',
- 'it',
- 'ko',
- 'pl',
- 'pt',
- 'pt_BR',
- 'ru',
- 'sl',
- 'sv',
- 'zh_CN'
-]
-
gnome.yelp(
meson.project_name(),
sources: help_files,
- media: help_media,
- languages: help_linguas,
+ media: help_media
)