mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-08-31 15:26:18 +00:00
Update locale.go
This commit is contained in:
parent
99a28cc6fc
commit
cd900f70c0
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ type SettingService interface {
|
|||
|
||||
func InitLocalizer(i18nFS embed.FS, settingService SettingService) error {
|
||||
// set default bundle to english
|
||||
i18nBundle = i18n.NewBundle(language.MustParse("vi-VN"))
|
||||
i18nBundle = i18n.NewBundle(language.MustParse("en-US"))
|
||||
i18nBundle.RegisterUnmarshalFunc("toml", toml.Unmarshal)
|
||||
|
||||
// parse files
|
||||
|
|
Loading…
Reference in a new issue