You've already forked coreutils-l10n
mirror of
https://github.com/uutils/coreutils-l10n.git
synced 2026-06-10 16:14:28 -07:00
weblate-sync: stop rewriting ## group comments to #
## is valid Fluent GroupComment syntax; the rewrite caused a sync loop with upstream-source-sync restoring ## every day.
This commit is contained in:
@@ -60,14 +60,6 @@ jobs:
|
||||
fi
|
||||
done
|
||||
|
||||
# Fix ## group comments to # single comments (Fluent syntax)
|
||||
find src/uu/*/locales src/uucore/locales -name "*.ftl" -type f | while read -r f; do
|
||||
if grep -qP '^## ' "$f"; then
|
||||
sed -i 's/^## /# /' "$f"
|
||||
echo "Fixed ## comments: $f"
|
||||
fi
|
||||
done
|
||||
|
||||
- name: Validate Fluent syntax
|
||||
run: |
|
||||
has_errors=false
|
||||
|
||||
Reference in New Issue
Block a user