fix: pipeline
Some checks failed
Pull Request Pipeline / localizations (pull_request) Has been cancelled
Pull Request Pipeline / lint (pull_request) Has been cancelled
Pull Request Pipeline / test (pull_request) Has been cancelled

This commit is contained in:
2026-05-22 15:24:58 +02:00
parent 6489e46003
commit 2439a7592e

View File

@@ -82,3 +82,19 @@ jobs:
- name: Check for untranslated messages
run: |
flutter pub run intl_utils:generate --output-dir=lib/l10n --no-use-deferred-loading
UNTRANSLATED_FILE=lib/l10n/untranslated_messages.json
if [ ! -f "$UNTRANSLATED_FILE" ]; then
echo "Expected $UNTRANSLATED_FILE to be generated, but it does not exist."
exit 1
fi
CONTENT=$(tr -d '[:space:]' < "$UNTRANSLATED_FILE")
if [ "$CONTENT" != "{}" ]; then
echo "Found untranslated messages:"
cat "$UNTRANSLATED_FILE"
exit 1
fi
echo "All messages translated."