mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-12 11:15:00 +02:00
7f9818cfa2
This is useful to disable items that are not applicable right now because of some condition (e.g. the "delete branch" menu item when the currently checked-out branch is selected). When a DisabledReason is set on a menu item, we - show it in a tooltip (below the regular tooltip of the item, if it has one) - strike through the item's key, if it has one - show an error message with the DisabledReason if the user tries to invoke the command |
||
---|---|---|
.. | ||
chinese.go | ||
dutch.go | ||
english.go | ||
i18n_test.go | ||
i18n.go | ||
japanese.go | ||
korean.go | ||
polish.go | ||
russian.go | ||
traditional_chinese.go |