Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/locales.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'uk_UA/uk_UA.go')
-rw-r--r--uk_UA/uk_UA.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/uk_UA/uk_UA.go b/uk_UA/uk_UA.go
index b01430bf..d9b47f60 100644
--- a/uk_UA/uk_UA.go
+++ b/uk_UA/uk_UA.go
@@ -72,8 +72,8 @@ func (uk *uk_UA) CardinalPluralRule(num float64, v uint64) locales.PluralRule {
func (uk *uk_UA) OrdinalPluralRule(num float64, v uint64) locales.PluralRule {
n := math.Abs(num)
- nMod10 := math.Mod(n, 10)
nMod100 := math.Mod(n, 100)
+ nMod10 := math.Mod(n, 10)
if nMod10 == 3 && nMod100 != 13 {
return locales.PluralRuleFew
@@ -201,7 +201,7 @@ func (uk *uk_UA) FmtPercent(num float64, v uint64) []byte {
b[i], b[j] = b[j], b[i]
}
- b = append(b, uk.Percent[0])
+ b = append(b, uk.percent...)
return b
}