Skip to content

Commit b76dac5

Browse files
authored
fix:修复语言设置问题 (#1013)
1 parent cb72b37 commit b76dac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/manager/setting.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<div class="form-group">
4949
<label>{{i18n .Lang "mgr.language"}}</label>
5050
<select name="language" class="form-control">
51-
{{$curLang := .language}}
51+
{{$curLang := .Lang}}
5252
{{range $langKey, $langName := .i18n_map }}
5353
<option value="{{$langKey}}" {{if eq $langKey $curLang}}selected{{end}}>{{$langName}}</option>
5454
{{end}}

0 commit comments

Comments
 (0)