🌐 i18n config file [skip ci]

This commit is contained in:
naiba committed 2022-04-28 10:17:38 +08:00
1 parent 32d5805415
commit b5f4abf369
10 files changed
+19 -11

No files matched your search

+1
View File
@@ -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",