diff --git a/locales/es/default.po b/locales/es/default.po index d09b2d6..4d3ffa4 100644 --- a/locales/es/default.po +++ b/locales/es/default.po @@ -5,3 +5,12 @@ msgstr "" msgid "Register" msgstr "Registrarse" + +msgid "Admin" +msgstr "Administrador" + +msgid "%s's Account" +msgstr "Cuenta de %s" + +msgid "Log out" +msgstr "Cerrar sesión" diff --git a/public/style.css b/public/style.css index 6769c86..61ea255 100644 --- a/public/style.css +++ b/public/style.css @@ -73,6 +73,7 @@ a:visited { align-items: center; justify-content: space-between; gap: 0.5em; + white-space: nowrap; } .divider { diff --git a/view/header.tmpl b/view/header.tmpl index d9d98a7..080ad30 100644 --- a/view/header.tmpl +++ b/view/header.tmpl @@ -11,17 +11,17 @@
{{ if .User }} {{ if .User.IsAdmin }} - Admin + {{ .L.Get "Admin" }} {{ end }} {{ .User.Username }}'s account{{ .L.Get "%s's Account" .User.Username }}
- +
{{ else }} {{ .L.Get "Register" }}