MOBILE-4362 scripts: Fix lang index keys

Co-authored-by: Pau Ferrer Ocaña <crazyserver@gmail.com>
main
Noel De Martin 2023-07-11 14:56:18 +02:00
parent 834743f096
commit 93783d207a
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ function copy_lang {
lang=$1
index_keys=$(jq -r 'to_entries[] | "\"\(.key)\","' langindex.json)
index_keys=$(echo "$index_keys" | sed 's/,*$//')
index_keys=${index_keys:0:-1}
hyphenlang=${lang/_/-}
langfilepath=$LANG_PATH/$hyphenlang.json