diff options
author | Chocobozzz <me@florianbigard.com> | 2020-04-06 14:29:11 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-04-06 14:37:26 +0200 |
commit | 8323c435c19ac6ed1656ee8436b175bce7bd2c82 (patch) | |
tree | a7f0bfc9f51c42745a51998c5b09f54a458e6625 /scripts | |
parent | b9177868b3dc2badd27e0d1b6dfeb2930e878e20 (diff) | |
download | PeerTube-8323c435c19ac6ed1656ee8436b175bce7bd2c82.tar.gz PeerTube-8323c435c19ac6ed1656ee8436b175bce7bd2c82.tar.zst PeerTube-8323c435c19ac6ed1656ee8436b175bce7bd2c82.zip |
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
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/client.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh index e7475f56c..05c40b5bb 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh | |||
@@ -53,8 +53,6 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then | |||
53 | languages=(["el"]="el-GR") | 53 | languages=(["el"]="el-GR") |
54 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-es" ]; then | 54 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-es" ]; then |
55 | languages=(["es"]="es-ES") | 55 | languages=(["es"]="es-ES") |
56 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-oc" ]; then | ||
57 | languages=(["oc"]="oc") | ||
58 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-pt" ]; then | 56 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-pt" ]; then |
59 | languages=(["pt"]="pt-BR") | 57 | languages=(["pt"]="pt-BR") |
60 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-pt-PT" ]; then | 58 | elif [ ! -z ${1+x} ] && [ "$1" == "--light-pt-PT" ]; then |
@@ -95,7 +93,6 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then | |||
95 | ["gd"]="gd" | 93 | ["gd"]="gd" |
96 | ["el"]="el-GR" | 94 | ["el"]="el-GR" |
97 | ["es"]="es-ES" | 95 | ["es"]="es-ES" |
98 | ["oc"]="oc" | ||
99 | ["pt"]="pt-BR" | 96 | ["pt"]="pt-BR" |
100 | ["pt-PT"]="pt-PT" | 97 | ["pt-PT"]="pt-PT" |
101 | ["sv"]="sv-SE" | 98 | ["sv"]="sv-SE" |