diff --git a/docs/Keybindings_en.md b/docs/Keybindings_en.md index 07923ce89..108b6ba73 100644 --- a/docs/Keybindings_en.md +++ b/docs/Keybindings_en.md @@ -71,15 +71,7 @@ c: copy commit (cherry-pick) C: copy commit range (cherry-pick) v: paste commits (cherry-pick) - enter: display commit files - - -## Commit files -
-  esc: go back
-  c: checkout file
-  d: discard this commit's changes to this file
-  o: open file
+  enter: view commit's files
 
## Stash @@ -90,6 +82,15 @@ d: drop +## Commit files + +
+  esc: go back
+  c: checkout file
+  d: discard this commit's changes to this file
+  o: open file
+
+ ## Main (Normal)
diff --git a/docs/Keybindings_nl.md b/docs/Keybindings_nl.md
new file mode 100644
index 000000000..dfa45df2c
--- /dev/null
+++ b/docs/Keybindings_nl.md
@@ -0,0 +1,124 @@
+# Lazygit menu
+
+## Global
+
+
+  m: view merge/rebase options
+  P: push
+  p: pull
+  R: verversen
+
+ +## Status + +
+  e: verander config file
+  o: open config file
+  u: check voor updates
+  s: wissel naar een recente repo
+
+ +## Bestanden + +
+  c: Commit veranderingen
+  A: wijzig laatste commit
+  C: commit veranderingen met de git editor
+  space: toggle staged
+  d: Verwijder als untracked / uitchecken wordt gevolgd (ga weg)
+  e: verander bestand
+  o: open bestand
+  i: voeg toe aan .gitignore
+  r: refresh bestanden
+  S: stash-bestanden
+  s: soft reset to last commit
+  a: toggle staged alle
+  t: bewerkingen toevoegen
+  D: harde reset and verwijderen ongevolgde bestanden
+  enter: stage individuele hunks/lijnen
+  f: fetch
+
+ +## Branches + +
+  space: uitchecken
+  o: maak een pull-aanvraag
+  c: uitchecken bij naam
+  F: forceer checkout
+  n: nieuwe branch
+  d: verwijder branch
+  r: rebase branch
+  M: merge in met huidige checked out branch
+  f: fast-forward this branch from its upstream
+
+ +## Commits + +
+  s: squash beneden
+  r: hernoem commit
+  R: rename commit with editor
+  g: reset naar deze commit
+  f: Fixup commit
+  d: delete commit
+  J: move commit down one
+  K: move commit up one
+  e: edit commit
+  A: amend commit with staged changes
+  p: pick commit (when mid-rebase)
+  t: revert commit
+  c: copy commit (cherry-pick)
+  C: copy commit range (cherry-pick)
+  v: paste commits (cherry-pick)
+  enter: view commit's files
+
+ +## Stash + +
+  space: toepassen
+  g: pop
+  d: drop
+
+ +## Commit files + +
+  esc: go back
+  c: checkout file
+  d: discard this commit's changes to this file
+  o: open bestand
+
+ +## Main (Normal) + +
+  PgDn: scroll down
+  PgUp: scroll up
+
+ +## Main (Stage Lines/Hunks) + +
+  esc: ga terug naar het bestanden paneel
+  : select previous line
+  : select next line
+  : select previous hunk
+  : select next hunk
+  space: stage lijn
+  a: stage hunk
+
+ +## Main (Merging) + +
+  esc: ga terug naar het bestanden paneel
+  space: pick hunk
+  b: pick both hunks
+  : select previous conflict
+  : select next conflict
+  : select top hunk
+  : select bottom hunk
+  z: undo
+
diff --git a/docs/Keybindings_pl.md b/docs/Keybindings_pl.md new file mode 100644 index 000000000..9e60e9657 --- /dev/null +++ b/docs/Keybindings_pl.md @@ -0,0 +1,124 @@ +# Lazygit menu + +## Globalne + +
+  m: view merge/rebase options
+  P: push
+  p: pull
+  R: odśwież
+
+ +## Status + +
+  e: edytuj plik konfiguracyjny
+  o: otwórz plik konfiguracyjny
+  u: sprawdź aktualizacje
+  s: switch to a recent repo
+
+ +## Pliki + +
+  c: commituj zmiany
+  A: zmień ostatnie zatwierdzenie
+  C: commituj zmiany używając edytora z gita
+  space: przełącz zatwierdzenie
+  d: usuń jeśli nie śledzony / przełącz jeśli śledzony
+  e: edytuj plik
+  o: otwórz plik
+  i: dodaj do .gitignore
+  r: odśwież pliki
+  S: przechowaj pliki
+  s: soft reset to last commit
+  a: przełącz wszystkie zatwierdzenia
+  t: dodaj łatkę
+  D: zresetuj twardo i usuń niepotwierdzone pliki
+  enter: zatwierdź pojedyncze linie
+  f: fetch
+
+ +## Gałęzie + +
+  space: przełącz
+  o: utwórz żądanie wyciągnięcia
+  c: przełącz używając nazwy
+  F: wymuś przełączenie
+  n: nowa gałąź
+  d: usuń gałąź
+  r: rebase branch
+  M: scal do obecnej gałęzi
+  f: fast-forward this branch from its upstream
+
+ +## Commity + +
+  s: ściśnij w dół
+  r: przemianuj commit
+  R: przemianuj commit w edytorze
+  g: zresetuj do tego commita
+  f: napraw commit
+  d: delete commit
+  J: move commit down one
+  K: move commit up one
+  e: edit commit
+  A: amend commit with staged changes
+  p: pick commit (when mid-rebase)
+  t: revert commit
+  c: copy commit (cherry-pick)
+  C: copy commit range (cherry-pick)
+  v: paste commits (cherry-pick)
+  enter: view commit's files
+
+ +## Schowek + +
+  space: zastosuj
+  g: wyciągnij
+  d: porzuć
+
+ +## Commit files + +
+  esc: go back
+  c: checkout file
+  d: discard this commit's changes to this file
+  o: otwórz plik
+
+ +## Main (Normal) + +
+  PgDn: scroll down
+  PgUp: scroll up
+
+ +## Main (Zatwierdzanie) + +
+  esc: wróć do panelu plików
+  : select previous line
+  : select next line
+  : select previous hunk
+  : select next hunk
+  space: zatwierdź linię
+  a: zatwierdź kawałek
+
+ +## Main (Merging) + +
+  esc: wróć do panelu plików
+  space: pick hunk
+  b: pick both hunks
+  : select previous conflict
+  : select next conflict
+  : select top hunk
+  : select bottom hunk
+  z: undo
+
diff --git a/pkg/i18n/dutch.go b/pkg/i18n/dutch.go index 74bf39a97..77b3052d9 100644 --- a/pkg/i18n/dutch.go +++ b/pkg/i18n/dutch.go @@ -649,6 +649,9 @@ func addDutch(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "viewCommitFiles", Other: "view commit's files", + }, &i18n.Message{ + ID: "CommitFilesTitle", + Other: "Commit files", }, &i18n.Message{ ID: "goBack", Other: "go back", diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index 9280c0bbd..09805540a 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -672,6 +672,9 @@ func addEnglish(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "viewCommitFiles", Other: "view commit's files", + }, &i18n.Message{ + ID: "CommitFilesTitle", + Other: "Commit files", }, &i18n.Message{ ID: "goBack", Other: "go back", diff --git a/pkg/i18n/polish.go b/pkg/i18n/polish.go index 753ef882c..951bc3728 100644 --- a/pkg/i18n/polish.go +++ b/pkg/i18n/polish.go @@ -632,6 +632,9 @@ func addPolish(i18nObject *i18n.Bundle) error { }, &i18n.Message{ ID: "viewCommitFiles", Other: "view commit's files", + }, &i18n.Message{ + ID: "CommitFilesTitle", + Other: "Commit files", }, &i18n.Message{ ID: "goBack", Other: "go back",