diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-16 12:54:14 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-16 12:54:14 +0200 |
| commit | 71f577b171f6208fff7de47c7dad087955aa5fae (patch) | |
| tree | a5bebf376a8f98e2e2f8312ae7a0c6bce39c4a3a /i18n/it.yaml | |
| parent | 631505e0c403c9e2e4e5687ee121f0d1bd371b8c (diff) | |
| download | danixxyz-fix/taxonomy-layouts.tar.gz danixxyz-fix/taxonomy-layouts.zip | |
feat: i18n singular/plural post count on taxonomy listfix/taxonomy-layouts
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 <noreply@anthropic.com>
Diffstat (limited to 'i18n/it.yaml')
| -rw-r--r-- | i18n/it.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
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" |
