Remove non-English translation sets, read them from JSON instead

This commit is contained in:
Stefan Haller 2024-06-08 12:11:05 +02:00
parent b34de70c99
commit 98e5fd70fb
14 changed files with 100 additions and 4406 deletions

View file

@ -51,7 +51,10 @@ func GetKeybindingsDir() string {
}
func generateAtDir(cheatsheetDir string) {
translationSetsByLang := i18n.GetTranslationSets()
translationSetsByLang, err := i18n.GetTranslationSets()
if err != nil {
log.Fatal(err)
}
mConfig := config.NewDummyAppConfig()
for lang := range translationSetsByLang {