Warning, /education/gcompris/src/core/LanguageList.qml is written in an unsupported language. File is not indexed.

0001 /* GCompris - LanguageList.qml
0002  *
0003  * SPDX-FileCopyrightText: 2014 Johnny Jazeix <jazeix@gmail.com>
0004  *
0005  * Authors:
0006  *   Johnny Jazeix <jazeix@gmail.com>
0007  *
0008  *   SPDX-License-Identifier: GPL-3.0-or-later
0009  */
0010 
0011 import QtQuick 2.12
0012 
0013 /**
0014  * Container object with a list of all available translations.
0015  * @ingroup infrastructure
0016  *
0017  * Put here the locales for which we have a good enough translation.
0018  */
0019 QtObject {
0020     property bool inMenu: false
0021 
0022     /**
0023      * type:list
0024      * List of language objects.
0025      *
0026      * A language object consists of the properties @c text (language string in
0027      * the locales' language) and @c locale (locale string of the form
0028      * aa_AA.UTF-8).
0029      *
0030      * The special purpose locale 'system' is used to refer to the system's
0031      * standard locale.
0032      */
0033     property var languages: [
0034             { "text": inMenu ? qsTr("Your system default") : qsTr("GCompris' language"), "locale": "system" },
0035             { "text": "UK English", "locale": "en_GB.UTF-8" },
0036             { "text": "American English", "locale": "en_US.UTF-8" },
0037             { "text": "العربية", "locale": "ar_AR.UTF-8" },
0038             { "text": "Azərbaycanca", "locale": "az_AZ.UTF-8" },
0039             { "text": "български", "locale": "bg_BG.UTF-8" },
0040             { "text": "Brezhoneg", "locale": "br_FR.UTF-8" },
0041             { "text": "Беларуская", "locale": "be_BY.UTF-8" },
0042             { "text": "Català", "locale": "ca_ES.UTF-8" },
0043             { "text": "Valencian", "locale": "ca@valencia_ES.UTF-8" },
0044             { "text": "Česká", "locale": "cs_CZ.UTF-8" },
0045             //{ "text": "Dansk", "locale": "da_DK.UTF-8" },
0046             { "text": "Deutsch", "locale": "de_DE.UTF-8" },
0047             { "text": "Ελληνικά", "locale": "el_GR.UTF-8" },
0048             { "text": "Esperanto", "locale": "eo_EO.UTF-8" },
0049             { "text": "Español", "locale": "es_ES.UTF-8" },
0050             { "text": "Eesti", "locale": "et_EE.UTF-8" },
0051             { "text": "Euskara", "locale": "eu_ES.UTF-8" },
0052             { "text": "Suomi", "locale": "fi_FI.UTF-8" },
0053             { "text": "Français", "locale": "fr_FR.UTF-8" },
0054             //{ "text": "Gaeilge", "locale": "ga_IE.UTF-8" },
0055             //{ "text": "Gàidhlig", "locale": "gd_GB.UTF-8" },
0056             { "text": "Galego", "locale": "gl_ES.UTF-8" },
0057             { "text": "עברית", "locale": "he_IL.UTF-8" },
0058             //{ "text": "हिन्दी", "locale": "hi_IN.UTF-8" },
0059             { "text": "Hrvatski", "locale": "hr_HR.UTF-8" },
0060             { "text": "Magyar", "locale": "hu_HU.UTF-8" },
0061             { "text": "Indonesia", "locale": "id_ID.UTF-8" },
0062             { "text": "Italiano", "locale": "it_IT.UTF-8" },
0063             { "text": "Lietuvių", "locale": "lt_LT.UTF-8" },
0064             //{ "text": "Latviešu", "locale": "lv_LV.UTF-8" },
0065             { "text": "Македонски", "locale": "mk_MK.UTF-8" },
0066             { "text": "മലയാളം", "locale": "ml_IN.UTF-8" },
0067             { "text": "Nederlands", "locale": "nl_NL.UTF-8" },
0068             { "text": "Norsk (nynorsk)", "locale": "nn_NO.UTF-8" },
0069             { "text": "Polski", "locale": "pl_PL.UTF-8" },
0070             { "text": "Português", "locale": "pt_PT.UTF-8" },
0071             { "text": "Português do Brasil", "locale": "pt_BR.UTF-8" },
0072             { "text": "Română", "locale": "ro_RO.UTF-8" },
0073             { "text": "Русский", "locale": "ru_RU.UTF-8" },
0074             { "text": "Slovenský", "locale": "sk_SK.UTF-8" },
0075             { "text": "Slovenski", "locale": "sl_SI.UTF-8" },
0076             { "text": "Shqip", "locale": "sq_AL.UTF-8" },
0077             //{ "text": "црногорски jeзик", "locale": "sr_ME.UTF-8" },
0078             { "text": "Svenska", "locale": "sv_FI.UTF-8" },
0079             { "text": "Swahili", "locale": "sw_TZ.UTF-8" },
0080             //{ "text": "தமிழ்", "locale": "ta_IN.UTF-8" },
0081             //{ "text": "ไทย", "locale": "th_TH.UTF-8" },
0082             { "text": "Türkçe", "locale": "tr_TR.UTF-8" },
0083             { "text": "Українська", "locale": "uk_UA.UTF-8" },
0084             //{ "text": "中文(简体)", "locale": "zh_CN.UTF-8" },
0085             { "text": "繁體中文", "locale": "zh_TW.UTF-8" }
0086         ]
0087 }