tools: align locale diagnostics and generate native language names
Validate / Validate (push) Successful in 2m46s

This commit is contained in:
KenanZhu committed 2026-10-14 00:01:40 +08:00
1 parent b8089e8a7e
commit d99c5d1dc5
13 files changed
+170 -46

No files matched your search

+1 -5
View File
@@ -20,11 +20,7 @@ func UpstreamCommand() *cli.Command {
return err
}
logging.Info("Upstream", "%s: %d mail files, %d languages", s.Lock.Tag, len(s.Templates), len(s.Locales))
for _, lang := range s.Languages() {
if keys := missing[lang]; len(keys) > 0 {
logging.Warn("Locale", "%s -> en-US: %v", lang, keys)
}
}
logging.WarnMissingTranslations(missing)
return nil
}},
}}