i18n/br.toml:[repliestext]
i18n/br.toml- one = "Resposta tipicamente em 1 hora."
i18n/br.toml- other = "Resposta tipicamente em {{ .Count }} horas."
--
i18n/de-AT.toml:[repliestext]
i18n/de-AT.toml- one = "Antworten innerhalb von 1 Stunde."
i18n/de-AT.toml- other = "Antworten innerhalb von {{ .Count }} Stunden."
--
i18n/en.toml:[repliestext]
i18n/en.toml- one = "Replies typically within 1 hour."
i18n/en.toml- other = "Replies typically within {{ .Count }} hours."
--
i18n/es.toml:[repliestext]
i18n/es.toml- one = "Responde normalmente en 1 hora."
i18n/es.toml- other = "Responde normalmente en {{ .Count }} horas."
--
i18n/fr.toml:[repliestext]
i18n/fr.toml- one = "Réponse généralement en 1 heure."
i18n/fr.toml- other = "Réponse généralement en {{ .Count }} heures."
--
i18n/pl.toml:[repliestext]
i18n/pl.toml- one = "Odpowiada zazwyczaj w ciagu 1 godzina."
i18n/pl.toml- other = "Odpowiada zazwyczaj w ciagu {{ .Count }} godziny."
--
i18n/zh-CN.toml:[repliestext]
i18n/zh-CN.toml- other = "一般回应需时 {{ .Count }} 小时"
i18n/zh-CN.toml-[submit]
--
i18n/zh-TW.toml:[repliestext]
i18n/zh-TW.toml- other = "一般回应需时 {{ .Count }} 小时"
i18n/zh-TW.toml-[submit]
--
layouts/contact/list.html: <h4>{{ i18n "repliestext" .Params.contactanswertime }}</h4>
layouts/contact/list.html- <fieldset>
layouts/contact/list.html- <input placeholder="{{ with .Params.contactname }}{{ . }}{{ else }}Name{{ end }}" type="text" name="name" tabindex="1" required autofocus>
From Unicode’s plural rules found in the linked Hugo issue, we see that there’re two missing lines in i18n/pl.toml breaking the plural behavior.
diff --git a/i18n/pl.toml b/i18n/pl.toml
index 91f21d0..ba18ca4 100644
--- a/i18n/pl.toml
+++ b/i18n/pl.toml
@@ -2,6 +2,8 @@
other = "2-1-2006"
[postreadingtime]
one = "1 minuta czytania"
+ few = "{{ .Count }} minuty czytania"
+ many = "{{ .Count }} minuty czytania"
other = "{{ .Count }} minuty czytania"
[recent_posts]
other = "Ostatnie posty"
@@ -27,6 +29,8 @@
other = "dowiedz się więcej"
[repliestext]
one = "Odpowiada zazwyczaj w ciagu 1 godzina."
+ few = "Odpowiada zazwyczaj w ciagu {{ .Count }} godziny."
+ many = "Odpowiada zazwyczaj w ciagu {{ .Count }} godziny."
other = "Odpowiada zazwyczaj w ciagu {{ .Count }} godziny."
[submit]
other = "Prześlij"
Adding the missing cases few and many back gives the desired result.
Since the i18n/br.toml has existed long before I started contributing to Hugo Future Imperfect Slim, renaming this might trigger backwards compatibility issues.
This solution indicates that it is an unknown language code, breaking the standard. It that may cause some problems down the line if you want to use language code for SEO meta tags or to output sitemaps.