Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Remove oc locale support

Chocobozzz8323c435c19a
diff --git a/client/angular.json b/client/angular.json
index 44749d6b1a..a64596a087 100644
--- a/client/angular.json
+++ b/client/angular.json
@@ -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" ]
},
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index e7475f56ce..05c40b5bba 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -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"
diff --git a/shared/models/i18n/i18n.ts b/shared/models/i18n/i18n.ts
index 9a5ea27dc5..46940772fa 100644
--- a/shared/models/i18n/i18n.ts
+++ b/shared/models/i18n/i18n.ts
@@ -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)',