Fix notice and taxonomies translations (#544)

* Fix missing translations for notices

* Fix taxonomy translations
This commit is contained in:
Luiz F. A. de Prá
2021-03-25 15:38:12 -03:00
committed by GitHub
parent c309f14e0f
commit 982745144f
3 changed files with 59 additions and 11 deletions

View File

@@ -1,15 +1,24 @@
[category] [category]
other = "category" other = "category"
[categories]
other = "categories"
[tag] [tag]
other = "tag" other = "tag"
[tags]
other = "tags"
[series] [series]
other = "series" other = "series"
[author] [author]
other = "author" other = "author"
[authors]
other = "authors"
[posts] [posts]
other = "posts" other = "posts"
@@ -32,14 +41,23 @@ other = "Powered by"
[see_also] [see_also]
other = "See also in" other = "See also in"
[notice_warning] [note]
other = "Warning" other = "note"
[notice_tip] [tip]
other = "Tip" other = "tip"
[notice_note] [example]
other = "Note" other = "example"
[notice_info] [question]
other = "Info" other = "question"
[info]
other = "info"
[warning]
other = "warning"
[error]
other = "error"

View File

@@ -1,15 +1,24 @@
[category] [category]
other = "categoria" other = "categoria"
[categories]
other = "categorias"
[tag] [tag]
other = "tag" other = "etiqueta"
[tags]
other = "etiquetas"
[series] [series]
other = "séries" other = "séries"
[author] [autor]
other = "autor" other = "autor"
[authors]
other = "autores"
[posts] [posts]
other = "artigos" other = "artigos"
@@ -28,3 +37,24 @@ other = "Você pode voltar para a <a href=\"{{ . }}\">página inicial</a>."
[powered_by] [powered_by]
other = "Promovido por" other = "Promovido por"
[note]
other = "nota"
[tip]
other = "dica"
[example]
other = "exemplo"
[question]
other = "pergunta"
[info]
other = "info"
[warning]
other = "aviso"
[error]
other = "erro"

View File

@@ -6,7 +6,7 @@
{{- print ": " -}} {{- print ": " -}}
{{- end -}} {{- end -}}
{{- .Title -}} {{- i18n (lower .Title) | default .Title | title -}}
</a> </a>
</h1> </h1>
{{ .Content }} {{ .Content }}