From d14dd837ec4077073ac3372cd77673c7d672d871 Mon Sep 17 00:00:00 2001
From: Alphonse Mariya <alphonse.mariya@hotmail.com>
Date: Sun, 26 Dec 2021 18:18:00 +0000
Subject: [PATCH] Use plural translation keys for taxonomies (#620)
---
layouts/partials/terms.html | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/layouts/partials/terms.html b/layouts/partials/terms.html
index 7d51e57..e764483 100644
--- a/layouts/partials/terms.html
+++ b/layouts/partials/terms.html
@@ -2,10 +2,9 @@
<h1 class="title">
<a class="title-link" href="{{ .Permalink | safeURL }}">
{{- if eq .Kind "term" -}}
- {{- i18n .Data.Singular | title -}}
- {{- print ": " -}}
+ {{- i18n .Data.Plural | title -}}
+ {{- print ": " -}}
{{- end -}}
-
{{- i18n (lower .Title) | default .Title | title -}}
</a>
</h1>
--
Gitblit v1.10.0