From 51e05dcddc3df39b7dc8c0e2f0a1e3c9d8cc2fa2 Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 26 Jun 2024 09:31:58 +0800 Subject: [PATCH] =?UTF-8?q?enhance:=20add=20hotkey=20`Ctrl+Shift+H`=20(Win?= =?UTF-8?q?dows/Linux)=20and=20`=E2=8C=98+=E2=87=A7+H`=20(macOS)=20to=20sw?= =?UTF-8?q?itch=20left=20side=20bar=20back=20to=20dashboard=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Resources/Locales/en_US.axaml | 3 ++- src/Resources/Locales/zh_CN.axaml | 3 ++- src/Resources/Locales/zh_TW.axaml | 3 ++- src/Views/Hotkeys.axaml | 37 +++++++++++++++++-------------- src/Views/Launcher.axaml.cs | 6 +++++ 5 files changed, 32 insertions(+), 20 deletions(-) diff --git a/src/Resources/Locales/en_US.axaml b/src/Resources/Locales/en_US.axaml index c6999700..1f22e3be 100644 --- a/src/Resources/Locales/en_US.axaml +++ b/src/Resources/Locales/en_US.axaml @@ -273,9 +273,10 @@ REPOSITORY Commit staged changes Commit and push staged changes + Dashboard mode (Default) Force to reload this repository Stage/Unstage selected changes - Open commit search + Commit search mode Switch to 'Changes' Switch to 'Histories' Switch to 'Stashes' diff --git a/src/Resources/Locales/zh_CN.axaml b/src/Resources/Locales/zh_CN.axaml index 08855620..c425e971 100644 --- a/src/Resources/Locales/zh_CN.axaml +++ b/src/Resources/Locales/zh_CN.axaml @@ -276,9 +276,10 @@ 仓库页面快捷键 提交暂存区更改 提交暂存区更改并推送 + 切换左边栏为分支/标签等显示模式(默认) 重新加载仓库状态 将选中的变更暂存或从暂存列表中移除 - 打开历史搜索 + 切换左边栏为提交搜索模式 显示本地更改 显示历史记录 显示贮藏列表 diff --git a/src/Resources/Locales/zh_TW.axaml b/src/Resources/Locales/zh_TW.axaml index 13717025..9c6dadad 100644 --- a/src/Resources/Locales/zh_TW.axaml +++ b/src/Resources/Locales/zh_TW.axaml @@ -276,9 +276,10 @@ 倉庫頁面快捷鍵 提交暫存區變更 提交暫存區變更併推送 + 切換左邊欄為分支/標籤等顯示模式(預設) 重新載入倉庫狀態 將選中的變更暫存或從暫存列表中移除 - 開啟歷史搜尋 + 切換左邊欄為歷史搜尋模式 顯示本地更改 顯示歷史記錄 顯示儲藏列表 diff --git a/src/Views/Hotkeys.axaml b/src/Views/Hotkeys.axaml index a4748880..cd89cd50 100644 --- a/src/Views/Hotkeys.axaml +++ b/src/Views/Hotkeys.axaml @@ -84,30 +84,33 @@ FontSize="{Binding Source={x:Static vm:Preference.Instance}, Path=DefaultFontSize, Converter={x:Static c:DoubleConverters.Increase}}" Margin="0,8"/> - - - + + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +