mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Remove the keybindings legend in the cheatsheets
With the new longer syntax that we are about to make the default in the next commit it is no longer needed.
This commit is contained in:
parent
ccae993b40
commit
74a6ea85c8
|
|
@ -2,8 +2,6 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
||||||
|
|
||||||
# Lazygit Keybindings
|
# Lazygit Keybindings
|
||||||
|
|
||||||
_Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
|
|
||||||
|
|
||||||
## Global keybindings
|
## Global keybindings
|
||||||
|
|
||||||
| Key | Action | Info |
|
| Key | Action | Info |
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
||||||
|
|
||||||
# Lazygit キーバインディング
|
# Lazygit キーバインディング
|
||||||
|
|
||||||
_凡例:`<c-b>` はctrl+b、`<a-b>` はalt+b、`B` はshift+bを意味します_
|
|
||||||
|
|
||||||
## グローバルキーバインド
|
## グローバルキーバインド
|
||||||
|
|
||||||
| Key | Action | Info |
|
| Key | Action | Info |
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
||||||
|
|
||||||
# Lazygit 키 바인딩
|
# Lazygit 키 바인딩
|
||||||
|
|
||||||
_Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
|
|
||||||
|
|
||||||
## 글로벌 키 바인딩
|
## 글로벌 키 바인딩
|
||||||
|
|
||||||
| Key | Action | Info |
|
| Key | Action | Info |
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
||||||
|
|
||||||
# Lazygit Sneltoetsen
|
# Lazygit Sneltoetsen
|
||||||
|
|
||||||
_Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
|
|
||||||
|
|
||||||
## Globale sneltoetsen
|
## Globale sneltoetsen
|
||||||
|
|
||||||
| Key | Action | Info |
|
| Key | Action | Info |
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
||||||
|
|
||||||
# Lazygit Skróty klawiszowe
|
# Lazygit Skróty klawiszowe
|
||||||
|
|
||||||
_Legenda: `<c-b>` oznacza ctrl+b, `<a-b>` oznacza alt+b, `B` oznacza shift+b_
|
|
||||||
|
|
||||||
## Globalne skróty klawiszowe
|
## Globalne skróty klawiszowe
|
||||||
|
|
||||||
| Key | Action | Info |
|
| Key | Action | Info |
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
||||||
|
|
||||||
# Lazygit Atalhos do teclado
|
# Lazygit Atalhos do teclado
|
||||||
|
|
||||||
_Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
|
|
||||||
|
|
||||||
## Combinações globais de teclas
|
## Combinações globais de teclas
|
||||||
|
|
||||||
| Key | Action | Info |
|
| Key | Action | Info |
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
||||||
|
|
||||||
# Lazygit Связки клавиш
|
# Lazygit Связки клавиш
|
||||||
|
|
||||||
_Связки клавиш_
|
|
||||||
|
|
||||||
## Глобальные сочетания клавиш
|
## Глобальные сочетания клавиш
|
||||||
|
|
||||||
| Key | Action | Info |
|
| Key | Action | Info |
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
||||||
|
|
||||||
# Lazygit 按键绑定
|
# Lazygit 按键绑定
|
||||||
|
|
||||||
_图例:`<c-b>` 意味着ctrl+b, `<a-b>意味着Alt+b, `B` 意味着shift+b_
|
|
||||||
|
|
||||||
## 全局键绑定
|
## 全局键绑定
|
||||||
|
|
||||||
| Key | Action | Info |
|
| Key | Action | Info |
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
|
||||||
|
|
||||||
# Lazygit 鍵盤快捷鍵
|
# Lazygit 鍵盤快捷鍵
|
||||||
|
|
||||||
_說明:`<c-b>` 表示 Ctrl+B、`<a-b>` 表示 Alt+B,`B`表示 Shift+B_
|
|
||||||
|
|
||||||
## 全域快捷鍵
|
## 全域快捷鍵
|
||||||
|
|
||||||
| Key | Action | Info |
|
| Key | Action | Info |
|
||||||
|
|
|
||||||
|
|
@ -197,8 +197,6 @@ func formatSections(tr *i18n.TranslationSet, bindingSections []*bindingSection)
|
||||||
var content strings.Builder
|
var content strings.Builder
|
||||||
content.WriteString(fmt.Sprintf("# Lazygit %s\n", tr.Keybindings))
|
content.WriteString(fmt.Sprintf("# Lazygit %s\n", tr.Keybindings))
|
||||||
|
|
||||||
content.WriteString(fmt.Sprintf("\n%s\n", italicize(tr.KeybindingsLegend)))
|
|
||||||
|
|
||||||
for _, section := range bindingSections {
|
for _, section := range bindingSections {
|
||||||
content.WriteString(formatTitle(section.title))
|
content.WriteString(formatTitle(section.title))
|
||||||
content.WriteString("| Key | Action | Info |\n")
|
content.WriteString("| Key | Action | Info |\n")
|
||||||
|
|
@ -234,7 +232,3 @@ func formatBinding(binding *types.Binding) string {
|
||||||
// to escape a key that is itself a backtick.
|
// to escape a key that is itself a backtick.
|
||||||
return fmt.Sprintf("| `` %s `` | %s | %s |\n", action, description, tooltip)
|
return fmt.Sprintf("| `` %s `` | %s | %s |\n", action, description, tooltip)
|
||||||
}
|
}
|
||||||
|
|
||||||
func italicize(str string) string {
|
|
||||||
return fmt.Sprintf("_%s_", str)
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1741,7 +1741,6 @@ func EnglishTranslationSet() *TranslationSet {
|
||||||
StartFilter: "Filter the current view by text",
|
StartFilter: "Filter the current view by text",
|
||||||
SelectRemoteRepository: "Select base repository for pull requests",
|
SelectRemoteRepository: "Select base repository for pull requests",
|
||||||
FetchingPullRequests: "Fetching pull requests",
|
FetchingPullRequests: "Fetching pull requests",
|
||||||
KeybindingsLegend: "Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b",
|
|
||||||
RenameBranch: "Rename branch",
|
RenameBranch: "Rename branch",
|
||||||
BranchUpstreamOptionsTitle: "Upstream options",
|
BranchUpstreamOptionsTitle: "Upstream options",
|
||||||
ViewBranchUpstreamOptions: "View upstream options",
|
ViewBranchUpstreamOptions: "View upstream options",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue