Update crowdin.yml

This commit is contained in:
Xikaro
2026-02-25 02:09:13 +05:00
parent 742ea73638
commit 6b883d5b3b

View File

@@ -76,8 +76,7 @@ jobs:
- name: Extract language codes
id: extract-languages
run: |
# Извлекаем языковые коды из crowdin.yml
LANGUAGES=$(yq eval '.files[0].languages_mapping.locale_with_underscore | keys | map(select(. != "en-US" and . != "en-GB" and . != "en"))' crowdin.yml | jq -r '. | map(select(. != null)) | join(" ")')
LANGUAGES=$(yq eval '.files[0].languages_mapping.locale_with_underscore | keys | map(select(. != "en-US" and . != "en-GB" and . != "en")) | .[]' crowdin.yml -o json | jq -r '. | map(select(. != null)) | join(" ")')
echo "languages=[$(echo "$LANGUAGES" | sed 's/[^ ]\+/"&"/g' | sed 's/ /, /g')]" >> $GITHUB_OUTPUT
echo "Found languages: $LANGUAGES"