mirror of https://github.com/luizdepra/hugo-coder.git

Luiz F. A. de Prá
25.38.2021 982745144f18ca42cf81031a846e4c30aea210c0
Fix notice and taxonomies translations (#544)

* Fix missing translations for notices

* Fix taxonomy translations
3 files modified
70 ■■■■ changed files
i18n/en.toml 34 ●●●● patch | view | raw | blame | history
i18n/pt-br.toml 34 ●●●●● patch | view | raw | blame | history
layouts/partials/list.html 2 ●●● patch | view | raw | blame | history
i18n/en.toml
@@ -1,15 +1,24 @@
[category]
other = "category"
[categories]
other = "categories"
[tag]
other = "tag"
[tags]
other = "tags"
[series]
other = "series"
[author]
other = "author"
[authors]
other = "authors"
[posts]
other = "posts"
@@ -32,14 +41,23 @@
[see_also]
other = "See also in"
[notice_warning]
other = "Warning"
[note]
other = "note"
[notice_tip]
other = "Tip"
[tip]
other = "tip"
[notice_note]
other = "Note"
[example]
other = "example"
[notice_info]
other = "Info"
[question]
other = "question"
[info]
other = "info"
[warning]
other = "warning"
[error]
other = "error"
i18n/pt-br.toml
@@ -1,15 +1,24 @@
[category]
other = "categoria"
[categories]
other = "categorias"
[tag]
other = "tag"
other = "etiqueta"
[tags]
other = "etiquetas"
[series]
other = "séries"
[author]
[autor]
other = "autor"
[authors]
other = "autores"
[posts]
other = "artigos"
@@ -28,3 +37,24 @@
[powered_by]
other = "Promovido por"
[note]
other = "nota"
[tip]
other = "dica"
[example]
other = "exemplo"
[question]
other = "pergunta"
[info]
other = "info"
[warning]
other = "aviso"
[error]
other = "erro"
layouts/partials/list.html
@@ -6,7 +6,7 @@
        {{- print ": " -}}
      {{- end -}}
      {{- .Title -}}
      {{- i18n (lower .Title) | default .Title | title -}}
    </a>
  </h1>
  {{ .Content }}