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 'bs_Latn_BA/bs_Latn_BA.go')
-rw-r--r--bs_Latn_BA/bs_Latn_BA.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/bs_Latn_BA/bs_Latn_BA.go b/bs_Latn_BA/bs_Latn_BA.go
index cf22b3ef..1c96f3b5 100644
--- a/bs_Latn_BA/bs_Latn_BA.go
+++ b/bs_Latn_BA/bs_Latn_BA.go
@@ -55,10 +55,10 @@ func (bs *bs_Latn_BA) CardinalPluralRule(num float64, v uint64) locales.PluralRu
n := math.Abs(num)
i := int64(n)
f := locales.F(n, v)
- iMod100 := i % 100
iMod10 := i % 10
- fMod10 := f % 10
+ iMod100 := i % 100
fMod100 := f % 100
+ fMod10 := f % 10
if (v == 0 && iMod10 == 1 && iMod100 != 11) || (fMod10 == 1 && fMod100 != 11) {
return locales.PluralRuleOne
@@ -176,7 +176,7 @@ func (bs *bs_Latn_BA) FmtPercent(num float64, v uint64) []byte {
b[i], b[j] = b[j], b[i]
}
- b = append(b, bs.Percent[0])
+ b = append(b, bs.percent...)
return b
}