Use plural translation keys for taxonomies (#620)

This commit is contained in:
Alphonse Mariya
2021-12-26 19:18:00 +01:00
committed by GitHub
parent 0b430ece67
commit d14dd837ec
33 changed files with 229 additions and 263 deletions

View File

@@ -1,11 +1,17 @@
[category] [categories]
other = "فئة" one = "فئة"
[tag] [tags]
other = "وَسم" one = "وَسم"
[series] [series]
other = "سلسلة" one = "سلسلة"
[authors]
one = "الكاتب"
[posts]
other = "المنشورات"
[reading_time] [reading_time]
other = "تستغرق {{ .Count }} د" other = "تستغرق {{ .Count }} د"
@@ -22,11 +28,5 @@ other = "بإمكانك العودة إلى <a href=\"{{ . }}\">homepage</a>."
[powered_by] [powered_by]
other = "بواسطة" other = "بواسطة"
[author]
other = "الكاتب"
[see_also] [see_also]
other = "انظر أيضاً" other = "انظر أيضاً"
[posts]
other = "المنشورات"

View File

@@ -1,14 +1,14 @@
[category] [categories]
other = "বিভাগ" one = "বিভাগ"
[tag] [tags]
other = "ট্যাগ" one = "ট্যাগ"
[series] [series]
other = "সিরিজ" one = "সিরিজ"
[author] [authors]
other = "লেখক" one = "লেখক"
[posts] [posts]
other = "সব পোস্ট" other = "সব পোস্ট"

View File

@@ -1,11 +1,15 @@
[category] [categories]
other = "kategorie" one = "kategorie"
[tag] [tags]
other = "tag" one = "tag"
[series] [series]
other = "série" one = "série"
[authors]
[posts]
[reading_time] [reading_time]
other = "Délka čtení: {{ .Count }}" other = "Délka čtení: {{ .Count }}"

View File

@@ -1,22 +1,17 @@
[category]
other = "Kategorie"
[categories] [categories]
one = "Kategorie"
other = "Kategorien" other = "Kategorien"
[tag]
other = "Tag"
[tags] [tags]
one = "Tag"
other = "Tags" other = "Tags"
[series] [series]
other = "Serie" one = "Serie"
other = "Serien"
[author]
other = "Autor"
[authors] [authors]
one = "Autor"
other = "Autoren" other = "Autoren"
[posts] [posts]

View File

@@ -1,22 +1,17 @@
[category]
other = "category"
[categories] [categories]
one = "category"
other = "categories" other = "categories"
[tag]
other = "tag"
[tags] [tags]
one = "tag"
other = "tags" other = "tags"
[series] [series]
one = "series"
other = "series" other = "series"
[author]
other = "author"
[authors] [authors]
one = "author"
other = "authors" other = "authors"
[posts] [posts]

View File

@@ -1,22 +1,17 @@
[category]
other = "categoría"
[categories] [categories]
one = "categoría"
other = "categorías" other = "categorías"
[tag]
other = "etiqueta"
[tags] [tags]
one = "etiqueta"
other = "etiquetas" other = "etiquetas"
[series] [series]
other = "serie" one = "serie"
other = "series"
[author]
other = "autor"
[authors] [authors]
one = "autor"
other = "autores" other = "autores"
[posts] [posts]

View File

@@ -1,14 +1,17 @@
[category] [categories]
other = "kategoria" one = "kategoria"
[tag] [tags]
other = "merkki" one = "merkki"
[series] [series]
other = "sarja" one = "sarja"
[author] [authors]
other = "Kirjoittaja" one = "Kirjoittaja"
[posts]
other = "Artikkelit"
[reading_time] [reading_time]
one = "Yksi lukuminuutti" one = "Yksi lukuminuutti"
@@ -28,6 +31,3 @@ other = "Tarjoaa"
[see_also] [see_also]
other = "Katso myös" other = "Katso myös"
[posts]
other = "Artikkelit"

View File

@@ -1,14 +1,21 @@
[category] [categories]
other = "catégorie" one = "catégorie"
other = "catégories"
[tag] [tags]
other = "tag" one = "tag"
other = "tags"
[series] [series]
one = "série"
other = "séries" other = "séries"
[author] [authors]
other = "auteur" one = "auteur"
other = "auteurs"
[posts]
other = "articles"
[reading_time] [reading_time]
one = "Une minute de lecture" one = "Une minute de lecture"
@@ -28,6 +35,3 @@ other = "Propulsé par"
[see_also] [see_also]
other = "Voir aussi dans" other = "Voir aussi dans"
[posts]
other = "Articles"

View File

@@ -1,14 +1,17 @@
[category] [categories]
other = "קטגוריה" one = "קטגוריה"
[tag] [tags]
other = "תגית" one = "תגית"
[series] [series]
other = "סדרה" one = "סדרה"
[author] [authors]
other = "סופר" one = "סופר"
[posts]
other = "פוסטים"
[reading_time] [reading_time]
one = "דקה אחת לקרוא" one = "דקה אחת לקרוא"
@@ -28,7 +31,3 @@ other = "מופעל על ידי"
[see_also] [see_also]
other = "רואה עוד ב" other = "רואה עוד ב"
[posts]
other = "פוסטים"

View File

@@ -1,14 +1,17 @@
[category] [categories]
other = "श्रेणी" one = "श्रेणी"
[tag] [tags]
other = "टैग" one = "टैग"
[series] [series]
other = "श्रृंखला" one = "श्रृंखला"
[author] [authors]
other = "लेखक" one = "लेखक"
[posts]
other = "सामग्री"
[reading_time] [reading_time]
one = "एक पढ़ने का समय" one = "एक पढ़ने का समय"
@@ -28,6 +31,3 @@ other = "द्वारा संचालित"
[see_also] [see_also]
other = "यह भी देखें" other = "यह भी देखें"
[posts]
other = "सामग्री"

View File

@@ -1,14 +1,14 @@
[category] [categories]
other = "Kategória" one = "Kategória"
[tag] [tags]
other = "Címke" one = "Címke"
[series] [series]
other = "Sorozat" one = "Sorozat"
[author] [authors]
other = "Szerző" one = "Szerző"
[posts] [posts]
other = "Írások" other = "Írások"

View File

@@ -1,14 +1,14 @@
[category] [categories]
other = "kategori" one = "kategori"
[tag] [tags]
other = "label" one = "label"
[series] [series]
other = "seri" one = "seri"
[author] [authors]
other = "penulis" one = "penulis"
[posts] [posts]
other = "artikel" other = "artikel"

View File

@@ -1,14 +1,18 @@
[category] [categories]
other = "categoria" one = "categoria"
other = "categorie"
[tag] [tags]
other = "tag" one = "tag"
other = "tags"
[series] [series]
one = "serie"
other = "serie" other = "serie"
[author] [authors]
other = "autore" one = "autore"
other = "autori"
[posts] [posts]
other = "post" other = "post"

View File

@@ -1,14 +1,14 @@
[category] [categories]
other = "カテゴリー" one = "カテゴリー"
[tag] [tags]
other = "タグ" one = "タグ"
[series] [series]
other = "シリーズ" one = "シリーズ"
[author] [authors]
other = "筆者" one = "筆者"
[posts] [posts]
other = "記事" other = "記事"

View File

@@ -1,14 +1,14 @@
[category] [categories]
other = "카테고리" one = "카테고리"
[tag] [tags]
other = "태그" one = "태그"
[series] [series]
other = "시리즈" one = "시리즈"
[author] [authors]
other = "저자" one = "저자"
[posts] [posts]
other = "포스트" other = "포스트"

View File

@@ -1,11 +1,15 @@
[category] [categories]
other = "kategori" one = "kategori"
[tag] [tags]
other = "teg" one = "teg"
[series] [series]
other = "siri" one = "siri"
[authors]
[posts]
[reading_time] [reading_time]
one = "Bacaan 1 minit" one = "Bacaan 1 minit"

View File

@@ -1,14 +1,14 @@
[category] [categories]
other = "Categorie" one = "Categorie"
[tag] [tags]
other = "Label" one = "Label"
[series] [series]
other = "Serie" one = "Serie"
[author] [authors]
other = "Auteur" one = "Auteur"
[posts] [posts]
other = "Berichten" other = "Berichten"

View File

@@ -1,14 +1,17 @@
[category] [categories]
other = "वर्ग" one = "वर्ग"
[tag] [tags]
other = "ट्याग" one = "ट्याग"
[series] [series]
other = "श्रृंखला" one = "श्रृंखला"
[author] [authors]
other = "लेखक" one = "लेखक"
[posts]
other = "सामग्री"
[reading_time] [reading_time]
one = "एक मिनेट पढाई" one = "एक मिनेट पढाई"
@@ -28,6 +31,3 @@ other = "द्वारा संचालित"
[see_also] [see_also]
other = "यो पनि हेर्नुहोस।" other = "यो पनि हेर्नुहोस।"
[posts]
other = "सामग्री"

View File

@@ -1,22 +1,17 @@
[category]
other = "kategoria"
[categories] [categories]
one = "kategoria"
other = "kategorie" other = "kategorie"
[tag]
other = "tag"
[tags] [tags]
one = "tag"
other = "tagi" other = "tagi"
[series] [series]
one = "seria"
other = "seria" other = "seria"
[author]
other = "autor(ka)"
[authors] [authors]
one = "autor(ka)"
other = "autorzy" other = "autorzy"
[posts] [posts]

View File

@@ -1,22 +1,17 @@
[category]
other = "categoria"
[categories] [categories]
one = "categoria"
other = "categorias" other = "categorias"
[tag]
other = "etiqueta"
[tags] [tags]
one = "etiqueta"
other = "etiquetas" other = "etiquetas"
[series] [series]
one = "séries"
other = "séries" other = "séries"
[autor]
other = "autor"
[authors] [authors]
one = "autor"
other = "autores" other = "autores"
[posts] [posts]

View File

@@ -1,22 +1,17 @@
[category]
other = "categorie"
[categories] [categories]
one = "categorie"
other = "categorii" other = "categorii"
[tag]
other = "etichetă"
[tags] [tags]
one = "etichetă"
other = "etichete" other = "etichete"
[series] [series]
one = "serie"
other = "serie" other = "serie"
[author]
other = "autor"
[authors] [authors]
one = "autor"
other = "autori" other = "autori"
[posts] [posts]

View File

@@ -1,11 +1,17 @@
[category] [categories]
other = "категория" one = "категория"
[tag] [tags]
other = "тэг" one = "тэг"
[series] [series]
other = "серии" one = "серии"
[authors]
one = "автор"
[posts]
other = "статьи"
[reading_time] [reading_time]
one = "Читать одну минуту" one = "Читать одну минуту"
@@ -24,11 +30,5 @@ other = "Можете вернуться обратно на <a href=\"{{ . }}\"
[powered_by] [powered_by]
other = "Работает на" other = "Работает на"
[author]
other = "автор"
[posts]
other = "статьи"
[see_also] [see_also]
other = "Также смотреть" other = "Также смотреть"

View File

@@ -1,22 +1,17 @@
[category]
other = "Kategori"
[categories] [categories]
one = "Kategori"
other = "Katgorier" other = "Katgorier"
[tag]
other = "Tagg"
[tags] [tags]
one = "Tagg"
other = "Taggar" other = "Taggar"
[series] [series]
one = "Serie"
other = "Serie" other = "Serie"
[author]
other = "Författare"
[authors] [authors]
one = "Författare"
other = "Författare" other = "Författare"
[posts] [posts]

View File

@@ -1,14 +1,17 @@
[posts] [categories]
other = "články" one = "kategória"
[category] [tags]
other = "kategória" one = "téma"
[tag]
other = "téma"
[series] [series]
other = "diel" one = "diel"
[authors]
one = "autor"
[posts]
other = "články"
[reading_time] [reading_time]
one = "Prečítate si za minútu" one = "Prečítate si za minútu"
@@ -28,8 +31,5 @@ other = "Späť na <a href=\"{{ . }}\">domácu stránku</a>."
[see_also] [see_also]
other = "Pozrite tiež" other = "Pozrite tiež"
[author]
other = "autor"
[powered_by] [powered_by]
other = "Táto stránka bola vytvorená cez" other = "Táto stránka bola vytvorená cez"

View File

@@ -1,22 +1,17 @@
[category]
other = "kategori"
[categories] [categories]
one = "kategori"
other = "kategoritë" other = "kategoritë"
[tag]
other = "shenjim"
[tags] [tags]
one = "shenjim"
other = "shenjuesat" other = "shenjuesat"
[series] [series]
one = "seritë"
other = "seritë" other = "seritë"
[author]
other = "autori"
[authors] [authors]
one = "autori"
other = "autorë" other = "autorë"
[posts] [posts]

View File

@@ -1,14 +1,17 @@
[category] [categories]
other = "kategori" one = "kategori"
[tag] [tags]
other = "tag" one = "tag"
[series] [series]
other = "dizi" one = "dizi"
[author] [authors]
other = "yazar" one = "yazar"
[posts]
other = "Gönderiler"
[reading_time] [reading_time]
one = "Bir dakikalık okuma" one = "Bir dakikalık okuma"
@@ -28,6 +31,3 @@ other = "Site program altyapısı"
[see_also] [see_also]
other = "Ayrıca bakınız" other = "Ayrıca bakınız"
[posts]
other = "Gönderiler"

View File

@@ -1,22 +1,17 @@
[category]
other = "分类"
[categories] [categories]
one = "分类"
other = "分类" other = "分类"
[tag]
other = "标签"
[tags] [tags]
one = "标签"
other = "标签" other = "标签"
[series] [series]
one = "系列"
other = "系列" other = "系列"
[author]
other = "作者"
[authors] [authors]
one = "作者"
other = "作者" other = "作者"
[posts] [posts]

View File

@@ -1,14 +1,17 @@
[category] [categories]
other = "分類" one = "分類"
[tag] [tags]
other = "標籤" one = "標籤"
[series] [series]
other = "系列" one = "系列"
[author] [authors]
other = "作者" one = "作者"
[posts]
other = "文章"
[reading_time] [reading_time]
one = "閱讀時間 1 分鐘" one = "閱讀時間 1 分鐘"
@@ -28,6 +31,3 @@ other = "技術支援"
[see_also] [see_also]
other = "參見" other = "參見"
[posts]
other = "文章"

View File

@@ -1,10 +1,9 @@
{{ define "title" }} {{ define "title" }}
{{- if eq .Kind "term" -}} {{- if eq .Kind "term" -}}
{{- i18n .Data.Singular | title -}} {{- i18n .Data.Plural 1 | title -}}
{{- print ": " -}} {{- print ": " -}}
{{- end -}} {{- end -}}
{{- i18n (lower .Title) | default .Title | title }} · {{ .Site.Title -}}
{{- .Title }} · {{ .Site.Title -}}
{{ end }} {{ end }}
{{ define "content" }} {{ define "content" }}
{{ partial "list.html" . }} {{ partial "list.html" . }}

View File

@@ -1,10 +1,9 @@
{{ define "title" }} {{ define "title" }}
{{- if eq .Kind "term" -}} {{- if eq .Kind "term" -}}
{{- i18n .Data.Singular | title -}} {{- i18n .Data.Plural | title -}}
{{- print ": " -}} {{- print ": " -}}
{{- end -}} {{- end -}}
{{- i18n (lower .Title) | default .Title | title }} · {{ .Site.Title -}}
{{- .Title }} · {{ .Site.Title -}}
{{ end }} {{ end }}
{{ define "content" }} {{ define "content" }}
{{ partial "terms.html" . }} {{ partial "terms.html" . }}

View File

@@ -2,10 +2,9 @@
<h1 class="title"> <h1 class="title">
<a class="title-link" href="{{ .Permalink | safeURL }}"> <a class="title-link" href="{{ .Permalink | safeURL }}">
{{- if eq .Kind "term" -}} {{- if eq .Kind "term" -}}
{{- i18n .Data.Singular | title -}} {{- i18n .Data.Plural 1 | title -}}
{{- print ": " -}} {{- print ": " -}}
{{- end -}} {{- end -}}
{{- i18n (lower .Title) | default .Title | title -}} {{- i18n (lower .Title) | default .Title | title -}}
</a> </a>
</h1> </h1>

View File

@@ -2,10 +2,9 @@
<h1 class="title"> <h1 class="title">
<a class="title-link" href="{{ .Permalink | safeURL }}"> <a class="title-link" href="{{ .Permalink | safeURL }}">
{{- if eq .Kind "term" -}} {{- if eq .Kind "term" -}}
{{- i18n .Data.Singular | title -}} {{- i18n .Data.Plural | title -}}
{{- print ": " -}} {{- print ": " -}}
{{- end -}} {{- end -}}
{{- i18n (lower .Title) | default .Title | title -}} {{- i18n (lower .Title) | default .Title | title -}}
</a> </a>
</h1> </h1>