mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
Also add more explicit translation guidance for reviewers
This commit is contained in:
@@ -84,8 +84,10 @@
|
||||
[route-match]
|
||||
(let [name (get-in route-match [:parameters :path :tool])]
|
||||
[:div.flex.flex-col ;; container
|
||||
[:h1.text-2xl.mx-auto.mb-4 (ui/icon "clipboard") " " (-> (t :bug-report/clipboard-inspector-title) (string/capitalize))]
|
||||
(cond ;; TODO any fallback?
|
||||
(cond
|
||||
(= name "clipboard-data-inspector")
|
||||
[:h1.text-2xl.mx-auto.mb-4 (ui/icon "clipboard") " " (-> (t :bug-report/clipboard-inspector-title) (string/capitalize))])
|
||||
(cond
|
||||
(= name "clipboard-data-inspector")
|
||||
(clipboard-data-inspector))]))
|
||||
|
||||
|
||||
@@ -271,8 +271,9 @@
|
||||
(not (mobile-util/native-platform?)))
|
||||
(fn [close-fn]
|
||||
[:div
|
||||
;; TODO: fn translation with args
|
||||
[:p
|
||||
(t :settings-permission/grant-permission)
|
||||
"Grant native filesystem permission for directory: "
|
||||
[:b (config/get-local-dir repo)]]
|
||||
(ui/button
|
||||
(t :settings-permission/start-granting)
|
||||
|
||||
@@ -340,7 +340,6 @@
|
||||
:settings-page/update-available "Found new release "
|
||||
:settings-page/update-error-1 "⚠️ Oops, Something Went Wrong!"
|
||||
:settings-page/update-error-2 " Please check out the "
|
||||
:settings-permission/grant-permission "Grant native filesystem permission for directory: "
|
||||
:settings-permission/start-granting "Grant"
|
||||
|
||||
:yes "Yes"
|
||||
|
||||
@@ -246,7 +246,6 @@
|
||||
:settings-page/custom-global-configuration "自定义全局配置"
|
||||
:settings-page/edit-global-config-edn "编辑全局 config.edn"
|
||||
:settings-page/sync "同步"
|
||||
:settings-permission/grant-permission "授权访问本地目录: "
|
||||
:settings-permission/start-granting "开始授权"
|
||||
:yes "是"
|
||||
:submit "提交"
|
||||
|
||||
Reference in New Issue
Block a user