feat(i18n): integrate i18next for internationalization support and add initial translation setup

This commit is contained in:
kever
2026-02-17 00:11:42 +08:00
parent dc73f6f6af
commit 9395f9d3af
8 changed files with 1081 additions and 445 deletions

View File

@@ -0,0 +1,15 @@
package model
// HeroTemplate represents template hero data from herodata.json.
type HeroTemplate struct {
Code string `json:"code"`
Name string `json:"name"`
BaseAtk float64 `json:"baseAtk"`
BaseDef float64 `json:"baseDef"`
BaseHp float64 `json:"baseHp"`
BaseSpd float64 `json:"baseSpd"`
BaseCr float64 `json:"baseCr"`
BaseCd float64 `json:"baseCd"`
BaseEff float64 `json:"baseEff"`
BaseRes float64 `json:"baseRes"`
}