aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i18n.go3
-rw-r--r--v0.9.5/views/i18n/header.html2
2 files changed, 4 insertions, 1 deletions
diff --git a/i18n.go b/i18n.go
index 2272517..5c98423 100644
--- a/i18n.go
+++ b/i18n.go
@@ -44,6 +44,7 @@ type i18n struct {
Help string
Search string
Login string
+ SetLang string
Pwd string
Refresh string
ScrollDown string
@@ -237,6 +238,7 @@ func setLangStr (lang string) interface{} {
"aide",
"rechercher",
"connexion",
+ "changer langue",
"mot de passe",
"rafraƮchir",
"bas de page",
@@ -372,6 +374,7 @@ func setLangStr (lang string) interface{} {
"help",
"search",
"login",
+ "set lang",
"password",
"refresh",
"scroll down",
diff --git a/v0.9.5/views/i18n/header.html b/v0.9.5/views/i18n/header.html
index 21cce5e..77995e7 100644
--- a/v0.9.5/views/i18n/header.html
+++ b/v0.9.5/views/i18n/header.html
@@ -92,7 +92,7 @@
<option {{ and (eq .Lang "en") "selected"}}>en</option>
<option {{ and (eq .Lang "fr") "selected"}}>fr</option>
</select>
-<button>coom</button>
+<button>{{ .i18n.SetLang }}</button>
</form>
</span>