Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/locales/ach-UG/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"logs": "crwdns7920:0crwdne7920:0",
"tools": "crwdns7922:0crwdne7922:0",
"settings": "crwdns7924:0crwdne7924:0",
"hide_sidebar": "crwdns7926:0crwdne7926:0",
"hide_main_sidebar": "Collapse sidebar",
"show_main_sidebar": "Expand sidebar",
"guide": "crwdns7928:0crwdne7928:0",
"helpcenter": "crwdns7930:0crwdne7930:0",
"general": "crwdns7932:0crwdne7932:0",
Expand Down
3 changes: 2 additions & 1 deletion src/locales/de-DE/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"logs": "Protokolle",
"tools": "Werkzeuge",
"settings": "Einstellungen",
"hide_sidebar": "Seitenleiste einklappen",
"hide_main_sidebar": "Seitenleiste einklappen",
"show_main_sidebar": "Seitenleiste ausklappen",
"guide": "Einsteigeranleitung",
"helpcenter": "Hilfezentrum",
"general": "Allgemein",
Expand Down
3 changes: 2 additions & 1 deletion src/locales/en-US/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"logs": "Logs",
"tools": "Tools",
"settings": "Settings",
"hide_sidebar": "Hide Sidebar",
"hide_main_sidebar": "Collapse sidebar",
"show_main_sidebar": "Expand sidebar",
"guide": "Guide",
"helpcenter": "Help Center",
"general": "General",
Expand Down
3 changes: 2 additions & 1 deletion src/locales/ja-JP/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"logs": "ログ",
"tools": "ツール",
"settings": "設定",
"hide_sidebar": "サイドバーを隠す",
"hide_main_sidebar": "サイドバーを折りたたむ",
"show_main_sidebar": "サイドバーを展開",
"guide": "初心者ガイド",
"helpcenter": "ヘルプセンター",
"general": "一般",
Expand Down
3 changes: 2 additions & 1 deletion src/locales/ru-RU/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"logs": "Журналы",
"tools": "Инструменты",
"settings": "Настройки",
"hide_sidebar": "Скрыть боковую панель",
"hide_main_sidebar": "Свернуть боковую панель",
"show_main_sidebar": "Развернуть боковую панель",
"guide": "Руководство новичка",
"helpcenter": "Справочный центр",
"general": "Общие",
Expand Down
3 changes: 2 additions & 1 deletion src/locales/vi-VN/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"logs": "Nhật ký",
"tools": "Công cụ",
"settings": "Cài đặt",
"hide_sidebar": "Ẩn thanh bên",
"hide_main_sidebar": "Thu gọn thanh bên",
"show_main_sidebar": "Mở rộng thanh bên",
"guide": "Hướng dẫn",
"helpcenter": "Trung tâm trợ giúp",
"general": "Chung",
Expand Down
3 changes: 2 additions & 1 deletion src/locales/zh-CN/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"logs": "日志",
"tools": "工具",
"settings": "设置",
"hide_sidebar": "收起侧边栏",
"hide_main_sidebar": "收起侧边栏",
"show_main_sidebar": "展开侧边栏",
"guide": "新手指引",
"helpcenter": "帮助中心",
"general": "通用",
Expand Down
3 changes: 2 additions & 1 deletion src/locales/zh-TW/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"logs": "紀錄",
"tools": "工具",
"settings": "設定",
"hide_sidebar": "摺疊側邊欄",
"hide_main_sidebar": "摺疊側邊欄",
"show_main_sidebar": "展開側邊欄",
"guide": "新手指南",
"helpcenter": "幫助中心",
"general": "通用",
Expand Down
12 changes: 11 additions & 1 deletion src/pages/components/layout/Sider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,17 @@ const Sider: React.FC = () => {
setCollapsed(!collapsed);
}}
>
{collapsed ? <IconRight /> : <IconLeft />} {t("hide_sidebar")}
{collapsed ? (
<>
<IconRight />
{t("show_main_sidebar")}
</>
) : (
<>
<IconLeft />
{t("hide_main_sidebar")}
</>
)}
</MenuItem>
</Menu>
</div>
Expand Down
Loading