mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
Enhance: Add more translations, remove unused ones and add linter for unused (#8568)
* chore: remove unused dictionary keys * wip: add dictionary keys for hardcoded strings * resolve conflicts * Add linter to detect :en ui translation keys match used ones - Fix a couple entries caught by linter - Copy :command.editor/open-link-in-sidebar entries to :help/open-link-in-sidebar as translation keys shouldn't be reused in multiple contexts, especially when it's across ui and shortcut dicts * fix: remove dead keys * chore: reuse dict keys * chore: reintroduce useful keys --------- Co-authored-by: Gabriel Horner <gabriel@logseq.com>
This commit is contained in:
@@ -84,9 +84,9 @@ Keys with duplicate values found:
|
||||
|
||||
## Fix Mistakes
|
||||
|
||||
Sometimes, we typo the translation key. If that happens, the github CI step of
|
||||
`bb lang:invalid-translations` will detect this error and helpfully show you
|
||||
what was typoed.
|
||||
Sometimes, we typo a translation key or forget to use it. If this happens,
|
||||
the github CI step of `bb lang:validate-translations` will detect these errors
|
||||
and tell you what's wrong.
|
||||
|
||||
## Add a Language
|
||||
|
||||
|
||||
Reference in New Issue
Block a user