mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
change i18n key
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
[:span.mr-1 (t :help/forum-community)]
|
||||
(ui/icon "message-circle" {:style {:font-size 20}})]
|
||||
list
|
||||
[{:title (t :help.usage/title)
|
||||
[{:title (t :help/usage-title)
|
||||
:children [[[:a
|
||||
{:on-click (fn [] (state/sidebar-add-block! (state/get-current-repo) "shortcut-settings" :shortcut-settings))}
|
||||
[:div.flex-row.inline-flex.items-center
|
||||
@@ -20,21 +20,21 @@
|
||||
[(t :help/start) "https://docs.logseq.com/#/page/tutorial"]
|
||||
["FAQ" "https://docs.logseq.com/#/page/faq"]]}
|
||||
|
||||
{:title (t :help.community/title)
|
||||
{:title (t :help/community-title)
|
||||
:children [[(t :help/awesome-logseq) "https://github.com/logseq/awesome-logseq"]
|
||||
[(t :help/blog) "https://blog.logseq.com"]
|
||||
[discourse-with-icon "https://discuss.logseq.com"]]}
|
||||
|
||||
{:title (t :help.development/title)
|
||||
{:title (t :help/development-title)
|
||||
:children [[(t :help/roadmap) "https://discuss.logseq.com/t/logseq-product-roadmap/34267"]
|
||||
[(t :help/bug) "https://github.com/logseq/logseq/issues/new?labels=from:in-app&template=bug_report.yaml"]
|
||||
[(t :help/feature) "https://discuss.logseq.com/c/feedback/feature-requests/"]
|
||||
[(t :help/changelog) "https://docs.logseq.com/#/page/changelog"]]}
|
||||
|
||||
{:title (t :help.about/title)
|
||||
{:title (t :help/about-title)
|
||||
:children [[(t :help/about) "https://blog.logseq.com/about/"]]}
|
||||
|
||||
{:title (t :help.terms/title)
|
||||
{:title (t :help/terms-title)
|
||||
:children [[(t :help/privacy) "https://blog.logseq.com/privacy-policy/"]
|
||||
[(t :help/terms) "https://blog.logseq.com/terms/"]]}]]
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
|
||||
(rum/defc render-item-not-handled
|
||||
[s]
|
||||
[:p.text-red-500 (t :plugin.settings/not-handled s)])
|
||||
[:p.text-red-500 (t :plugin/setting-not-handled s)])
|
||||
|
||||
(rum/defc settings-container
|
||||
[schema ^js pl]
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
{:key "delete-locally"
|
||||
:class "delete-local-graph-menu-item"
|
||||
:on-click (fn []
|
||||
(let [prompt-str (t :graph.delete-local/confirm-desc graph-name)]
|
||||
(let [prompt-str (t :graph/delete-local-confirm-desc graph-name)]
|
||||
(-> (shui/dialog-confirm!
|
||||
[:p.font-medium.-my-4 prompt-str
|
||||
[:span.my-2.flex.font-normal.opacity-75
|
||||
@@ -149,7 +149,7 @@
|
||||
{:key "delete-remotely"
|
||||
:class "delete-remote-graph-menu-item"
|
||||
:on-click (fn []
|
||||
(let [prompt-str (t :graph.delete-server/confirm-desc graph-name)]
|
||||
(let [prompt-str (t :graph/delete-server-confirm-desc graph-name)]
|
||||
(-> (shui/dialog-confirm!
|
||||
[:p.font-medium.-my-4 prompt-str
|
||||
[:span.my-2.flex.font-normal.opacity-75
|
||||
@@ -170,7 +170,7 @@
|
||||
{:key "leave-shared-graph"
|
||||
:class "leave-shared-graph-menu-item"
|
||||
:on-click (fn []
|
||||
(let [prompt-str (t :graph.leave/confirm-desc)]
|
||||
(let [prompt-str (t :graph/leave-confirm-desc)]
|
||||
(-> (shui/dialog-confirm!
|
||||
[:p.font-medium.-my-4 prompt-str]
|
||||
config)
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
:block-ref
|
||||
(let [lookup (if (integer? db-id) db-id [:block/uuid db-id])]
|
||||
(when-let [block (db/entity repo lookup)]
|
||||
[(t :reference.block/title)
|
||||
[(t :reference/blocks)
|
||||
(block-with-breadcrumb repo block idx [repo db-id block-type] true)]))
|
||||
|
||||
:block
|
||||
|
||||
@@ -207,7 +207,7 @@
|
||||
[:a.hover:underline.flex.items-center
|
||||
{:on-click (fn []
|
||||
(util/copy-to-clipboard! (str href "/mcp"))
|
||||
(notification/show! (t :server.mcp/url-copied) :success))}
|
||||
(notification/show! (t :server/mcp-url-copied) :success))}
|
||||
(str href "/mcp")
|
||||
(shui/tabler-icon "copy" {:size 12 :class "inline-block ml-1 mt-[1px]"})])])]]
|
||||
(for [{:keys [hr? title options icon]} items]
|
||||
|
||||
@@ -879,7 +879,7 @@
|
||||
[:div.absolute.top-0.left-4.bg-blue-700.uppercase.px-2.py-1.rounded-b-lg.font-bold.text-xs (t :account/plan-pro)]
|
||||
[:div
|
||||
[:strong.text-white.text-xl.font-normal "$10"]
|
||||
[:span.text-xs.font-base {:class "ml-0.5"} " / " (t :account.billing/month)]]
|
||||
[:span.text-xs.font-base {:class "ml-0.5"} " / " (t :account/month)]]
|
||||
[:div.text-white.font-bold {:class "h-[2.5rem]"} (t :account/plan-pro-summary)]
|
||||
[:ul.text-xs.list-none.m-0.flex.flex-col.gap-0.5
|
||||
[:li (t :account/unlimited-unsynced-graphs)]
|
||||
@@ -1011,7 +1011,7 @@
|
||||
(p/then (fn []
|
||||
(rtc-handler/<rtc-get-users-info)))
|
||||
(p/catch (fn [e]
|
||||
(notification/show! (t :settings.collaboration/member-remove-failed) :error)
|
||||
(notification/show! (t :collaboration/remove-access-error) :error)
|
||||
(log/error :db-sync/remove-member-failed {:error e
|
||||
:graph-uuid graph-uuid
|
||||
:member-id member-id})))))))}
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
(rum/defc zotero-imported-file
|
||||
[item-key filename]
|
||||
(if (string/blank? (setting :zotero-data-directory))
|
||||
[:p.warning (t :zotero.imported-file/warning)]
|
||||
[:p.warning (t :zotero/imported-file-warning)]
|
||||
(let [filename (read-string filename)
|
||||
full-path (zotero-full-path item-key filename)]
|
||||
(open-button full-path))))
|
||||
@@ -84,7 +84,7 @@
|
||||
(rum/defc zotero-linked-file
|
||||
[path]
|
||||
(if (string/blank? (setting :zotero-linked-attachment-base-directory))
|
||||
[:p.warning (t :zotero.linked-file/warning)]
|
||||
[:p.warning (t :zotero/linked-file-warning)]
|
||||
(let [path (read-string path)
|
||||
full-path
|
||||
(str "file://"
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
:file
|
||||
(t :file/title (:path path-params))
|
||||
:new-page
|
||||
(t :page.create/title)
|
||||
(t :page/create)
|
||||
:page
|
||||
(let [name (:name path-params)
|
||||
page (db/get-page name)
|
||||
@@ -146,7 +146,7 @@
|
||||
:tag
|
||||
(str "#" (:name path-params))
|
||||
:diff
|
||||
(t :graph.diff/title)
|
||||
(t :graph/diff)
|
||||
:settings
|
||||
(t :nav/settings)
|
||||
:import
|
||||
|
||||
Reference in New Issue
Block a user