[gnome-clocks] build: Use LINGUAS file for help



commit 47fb32fd51ea019e398717bce2f27698bdb14771
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sun Mar 18 18:17:26 2018 +0100

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

 help/LINGUAS     |   17 +++++++++++++++++
 help/meson.build |   23 +----------------------
 2 files changed, 18 insertions(+), 22 deletions(-)
---
diff --git a/help/LINGUAS b/help/LINGUAS
new file mode 100644
index 0000000..7f716aa
--- /dev/null
+++ b/help/LINGUAS
@@ -0,0 +1,17 @@
+ca
+cs
+da
+de
+el
+es
+fi
+fr
+gl
+hu
+id
+ko
+nl
+pl
+pt_BR
+ru
+sv
diff --git a/help/meson.build b/help/meson.build
index 654b994..8d00767 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -16,29 +16,8 @@ help_media = [
   'figures/gnome-clocks.png'
 ]
 
-help_linguas = [
-  'ca',
-  'cs',
-  'da',
-  'de',
-  'el',
-  'es',
-  'fi',
-  'fr',
-  'gl',
-  'hu',
-  'id',
-  'ko',
-  'nl',
-  'pl',
-  'pt_BR',
-  'ru',
-  'sv'
-]
-
 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]