Skip to content

Commit

Permalink
Localize "By"
Browse files Browse the repository at this point in the history
En/De/Es/Fr/It/Pt

Fixes #528
  • Loading branch information
regisphilibert committed Mar 21, 2022
1 parent db55414 commit 84011f4
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ other = "Neuste {{.Title }}"
[readMore]
other = "weiterlesen"

[by]
other = "Von"

[whatsInThis]
other = "Was ist in dieser {{ .Type }}"

Expand Down
3 changes: 3 additions & 0 deletions i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ other = "Recent {{.Title }}"
[readMore]
other = "read more"

[by]
other = "By"

[whatsInThis]
other = "What's in this {{ .Type }}"

Expand Down
3 changes: 3 additions & 0 deletions i18n/es.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ other = "{{.Title }} recientes"
[readMore]
other = "Leer más"

[by]
other = "Por"

[whatsInThis]
other = "Qué hay en este {{ .Type }}"

Expand Down
3 changes: 3 additions & 0 deletions i18n/fr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ other = "{{.Title }} récents"
[readMore]
other = "lire plus"

[by]
other = "Par"

[whatsInThis]
other = "Ce qui est dans {{ .Type }}"

Expand Down
3 changes: 3 additions & 0 deletions i18n/it.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ other = "Recenti {{.Title }}"
[readMore]
other = "leggi di più"

[by]
other = "Da"

[whatsInThis]
other = "Cosa c'è in {{ .Type }}"

Expand Down
3 changes: 3 additions & 0 deletions i18n/pt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ other = "{{.Title }} Recentes"
[readMore]
other = "Leia mais"

[by]
other = "por"

[whatsInThis]
other = "O que há neste {{ .Type }}"

Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1 class="f1 athelas mt3 mb1">
</h1>
{{ with .Params.author | default .Site.Params.author }}
<p class="tracked">
By <strong>
{{ i18n "by" }} <strong>
{{ if reflect.IsSlice . }}
{{ delimit . ", " | markdownify }}
{{else}}
Expand Down

0 comments on commit 84011f4

Please sign in to comment.