Remove oc locale support

It does not work since many releases, and nobody created an issue so we
don't consider it much use

It does not work because Angular does not know this locale: https://github.com/angular/angular/tree/master/packages/common/locales
pull/2615/head
Chocobozzz 2020-04-06 14:29:11 +02:00
parent b9177868b3
commit 8323c435c1
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 0 additions and 11 deletions

View File

@ -41,10 +41,6 @@
"translation": "src/locale/angular.es-ES.xlf",
"baseHref": "/client/es-ES/"
},
"oc": {
"translation": "src/locale/angular.oc.xlf",
"baseHref": "/client/oc/"
},
"pt": {
"translation": "src/locale/angular.pt-BR.xlf",
"baseHref": "/client/pt-BR/"
@ -212,9 +208,6 @@
"es-ES": {
"localize": [ "es" ]
},
"oc": {
"localize": [ "oc" ]
},
"pt-BR": {
"localize": [ "pt" ]
},

View File

@ -53,8 +53,6 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then
languages=(["el"]="el-GR")
elif [ ! -z ${1+x} ] && [ "$1" == "--light-es" ]; then
languages=(["es"]="es-ES")
elif [ ! -z ${1+x} ] && [ "$1" == "--light-oc" ]; then
languages=(["oc"]="oc")
elif [ ! -z ${1+x} ] && [ "$1" == "--light-pt" ]; then
languages=(["pt"]="pt-BR")
elif [ ! -z ${1+x} ] && [ "$1" == "--light-pt-PT" ]; then
@ -95,7 +93,6 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then
["gd"]="gd"
["el"]="el-GR"
["es"]="es-ES"
["oc"]="oc"
["pt"]="pt-BR"
["pt-PT"]="pt-PT"
["sv"]="sv-SE"

View File

@ -18,7 +18,6 @@ export const I18N_LOCALES = {
'it-IT': 'Italiano',
'ja-JP': '日本語',
'nl-NL': 'Nederlands',
'oc': 'Occitan',
'pl-PL': 'Polski',
'pt-BR': 'Português (Brasil)',
'pt-PT': 'Português (Portugal)',