fix: Correct format string in error logging for language file loading in i18n module

This commit is contained in:
HynoR 2025-11-21 12:42:06 +08:00
parent 18114c545a
commit b057a4b1bd

View file

@ -144,7 +144,7 @@ func Init() {
for _, file := range langFiles {
if _, err := bundle.LoadMessageFileFS(fs, file); err != nil {
fmt.Println("failed to load language file %s: %v", file, err)
fmt.Printf("failed to load language file %s: %v\n", file, err)
}
}