diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-05-25 21:11:51 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-05-25 23:52:19 +1000 |
commit | d772c9f1d446f9566d0c46a1cb76dc63ef31cb21 (patch) | |
tree | c5d3208eb325241bb34816ee2a363bdba0adcf37 /pkg/gui/controllers/stash_controller.go | |
parent | e5534d9781d3e19fb2f2b3c86b737bddf914d405 (diff) |
Use sentence case everywhere
We have not been good at consistent casing so far. Now we use 'Sentence case' everywhere. EVERYWHERE.
Also Removing 'Lc' prefix from i18n field names: the 'Lc' stood for lowercase but now that everything
is in 'Sentence case' there's no need for the distinction.
I've got a couple lower case things I've kept: namely, things that show up in parentheses.
Diffstat (limited to 'pkg/gui/controllers/stash_controller.go')
-rw-r--r-- | pkg/gui/controllers/stash_controller.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkg/gui/controllers/stash_controller.go b/pkg/gui/controllers/stash_controller.go index 0dac18f15..1d8a0bbb0 100644 --- a/pkg/gui/controllers/stash_controller.go +++ b/pkg/gui/controllers/stash_controller.go @@ -28,27 +28,27 @@ func (self *StashController) GetKeybindings(opts types.KeybindingsOpts) []*types { Key: opts.GetKey(opts.Config.Universal.Select), Handler: self.checkSelected(self.handleStashApply), - Description: self.c.Tr.LcApply, + Description: self.c.Tr.Apply, }, { Key: opts.GetKey(opts.Config.Stash.PopStash), Handler: self.checkSelected(self.handleStashPop), - Description: self.c.Tr.LcPop, + Description: self.c.Tr.Pop, }, { Key: opts.GetKey(opts.Config.Universal.Remove), Handler: self.checkSelected(self.handleStashDrop), - Description: self.c.Tr.LcDrop, + Description: self.c.Tr.Drop, }, { Key: opts.GetKey(opts.Config.Universal.New), Handler: self.checkSelected(self.handleNewBranchOffStashEntry), - Description: self.c.Tr.LcNewBranch, + Description: self.c.Tr.NewBranch, }, { Key: opts.GetKey(opts.Config.Stash.RenameStash), Handler: self.checkSelected(self.handleRenameStashEntry), - Description: self.c.Tr.LcRenameStash, + Description: self.c.Tr.RenameStash, }, } |