Merge branch 'i18n/add-missing-categories-title' into master

This commit is contained in:
Daniel Pessoa 2020-12-07 19:51:05 -03:00 committed by GitHub
commit a9d2241396
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 4 deletions

View File

@ -16,6 +16,9 @@
[widgetTagCloudTitle]
other = "Tags"
[categoriesTitle]
other = "Categories"
[notFoundTitle]
other = "Not Found"
@ -35,4 +38,4 @@
other = "Built with {{ .Generator }}"
[footerDesignedBy]
other = "Theme {{ .Theme }} designed by {{ .DesignedBy }}"
other = "Theme {{ .Theme }} designed by {{ .DesignedBy }}"

View File

@ -16,6 +16,9 @@
[widgetTagCloudTitle]
other = "Tags"
[categoriesTitle]
other = "Categorias"
[notFoundTitle]
other = "Não Encontrado"
@ -35,4 +38,4 @@
other = "Criado com {{ .Generator }}"
[footerDesignedBy]
other = "Tema {{ .Theme }} desenvolvido por {{ .DesignedBy }}"
other = "Tema {{ .Theme }} desenvolvido por {{ .DesignedBy }}"

View File

@ -2,7 +2,7 @@
{{ define "main" }}
{{ $categories := ($.Site.GetPage "taxonomyTerm" "categories").Pages }}
{{ if $categories }}
<h2 class="section-title">Categories</h2>
<h2 class="section-title">{{ T "categoriesTitle" }}</h2>
<div class="category-list">
<div class="article-list--tile">
{{ range $categories }}
@ -29,4 +29,4 @@
{{ end }}
{{ partialCached "footer/footer" . }}
{{ end }}
{{ end }}