Diffstat (limited to 'locale/localization.go')
| -rw-r--r-- | locale/localization.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/locale/localization.go b/locale/localization.go index b557e08..d5c6b48 100644 --- a/locale/localization.go +++ b/locale/localization.go @@ -10,8 +10,6 @@ import ( type LocaleConfig struct { TagsLabel string `yaml:"TagsLabel" json:"TagsLabel"` BlogSearch BlogSearchConfig `yaml:"BlogSearch" json:"BlogSearch"` - GlobalMap GlobalMapConfig `yaml:"GlobalMap" json:"GlobalMap"` - LikeButton string `yaml:"LikeButton" json:"LikeButton"` } type BlogSearchConfig struct { @@ -24,10 +22,6 @@ type BlogSearchConfig struct { ChooseAllTags string `yaml:"ChooseAllTags" json:"ChooseAllTags"` } -type GlobalMapConfig struct { - Header string `yaml:"Header" json:"Header"` -} - func LoadConfig(path string, config *LocaleConfig) error { fileBytes, err := os.ReadFile(path) if err != nil { |