update logseq-i18n-lint (#12527)

* chore: update logseq-i18n-lint binaries to 5cb43a2cc559

* chore: update PR creation to use default branch and repo owner variables

* feat(i18n): add check for missing translations in validation process

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
megayu
2026-04-21 11:11:37 +08:00
committed by GitHub
parent e44092832e
commit 6df9d43c26
10 changed files with 12 additions and 2 deletions

View File

@@ -280,6 +280,11 @@
(when (pos? (:exit result))
(System/exit (:exit result)))))
(defn- check-missing-translations
"Use logseq-i18n-lint to fail fast on missing translations before other checks."
[]
(run-i18n-lint-command! "check-missing" []))
(defn- check-translation-keys
"Use logseq-i18n-lint to detect unused translation keys."
[args]
@@ -315,6 +320,7 @@
(defn validate-translations
"Runs multiple translation validations that fail fast if one of them is invalid"
[& args]
(check-missing-translations)
(validate-non-default-languages (contains? (set args) "--fix"))
(check-translation-keys args)
(validate-rich-translations)