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
|
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
|
transRights:
|
||||||
translation: 'Prev Page'
|
other: "Trans rights are human rights."
|
||||||
|
blackLivesMatter:
|
||||||
- id: next_page
|
other: "Black lives matter."
|
||||||
translation: 'Next Page'
|
getVaccinated:
|
||||||
|
other: "Get vaccinated."
|
||||||
|
|
17
i18n/es.yaml
17
i18n/es.yaml
|
@ -1,5 +1,14 @@
|
||||||
- id: prev_page
|
blog:
|
||||||
translation: 'Página siguiente'
|
other: Blog
|
||||||
|
photos:
|
||||||
|
other: Fotos
|
||||||
|
about:
|
||||||
|
other: Sobre
|
||||||
|
|
||||||
- id: next_page
|
# Slogans
|
||||||
translation: 'Página anterior'
|
transRights:
|
||||||
|
other: "Derechos transgéneros son derechos humanos."
|
||||||
|
blackLivesMatter:
|
||||||
|
other: "Las vidas negras importan."
|
||||||
|
getVaccinated:
|
||||||
|
other: "Vacunate."
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
{{- $url := $.RelPermalink -}}
|
{{- $url := $.RelPermalink -}}
|
||||||
<nav class="site bulleted">
|
<nav class="site bulleted">
|
||||||
{{- range . -}}
|
{{- 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 -}}
|
{{- end -}}
|
||||||
</nav>
|
</nav>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<footer class="site">
|
<footer class="site">
|
||||||
<ul class="slogans">
|
<ul class="slogans">
|
||||||
<li>Trans rights are human rights.</li>
|
<li>{{ i18n "transRights" }}</li>
|
||||||
<li>Black lives matter.</li>
|
<li>{{ i18n "blackLivesMatter" }}</li>
|
||||||
<li>Get vaccinated.</li>
|
<li>{{ i18n "getVaccinated" }}</li>
|
||||||
</ul>
|
</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>
|
</footer>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue