diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-19 11:35:03 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-19 11:35:03 +0300 |
| commit | e262132b9dccc57cf3a216faf4c78a7f569351ca (patch) | |
| tree | 6f72a8a523c363d72095e591a7ab6beb012613c7 | |
| parent | ca0a7aeb5a3a46448b31514a7f876760c50dcc2d (diff) | |
misspell
| -rw-r--r-- | web/locale/locale.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/locale/locale.go b/web/locale/locale.go index 2f0a7147..b4cb9464 100644 --- a/web/locale/locale.go +++ b/web/locale/locale.go @@ -49,10 +49,10 @@ func InitLocalizer(i18nFS embed.FS, settingService SettingService) error { return nil } -func createTemplateData(params []string, seperator ...string) map[string]any { +func createTemplateData(params []string, separator ...string) map[string]any { var sep string = "==" - if len(seperator) > 0 { - sep = seperator[0] + if len(separator) > 0 { + sep = separator[0] } templateData := make(map[string]any) |
