mirror of https://github.com/Chocobozzz/PeerTube
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/localespull/2615/head
parent
b9177868b3
commit
8323c435c1
|
@ -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" ]
|
||||
},
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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)',
|
||||
|
|
Loading…
Reference in New Issue