diff --git a/.gitlab/scripts/lang_sort.sh b/.gitlab/scripts/lang_sort.sh index 7a80f7e1..4586c8e7 100644 --- a/.gitlab/scripts/lang_sort.sh +++ b/.gitlab/scripts/lang_sort.sh @@ -49,8 +49,8 @@ get_keys "${DIR}/en_EN.json" | sort > "${ref_keys}" # Iterate over each .json file in the directory for file in "${DIR}"/*.json; do - # Check if file is a regular file and not en_EN.json - if [[ -f "${file}" && "${file}" != "${DIR}/en_EN.json" ]]; then + # Check if file is a regular file and not en_EN.json, and does not contain "_incomplete" in its name + if [[ -f "${file}" && "${file}" != "${DIR}/en_EN.json" && ! "${file}" =~ _incomplete ]]; then # Get keys and subkeys from the current file current_keys=$(mktemp) diff --git a/app/translations/fi_FI.json b/app/translations/fi_FI_incomplete.json similarity index 100% rename from app/translations/fi_FI.json rename to app/translations/fi_FI_incomplete.json diff --git a/app/translations/he_IL.json b/app/translations/he_IL_incomplete.json similarity index 100% rename from app/translations/he_IL.json rename to app/translations/he_IL_incomplete.json