aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base/footer_content.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base/footer_content.tmpl')
-rw-r--r--templates/base/footer_content.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl
index e30fe70768..979c03146c 100644
--- a/templates/base/footer_content.tmpl
+++ b/templates/base/footer_content.tmpl
@@ -9,10 +9,10 @@
{{end}}
<div class="ui language bottom floating slide up dropdown link item">
{{svg "octicon-globe"}}
- <div class="text">{{.LangName}}</div>
+ <div class="text">{{.i18n.LangName}}</div>
<div class="menu language-menu">
{{range .AllLangs}}
- <a lang="{{.Lang}}" data-url="{{AppSubUrl}}/?lang={{.Lang}}" class="item {{if eq $.Lang .Lang}}active selected{{end}}">{{.Name}}</a>
+ <a lang="{{.Lang}}" data-url="{{AppSubUrl}}/?lang={{.Lang}}" class="item {{if eq $.i18n.Lang .Lang}}active selected{{end}}">{{.Name}}</a>
{{end}}
</div>
</div>