fix: translations

This commit is contained in:
Konstantinos Kaloutas
2023-06-09 13:54:32 +03:00
parent d13ba8d9e7
commit 135e3228b6
29 changed files with 40 additions and 195 deletions

View File

@@ -270,7 +270,7 @@
(if installing-or-updating?
(t :plugin/updating)
(if new-version
(str (t :plugin/update) " 👉 " new-version)
[:span (t :plugin/update) " 👉 " new-version]
(t :plugin/check-update)))]])
(ui/toggle (not disabled?)
@@ -554,7 +554,7 @@
:options {:on-click #(reset! *sort-by :stars)}
:icon (ui/icon (aim-icon :stars))}
{:title (str (t :plugin/title) " (A - Z)")
{:title (t :plugin/title "A - Z")
:options {:on-click #(reset! *sort-by :letters)}
:icon (ui/icon (aim-icon :letters))}])
{}))
@@ -586,7 +586,7 @@
:options {:on-click
#(p/let [root (plugin-handler/get-ls-dotdir-root)]
(js/apis.openPath (str root "/preferences.json")))}}
{:title [:span.flex.items-center (ui/icon "bug") (str (t :plugin/open-logseq-dir) "\u00A0") [:code "~/.logseq"]]
{:title [:span.flex.items-center.whitespace-nowrap.space-x-1 (ui/icon "bug") (t :plugin/open-logseq-dir) [:code "~/.logseq"]]
:options {:on-click
#(p/let [root (plugin-handler/get-ls-dotdir-root)]
(js/apis.openPath root))}}]))
@@ -1192,7 +1192,7 @@
(if check-pending?
(notify!
[:div
[:div (str (t :plugin/checking-for-updates))]
[:div (t :plugin/checking-for-updates)]
(when sub-content [:p.opacity-60 sub-content])]
(ui/loading ""))
(when uid (notification/clear! uid))))