Fix Spanish localization of the home page and footer slogans and copyright
This commit is contained in:
parent
da88d389e9
commit
e0b7aae3db
5 changed files with 25 additions and 15 deletions
|
@ -2,4 +2,4 @@
|
|||
title: Eryn Rachel Wells
|
||||
---
|
||||
|
||||
Este es un poco de texto sobre Eryn: quién es, qué le gusta, y por qué existe este sitio.
|
||||
Ingeniera de software, alfarera, música, y nerd en general. Este es mi sitio web.
|
||||
|
|
11
i18n/en.yaml
11
i18n/en.yaml
|
@ -1,5 +1,6 @@
|
|||
- id: prev_page
|
||||
translation: 'Prev Page'
|
||||
|
||||
- id: next_page
|
||||
translation: 'Next Page'
|
||||
transRights:
|
||||
other: "Trans rights are human rights."
|
||||
blackLivesMatter:
|
||||
other: "Black lives matter."
|
||||
getVaccinated:
|
||||
other: "Get vaccinated."
|
||||
|
|
17
i18n/es.yaml
17
i18n/es.yaml
|
@ -1,5 +1,14 @@
|
|||
- id: prev_page
|
||||
translation: 'Página siguiente'
|
||||
blog:
|
||||
other: Blog
|
||||
photos:
|
||||
other: Fotos
|
||||
about:
|
||||
other: Sobre
|
||||
|
||||
- id: next_page
|
||||
translation: 'Página anterior'
|
||||
# Slogans
|
||||
transRights:
|
||||
other: "Derechos transgéneros son derechos humanos."
|
||||
blackLivesMatter:
|
||||
other: "Las vidas negras importan."
|
||||
getVaccinated:
|
||||
other: "Vacunate."
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
{{- $url := $.RelPermalink -}}
|
||||
<nav class="site bulleted">
|
||||
{{- range . -}}
|
||||
<li><a class="{{ if eq .URL $url }}active{{ end }}" href="{{ .URL }}"><span>{{ .Name }}</span></a></li>
|
||||
<li><a class="{{ if eq .URL $url }}active{{ end }}" href="{{ .URL }}"><span>{{ i18n .Identifier | default .Name }}</span></a></li>
|
||||
{{- end -}}
|
||||
</nav>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<footer class="site">
|
||||
<ul class="slogans">
|
||||
<li>Trans rights are human rights.</li>
|
||||
<li>Black lives matter.</li>
|
||||
<li>Get vaccinated.</li>
|
||||
<li>{{ i18n "transRights" }}</li>
|
||||
<li>{{ i18n "blackLivesMatter" }}</li>
|
||||
<li>{{ i18n "getVaccinated" }}</li>
|
||||
</ul>
|
||||
<p>Copyright © <time datetime="{{ now.Year }}">{{ now.Year }}</time> <a href="{{ `` | absURL }}">Eryn Wells</a></p>
|
||||
<p>Copyright © <time datetime="2020">2020</time>—<time datetime="{{ now.Year }}">{{ now.Year }}</time> <a href="{{ `` | absURL }}">Eryn Wells</a></p>
|
||||
</footer>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue