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



commit 8cf5b0294260a133db131d4accdf6a015a16f2ff
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sun Mar 18 18:34:32 2018 +0100

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

 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..f542121
--- /dev/null
+++ b/help/LINGUAS
@@ -0,0 +1,21 @@
+ca
+cs
+da
+de
+el
+en_GB
+es
+fr
+fur
+gl
+hu
+ko
+oc
+pa
+pl
+pt_BR
+ru
+sv
+uk
+vi
+zh_CN
diff --git a/help/meson.build b/help/meson.build
index 2e29210..786c878 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -12,32 +12,7 @@ media = [
   'figures/gnome-nettool.png',
 ]
 
-linguas = [
-  'ca',
-  'cs',
-  'da',
-  'de',
-  'el',
-  'en_GB',
-  'es',
-  'fr',
-  'fur',
-  'gl',
-  'hu',
-  'ko',
-  'oc',
-  'pa',
-  'pl',
-  'pt_BR',
-  'ru',
-  'sv',
-  'uk',
-  'vi',
-  'zh_CN',
-]
-
 gnome.yelp(meson.project_name(),
            sources: sources,
            media: media,
-           symlink_media: true,
-           languages: linguas)
+           symlink_media: true)


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