Add check for empty translation source strings (#5044)

* Update sha

* Update check-deps cache

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
Elisabeth Kulzer
2021-01-04 16:05:10 +01:00
committed by GitHub
parent 367534df12
commit 8b8cd1ab4d
4 changed files with 5 additions and 4 deletions

View File

@@ -9,6 +9,7 @@ npm run mmjstool -- i18n extract-mobile --webapp-dir tmp/fake-webapp-dir --mobil
diff tmp/en.json assets/base/i18n/en.json
# Address weblate behavior which does not remove whole translation item when translation string is set to empty
npm run mmjstool -- i18n clean-empty --webapp-dir tmp/fake-webapp-dir --mobile-dir . --check
npm run mmjstool -- i18n check-empty-src --webapp-dir tmp/fake-webapp-dir --mobile-dir .
rm -rf tmp