[gnome-boxes/wip/inigomartinez/meson: 2/5] meson: Use LINGUAS file for help generation



commit 138d3cdc4939f262634935c26c7346c8f7c95cc6
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Sat Dec 9 18:38:29 2017 +0100

    meson: Use LINGUAS file for help generation
    
    The linguas parameter is deprecated in gnome's yelp function for
    the future meson's versions.
    
    The patch uses the LINGUAS file instead of the linguas
    parameter. The polish translations has also been added as it was
    present in autotools but not in meson.

 help/LINGUAS     |   12 ++++++++++++
 help/meson.build |   14 --------------
 2 files changed, 12 insertions(+), 14 deletions(-)
---
diff --git a/help/LINGUAS b/help/LINGUAS
new file mode 100644
index 0000000..9cfc554
--- /dev/null
+++ b/help/LINGUAS
@@ -0,0 +1,12 @@
+# Keep this list sorted alphabetically
+cs
+de
+el
+es
+fr
+hu
+it
+ko
+pl
+pt_BR
+sv
diff --git a/help/meson.build b/help/meson.build
index 09aa9f2..56eff8c 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -32,22 +32,8 @@ help_media = [
   'figures/open-menu-symbolic.svg'
 ]
 
-help_linguas = [
-  'cs',
-  'de',
-  'el',
-  'es',
-  'fr',
-  'hu',
-  'it',
-  'ko',
-  'pt_BR',
-  'sv'
-]
-
 gnome.yelp (meson.project_name (),
             sources: help_files,
             media: help_media,
-            languages: help_linguas,
             symlink_media: true,
 )


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