mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-17 12:58:51 +08:00
fix: Correct format string in error logging for language file loading in i18n module
This commit is contained in:
parent
18114c545a
commit
b057a4b1bd
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue