mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +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:
@@ -11,7 +11,8 @@
|
||||
[frontend.state :as state]
|
||||
[frontend.util :as util]
|
||||
[logseq.graph-parser.text :as text]
|
||||
[reitit.frontend.easy :as rfe]))
|
||||
[reitit.frontend.easy :as rfe]
|
||||
[frontend.context.i18n :refer [t]]))
|
||||
|
||||
(defn redirect!
|
||||
"If `push` is truthy, previous page will be left in history."
|
||||
@@ -102,13 +103,13 @@
|
||||
:repo-add
|
||||
"Add another repo"
|
||||
:graph
|
||||
"Graph"
|
||||
(t :graph)
|
||||
:all-files
|
||||
"All files"
|
||||
(t :all-files)
|
||||
:all-pages
|
||||
"All pages"
|
||||
(t :all-pages)
|
||||
:all-journals
|
||||
"All journals"
|
||||
(t :all-journals)
|
||||
:file
|
||||
(str "File " (:path path-params))
|
||||
:new-page
|
||||
|
||||
Reference in New Issue
Block a user