diff options
author | Sean E. Russell <ser@ser1.net> | 2020-06-20 08:33:01 -0500 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2020-06-20 08:33:01 -0500 |
commit | 9a56571373eb5a9ea9261afb39bebaf7ddeb700f (patch) | |
tree | 594855544e7fdfc3c1d502d8397b38c7e9a8b4a5 /widgets | |
parent | c0a06128a2c69daf07c399a25d44a1e923ddb7ef (diff) |
Fixes the help text issue. Moved some hard-coded strings to the translation files.
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/help.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/help.go b/widgets/help.go index fff71a7..d98fecd 100644 --- a/widgets/help.go +++ b/widgets/help.go @@ -5,7 +5,7 @@ import ( "strings" ui "github.com/gizak/termui/v3" - "github.com/xxxserxxx/lingo" + lingo "github.com/jdkeke142/lingo-toml" ) var tr lingo.Translations @@ -17,7 +17,7 @@ type HelpMenu struct { func NewHelpMenu(tra lingo.Translations) *HelpMenu { tr = tra - keyBinds = tr.Value("widgets.help") + keyBinds = tr.Value("help.help") return &HelpMenu{ Block: *ui.NewBlock(), } |