diff --git a/docs/keybindings/Keybindings_nl.md b/docs/keybindings/Keybindings_nl.md index 325f6b001..7d5b8f78c 100644 --- a/docs/keybindings/Keybindings_nl.md +++ b/docs/keybindings/Keybindings_nl.md @@ -18,7 +18,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct ctrl+z: redo (via reflog) (experimenteel) +: volgende scherm modus (normaal/half/groot) _: vorige scherm modus - :: voor aangepaste commando uit + :: voer aangepaste commando uit ctrl+s: bekijk scoping opties W: open diff menu ctrl+e: open diff menu @@ -63,7 +63,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct ## Branches Paneel (Remote Branches (in Remotes tabblad))
-  esc: Ga terug naar remotes lijst
+  esc: ga terug naar remotes lijst
   g: bekijk reset opties
   enter: bekijk commits
   space: uitchecken
@@ -179,7 +179,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
 ## Bestanden Paneel (Bestanden)
 
 
-  c: Commit veranderingen
+  c: commit veranderingen
   w: commit veranderingen zonder pre-commit hook
   A: wijzig laatste commit
   C: commit veranderingen met de git editor
@@ -276,7 +276,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
   a: toggle selecteer hunk
   H: scroll left
   L: scroll right
-  c: Commit veranderingen
+  c: commit veranderingen
   w: commit veranderingen zonder pre-commit hook
   C: commit veranderingen met de git editor
 
diff --git a/pkg/cheatsheet/generate.go b/pkg/cheatsheet/generate.go index 94eea0687..546239df5 100644 --- a/pkg/cheatsheet/generate.go +++ b/pkg/cheatsheet/generate.go @@ -35,13 +35,11 @@ func GetDir() string { } func generateAtDir(cheatsheetDir string) { - os.Setenv("LANG", "en") - translationSetsByLang := i18n.GetTranslationSets() mConfig := config.NewDummyAppConfig() for lang := range translationSetsByLang { - os.Setenv("LC_ALL", lang) + mConfig.GetUserConfig().Gui.Language = lang mApp, _ := app.NewApp(mConfig, "") path := cheatsheetDir + "/Keybindings_" + lang + ".md" file, err := os.Create(path)