[baobab] build: Use LINGUAS file for help



commit aee08d643c880f649923c18a1a4bac1045820fd4
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sun Mar 18 18:01:45 2018 +0100

    build: Use LINGUAS file for help
    
    The old method is deprecated.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=794449

 help/LINGUAS     |   21 +++++++++++++++++++++
 help/meson.build |   27 +--------------------------
 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
 )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]