fix: Switch to: does not use i18n translation

This commit is contained in:
greatbody
2023-06-21 17:40:05 +08:00
committed by Gabriel Horner
parent 11cb2d151f
commit c91e116889
3 changed files with 3 additions and 1 deletions

View File

@@ -232,7 +232,7 @@
"origin-top-right.absolute.left-0.mt-2.rounded-md.shadow-lg")}
(> (count repos) 1) ; show switch to if there are multiple repos
(assoc :links-header [:div.font-medium.text-sm.opacity-70.px-4.pt-2.pb-1.flex.flex-row.justify-between.items-center
[:div "Switch to:"]
[:div (t :left-side-bar/switch)]
(when (and (file-sync/enable-sync?) login?)
(if remotes-loading?
(ui/loading "")

View File

@@ -139,6 +139,7 @@
:right-side-bar/show-journals "Show Journals"
:right-side-bar/separator "Right sidebar resize handler"
:right-side-bar/toggle-right-sidebar "Toggle right sidebar"
:left-side-bar/switch "Switch to:"
:left-side-bar/journals "Journals"
:left-side-bar/create "Create"
:left-side-bar/new-page "New page"

View File

@@ -75,6 +75,7 @@
:right-side-bar/new-page "新页面"
:right-side-bar/separator "调整右侧边栏大小"
:right-side-bar/whiteboards "白板"
:left-side-bar/switch "切换为:"
:left-side-bar/journals "日志"
:left-side-bar/new-page "新页面"
:left-side-bar/nav-favorites "收藏页面"