Add gl support

pull/3489/head
Chocobozzz 2020-12-16 11:45:12 +01:00
parent 54363cffa4
commit c7444546e7
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 8 additions and 0 deletions

View File

@ -93,6 +93,10 @@
"translation": "src/locale/angular.ca-ES.xlf", "translation": "src/locale/angular.ca-ES.xlf",
"baseHref": "/client/ca-ES/" "baseHref": "/client/ca-ES/"
}, },
"gl": {
"translation": "src/locale/angular.gl-ES.xlf",
"baseHref": "/client/gl-ES/"
},
"cs": { "cs": {
"translation": "src/locale/angular.cs-CZ.xlf", "translation": "src/locale/angular.cs-CZ.xlf",
"baseHref": "/client/cs-CZ/" "baseHref": "/client/cs-CZ/"
@ -307,6 +311,7 @@
"languages": [ "languages": [
"ar", "ar",
"ca-ES", "ca-ES",
"gl-ES",
"cs-CZ", "cs-CZ",
"da-DK", "da-DK",
"de-DE", "de-DE",

View File

@ -29,6 +29,7 @@ languages=(
["ja"]="ja-JP" ["ja"]="ja-JP"
["eu"]="eu-ES" ["eu"]="eu-ES"
["ca"]="ca-ES" ["ca"]="ca-ES"
["gl"]="gl-ES"
["cs"]="cs-CZ" ["cs"]="cs-CZ"
["eo"]="eo" ["eo"]="eo"
["de"]="de-DE" ["de"]="de-DE"

View File

@ -15,6 +15,7 @@ export const I18N_LOCALES = {
'fi-FI': 'suomi', 'fi-FI': 'suomi',
'fr-FR': 'Français', 'fr-FR': 'Français',
'gd': 'Gàidhlig', 'gd': 'Gàidhlig',
'gl-ES': 'galego',
'hu-HU': 'magyar', 'hu-HU': 'magyar',
'it-IT': 'Italiano', 'it-IT': 'Italiano',
'ja-JP': '日本語', 'ja-JP': '日本語',
@ -42,6 +43,7 @@ const I18N_LOCALE_ALIAS = {
'es': 'es-ES', 'es': 'es-ES',
'eu': 'eu-ES', 'eu': 'eu-ES',
'fi': 'fi-FI', 'fi': 'fi-FI',
'gl': 'gl-ES',
'fr': 'fr-FR', 'fr': 'fr-FR',
'hu': 'hu-HU', 'hu': 'hu-HU',
'it': 'it-IT', 'it': 'it-IT',