Merge pull request #11121 from overleaf/jpa-cleanup-en-locales

[web] locales: cleanup unused locales and check on it in CI

GitOrigin-RevId: 7625047f1731ec627df43bb9eb00348f110eadaf
This commit is contained in:
Jakob Ackermann
2023-01-13 09:03:50 +00:00
committed by Copybot
parent fb4e5684a3
commit b5b1bfcf45
4 changed files with 124 additions and 279 deletions
+3
View File
@@ -5,6 +5,9 @@ set -e
# Ensure all locale files are sorted.
node scripts/translations/sort.js --check
# Ensure all locales are still in use
node scripts/translations/cleanupUnusedLocales.js --check
# Ensure no locales contain single quotes.
LOCALES_WITH_SINGLE_QUOTE=$(\
grep \