summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorhitsuji_no_shippo <hitsujinoshippoequalsheeptail@gmail.com>2020-03-12 14:29:15 +0900
committerJesse Duffield <jessedduffield@gmail.com>2020-03-18 22:50:35 +1100
commit13a7806cac062d9a438feb2904cce2b02314cdd9 (patch)
treed96d8af663503a394cb584e987ede004b187eb05 /pkg
parent41c76fb748d22d86c23d9b3446b5cf59b2e8e1b6 (diff)
add opne menu keybindings in docs
Diffstat (limited to 'pkg')
-rw-r--r--pkg/gui/keybindings.go9
-rw-r--r--pkg/i18n/english.go3
2 files changed, 8 insertions, 4 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index 8a6e9c091..825c1c21c 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -295,10 +295,11 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Description: gui.Tr.SLocalize("refresh"),
},
{
- ViewName: "",
- Key: gui.getKey("universal.optionMenu"),
- Modifier: gocui.ModNone,
- Handler: gui.handleCreateOptionsMenu,
+ ViewName: "",
+ Key: gui.getKey("universal.optionMenu"),
+ Modifier: gocui.ModNone,
+ Handler: gui.handleCreateOptionsMenu,
+ Description: gui.Tr.SLocalize("openMenu"),
},
{
ViewName: "",
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go
index cde2bcc5c..c17cd753d 100644
--- a/pkg/i18n/english.go
+++ b/pkg/i18n/english.go
@@ -1027,6 +1027,9 @@ func addEnglish(i18nObject *i18n.Bundle) error {
ID: "RenameBranchWarning",
Other: "This branch is tracking a remote. This action will only rename the local branch name, not the name of the remote branch. Continue?",
}, &i18n.Message{
+ ID: "openMenu",
+ Other: "open menu",
+ }, &i18n.Message{
ID: "closeMenu",
Other: "close menu",
},