From 775277039eab2161823621329902622b1cc17a23 Mon Sep 17 00:00:00 2001
From: Marco Kinski <kinski@genodata.de>
Date: Fri, 01 Oct 2021 17:23:28 +0000
Subject: [PATCH] i18n made WordCount and ReadingTime singular/plural aware (#363)
---
i18n/en.toml | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/i18n/en.toml b/i18n/en.toml
index 5adbe27..755e3b0 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -34,5 +34,13 @@
[taxonomyPageList]
other = "Below you will find pages that utilize the taxonomy term “{{ .Title }}”"
+[readingTime]
+one = "One minute read"
+other = "{{ .Count }} minutes read"
+
+[wordCount]
+one = "One word"
+other = "{{ .Count }} words"
+
[pageTitle]
-other = "{{ .Name }} page"
\ No newline at end of file
+other = "{{ .Name }} page"
--
Gitblit v1.10.0