diff --git a/src/main/frontend/components/repo.cljs b/src/main/frontend/components/repo.cljs index 886ce61ddb..153b1da9f9 100644 --- a/src/main/frontend/components/repo.cljs +++ b/src/main/frontend/components/repo.cljs @@ -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 "") diff --git a/src/resources/dicts/en.edn b/src/resources/dicts/en.edn index fefdc15cc1..2bae90d238 100644 --- a/src/resources/dicts/en.edn +++ b/src/resources/dicts/en.edn @@ -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" diff --git a/src/resources/dicts/zh-cn.edn b/src/resources/dicts/zh-cn.edn index 9300162247..ec23af7deb 100644 --- a/src/resources/dicts/zh-cn.edn +++ b/src/resources/dicts/zh-cn.edn @@ -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 "收藏页面"