From 1fb0bc29dbb900836b10988ac95fa6ea023306da Mon Sep 17 00:00:00 2001 From: the7thNightmare Date: Mon, 20 Feb 2023 08:00:52 +0700 Subject: [PATCH] Update the plural for Indonesian Copied from the zh_CN plural --- locale/plural.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/locale/plural.go b/locale/plural.go index f805555a..9fe21af1 100644 --- a/locale/plural.go +++ b/locale/plural.go @@ -53,6 +53,10 @@ var pluralForms = map[string]pluralFormFunc{ return 2 }, + // nplurals=1; plural=0; + "id_ID": func(n int) int { + return 0 + }, // nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); "pl_PL": func(n int) int { if n == 1 {