mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
🌐 i18n config file [skip ci]
This commit is contained in:
@@ -17,6 +17,7 @@ func htmlTemplateTranslateFn(id string, data interface{}, count interface{}) str
|
||||
}
|
||||
|
||||
func main() {
|
||||
singleton.InitConfigFromPath("data/config.yaml")
|
||||
singleton.InitLocalizer()
|
||||
fmt.Println(singleton.Localizer.MustLocalize(&i18n.LocalizeConfig{
|
||||
MessageID: "nezhaMonitor",
|
||||
|
||||
Reference in New Issue
Block a user