Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/locale/locale.go6
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)