diff --git a/src/Resources/Locales/en_US.xaml b/src/Resources/Locales/en_US.xaml index 3865bc9d..74cdec93 100644 --- a/src/Resources/Locales/en_US.xaml +++ b/src/Resources/Locales/en_US.xaml @@ -464,6 +464,7 @@ Switch to page at given index Toggle search bar if possible Reload current repository if possible + Stage or unstage selected files Git has NOT been configured. Please to go [Preference] and configure it first. Path[{0}] not exists! diff --git a/src/Resources/Locales/zh_CN.xaml b/src/Resources/Locales/zh_CN.xaml index c47f1f3a..f8b1f1ff 100644 --- a/src/Resources/Locales/zh_CN.xaml +++ b/src/Resources/Locales/zh_CN.xaml @@ -463,6 +463,7 @@ 切换到指定位置的标签页 打开/隐藏搜索框(仅在仓库页起效) 重新加载当前仓库信息(仅在仓库页起效) + 暂存或从暂存中移除当前选中 GIT尚未配置。请打开【偏好设置】配置GIT路径。 路径({0})不存在或不可读取! diff --git a/src/Views/Hotkeys.xaml.cs b/src/Views/Hotkeys.xaml.cs index b69cb15b..d4dc3f2a 100644 --- a/src/Views/Hotkeys.xaml.cs +++ b/src/Views/Hotkeys.xaml.cs @@ -24,6 +24,7 @@ namespace SourceGit.Views { new Keymap("CTRL + [1-9]", "SwitchTo"), new Keymap("CTRL + F", "Search"), new Keymap("F5", "Refresh"), + new Keymap("SPACE", "ToggleStage"), }; }