aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionelmiquel@sfr.fr>2021-02-17 21:56:12 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-02-18 09:02:26 +0100
commitefab2dd79309eb8d8d2a33f5aae5a28d27feff3a (patch)
tree76540e708a37a25045853f022871c6d6fc94657b
parent2430bf57c22948e66b2c918d324d6e0bff4f6792 (diff)
downloadhonk_custom-efab2dd79309eb8d8d2a33f5aae5a28d27feff3a.tar.gz
honk_custom-efab2dd79309eb8d8d2a33f5aae5a28d27feff3a.zip
delete silly meme in views/i18n/header.html
- it should be "set lang" or "set language", not coom. we're not in april yet, the coommits are too early. - also the button text to submit language switch is now i18n'd - the #honkstore is more wholesome as a result
-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>