summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-01-18 20:36:49 +0100
committerBastien Nocera <hadess@hadess.net>2018-01-23 10:49:16 +0100
commit811ba929d4986787277f685a13a43e47c9996236 (patch)
tree31f276218c3012a72431089a8353de6a83dd5c11
parentd9f0b737ac8783458ff40c5d99dad7788212945b (diff)
downloadgnome-control-center-811ba929d4986787277f685a13a43e47c9996236.tar.gz
build: Move timezone languages to LINGUAS file
The timezone panel uses translations for the existing timezone names. This was using a set of predefined languages inside the meson's build file. This set of languages has been moved to the LINGUAS file. https://bugzilla.gnome.org/show_bug.cgi?id=787588
-rw-r--r--panels/datetime/po-timezones/LINGUAS69
-rw-r--r--panels/datetime/po-timezones/meson.build74
2 files changed, 70 insertions, 73 deletions
diff --git a/panels/datetime/po-timezones/LINGUAS b/panels/datetime/po-timezones/LINGUAS
new file mode 100644
index 000000000..7e5e226a3
--- /dev/null
+++ b/panels/datetime/po-timezones/LINGUAS
@@ -0,0 +1,69 @@
+am
+ar
+as
+ast
+bg
+bn
+bn_IN
+bs
+ca
+cs
+cy
+da
+de
+el
+en_GB
+es
+et
+fa
+fi
+fr
+gl
+gu
+he
+hi
+hr
+hu
+id
+ilo
+is
+it
+ja
+ka
+kn
+ko
+ku
+lo
+lt
+lv
+mai
+mk
+ml
+mr
+ms
+nb
+nds
+nl
+nn
+or
+pa
+pl
+pt
+pt_BR
+ro
+ru
+si
+sk
+sl
+sq
+sr
+sr@latin
+sv
+ta
+te
+tr
+uk
+ur
+vi
+zh_CN
+zh_TW
diff --git a/panels/datetime/po-timezones/meson.build b/panels/datetime/po-timezones/meson.build
index 3458c8be0..b55fce7d7 100644
--- a/panels/datetime/po-timezones/meson.build
+++ b/panels/datetime/po-timezones/meson.build
@@ -1,73 +1 @@
-linguas = [
- 'am',
- 'ar',
- 'as',
- 'ast',
- 'bg',
- 'bn',
- 'bn_IN',
- 'bs',
- 'ca',
- 'cs',
- 'cy',
- 'da',
- 'de',
- 'el',
- 'en_GB',
- 'es',
- 'et',
- 'fa',
- 'fi',
- 'fr',
- 'gl',
- 'gu',
- 'he',
- 'hi',
- 'hr',
- 'hu',
- 'id',
- 'ilo',
- 'is',
- 'it',
- 'ja',
- 'ka',
- 'kn',
- 'ko',
- 'ku',
- 'lo',
- 'lt',
- 'lv',
- 'mai',
- 'mk',
- 'ml',
- 'mr',
- 'ms',
- 'nb',
- 'nds',
- 'nl',
- 'nn',
- 'or',
- 'pa',
- 'pl',
- 'pt',
- 'pt_BR',
- 'ro',
- 'ru',
- 'si',
- 'sk',
- 'sl',
- 'sq',
- 'sr',
- 'sr@latin',
- 'sv',
- 'ta',
- 'te',
- 'tr',
- 'uk',
- 'ur',
- 'vi',
- 'zh_CN',
- 'zh_TW'
-]
-
-i18n.gettext(control_center_gettext + '-timezones', languages: linguas, preset: 'glib')
+i18n.gettext(control_center_gettext + '-timezones', preset: 'glib')