From 71f577b171f6208fff7de47c7dad087955aa5fae Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 16 Apr 2026 12:54:14 +0200 Subject: feat: i18n singular/plural post count on taxonomy list Replace hardcoded "Posts: N" with i18n "postCount" key using Hugo's pluralization support (one/other forms). Renders "1 post" or "N posts" in English, "1 articolo" or "N articoli" in Italian. Co-Authored-By: Claude Haiku 4.5 --- i18n/it.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'i18n/it.yaml') diff --git a/i18n/it.yaml b/i18n/it.yaml index 9fd729e..6bc291f 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -26,6 +26,9 @@ tag: "Tag" tags: "Tag" relatedPosts: "Articoli correlati" noRelated: "Nessun articolo correlato." +postCount: + one: "1 articolo" + other: "{{ . }} articoli" # Article types life: "Vita" -- cgit v1.2.3