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 'sv_SE/sv_SE.go')
-rw-r--r--sv_SE/sv_SE.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/sv_SE/sv_SE.go b/sv_SE/sv_SE.go
index 54c977ef..085c65e1 100644
--- a/sv_SE/sv_SE.go
+++ b/sv_SE/sv_SE.go
@@ -68,7 +68,7 @@ func New() locales.Translator {
erasAbbreviated: []string{"f.Kr.", "e.Kr."},
erasNarrow: []string{"f.Kr.", "e.Kr."},
erasWide: []string{"före Kristus", "efter Kristus"},
- timezones: map[string]string{"COT": "colombiansk normaltid", "MEZ": "centraleuropeisk normaltid", "BOT": "boliviansk tid", "EST": "östnordamerikansk normaltid", "HADT": "Honolulu, sommartid", "AWST": "västaustralisk normaltid", "WARST": "västargentinsk sommartid", "JDT": "japansk sommartid", "∅∅∅": "azorisk sommartid", "AST": "nordamerikansk atlantnormaltid", "ART": "östargentinsk normaltid", "GFT": "Franska Guyanatid", "HNT": "Newfoundland, normaltid", "EDT": "östnordamerikansk sommartid", "SAST": "sydafrikansk tid", "ChST": "Chamorrotid", "CDT": "centralnordamerikansk sommartid", "CLST": "chilensk sommartid", "IST": "indisk tid", "CST": "centralnordamerikansk normaltid", "AWDT": "västaustralisk sommartid", "GMT": "Greenwichtid", "TMT": "turkmensk normaltid", "WITA": "centralindonesisk tid", "WART": "västargentinsk normaltid", "WAST": "västafrikansk sommartid", "CHAST": "Chatham, normaltid", "ARST": "östargentinsk sommartid", "EAT": "östafrikansk tid", "SGT": "Singaporetid", "AKDT": "Alaska, sommartid", "SRT": "Surinamtid", "CHADT": "Chatham, sommartid", "NZST": "nyzeeländsk normaltid", "MESZ": "centraleuropeisk sommartid", "WESZ": "västeuropeisk sommartid", "WIB": "västindonesisk tid", "HKST": "Hongkong, sommartid", "UYST": "uruguayansk sommartid", "ACWDT": "västcentralaustralisk sommartid", "WAT": "västafrikansk normaltid", "ACDT": "centralaustralisk sommartid", "GYT": "Guyanatid", "PDT": "västnordamerikansk sommartid", "ACST": "centralaustralisk normaltid", "TMST": "turkmensk sommartid", "OEZ": "östeuropeisk normaltid", "BT": "bhutansk tid", "ACWST": "västcentralaustralisk normaltid", "WEZ": "västeuropeisk normaltid", "ECT": "ecuadoriansk tid", "JST": "japansk normaltid", "OESZ": "östeuropeisk sommartid", "HAT": "Newfoundland, sommartid", "LHST": "Lord Howe, normaltid", "NZDT": "nyzeeländsk sommartid", "PST": "västnordamerikansk normaltid", "CLT": "chilensk normaltid", "WIT": "östindonesisk tid", "MDT": "Klippiga bergen, sommartid", "AKST": "Alaska, normaltid", "ADT": "nordamerikansk atlantsommartid", "UYT": "uruguayansk normaltid", "MST": "Klippiga bergen, normaltid", "HKT": "Hongkong, normaltid", "AEST": "östaustralisk normaltid", "AEDT": "östaustralisk sommartid", "LHDT": "Lord Howe, sommartid", "VET": "venezuelansk tid", "COST": "colombiansk sommartid", "MYT": "malaysisk tid", "HAST": "Honolulu, normaltid", "CAT": "centralafrikansk tid"},
+ timezones: map[string]string{"OESZ": "östeuropeisk sommartid", "UYST": "uruguayansk sommartid", "EDT": "östnordamerikansk sommartid", "GMT": "Greenwichtid", "AWDT": "västaustralisk sommartid", "JDT": "japansk sommartid", "ChST": "Chamorrotid", "CHADT": "Chatham, sommartid", "WESZ": "västeuropeisk sommartid", "COST": "colombiansk sommartid", "HADT": "Honolulu, sommartid", "WARST": "västargentinsk sommartid", "LHDT": "Lord Howe, sommartid", "CLT": "chilensk normaltid", "WAT": "västafrikansk normaltid", "HNT": "Newfoundland, normaltid", "ART": "östargentinsk normaltid", "ARST": "östargentinsk sommartid", "AEST": "östaustralisk normaltid", "CDT": "centralnordamerikansk sommartid", "MDT": "Klippiga bergen, sommartid", "COT": "colombiansk normaltid", "CAT": "centralafrikansk tid", "WIT": "östindonesisk tid", "AWST": "västaustralisk normaltid", "NZDT": "nyzeeländsk sommartid", "TMT": "turkmensk normaltid", "MYT": "malaysisk tid", "MESZ": "centraleuropeisk sommartid", "CST": "centralnordamerikansk normaltid", "CHAST": "Chatham, normaltid", "GFT": "Franska Guyanatid", "ACST": "centralaustralisk normaltid", "TMST": "turkmensk sommartid", "SRT": "Surinamtid", "∅∅∅": "azorisk sommartid", "AEDT": "östaustralisk sommartid", "JST": "japansk normaltid", "AKST": "Alaska, normaltid", "CLST": "chilensk sommartid", "VET": "venezuelansk tid", "WEZ": "västeuropeisk normaltid", "BT": "bhutansk tid", "ACDT": "centralaustralisk sommartid", "LHST": "Lord Howe, normaltid", "MST": "Klippiga bergen, normaltid", "AST": "nordamerikansk atlantnormaltid", "ADT": "nordamerikansk atlantsommartid", "GYT": "Guyanatid", "ACWDT": "västcentralaustralisk sommartid", "EST": "östnordamerikansk normaltid", "HKT": "Hongkong, normaltid", "HKST": "Hongkong, sommartid", "WART": "västargentinsk normaltid", "WIB": "västindonesisk tid", "EAT": "östafrikansk tid", "ACWST": "västcentralaustralisk normaltid", "BOT": "boliviansk tid", "ECT": "ecuadoriansk tid", "IST": "indisk tid", "NZST": "nyzeeländsk normaltid", "UYT": "uruguayansk normaltid", "HAST": "Honolulu, normaltid", "SAST": "sydafrikansk tid", "OEZ": "östeuropeisk normaltid", "HAT": "Newfoundland, sommartid", "PDT": "västnordamerikansk sommartid", "WAST": "västafrikansk sommartid", "AKDT": "Alaska, sommartid", "MEZ": "centraleuropeisk normaltid", "SGT": "Singaporetid", "WITA": "centralindonesisk tid", "PST": "västnordamerikansk normaltid"},
}
}
@@ -109,8 +109,8 @@ func (sv *sv_SE) CardinalPluralRule(num float64, v uint64) locales.PluralRule {
func (sv *sv_SE) 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 == 1 || nMod10 == 2) && (nMod100 != 11 && nMod100 != 12) {
return locales.PluralRuleOne
@@ -241,7 +241,7 @@ func (sv *sv_SE) FmtNumber(num float64, v uint64) string {
// NOTE: 'num' passed into FmtPercent is assumed to be in percent already
func (sv *sv_SE) FmtPercent(num float64, v uint64) string {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
- l := len(s) + len(sv.decimal)
+ l := len(s) + 8
b := make([]byte, 0, l)
for i := len(s) - 1; i >= 0; i-- {