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
path: root/de_LI
diff options
context:
space:
mode:
authorDean Karn <Dean.Karn@metricaid.com>2016-09-11 23:22:25 +0300
committerDean Karn <Dean.Karn@metricaid.com>2016-09-11 23:22:25 +0300
commita75cdd71617f0998215f56f506ec9aabead36101 (patch)
tree5e2057a519c8cd8060a923888895c6285f74532b /de_LI
parentc83f384137b60783b605590315e9791a34829443 (diff)
a few more low level optimizationsbytes-to-string
Diffstat (limited to 'de_LI')
-rw-r--r--de_LI/de_LI.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/de_LI/de_LI.go b/de_LI/de_LI.go
index 7925e6ca..3ec37f1e 100644
--- a/de_LI/de_LI.go
+++ b/de_LI/de_LI.go
@@ -47,7 +47,7 @@ func New() locales.Translator {
locale: "de_LI",
pluralsCardinal: []locales.PluralRule{2, 6},
pluralsOrdinal: []locales.PluralRule{6},
- pluralsRange: []locales.PluralRule{2, 6},
+ pluralsRange: []locales.PluralRule{6, 2},
decimal: ".",
group: "'",
minus: "-",
@@ -71,7 +71,7 @@ func New() locales.Translator {
erasAbbreviated: []string{"v. Chr.", "n. Chr."},
erasNarrow: []string{"v. Chr.", "n. Chr."},
erasWide: []string{"v. Chr.", "n. Chr."},
- timezones: map[string]string{"ADT": "Atlantik-Sommerzeit", "HNT": "Neufundland-Normalzeit", "EDT": "Nordamerikanische Ostküsten-Sommerzeit", "LHDT": "Lord-Howe-Sommerzeit", "BOT": "Bolivianische Zeit", "EAT": "Ostafrikanische Zeit", "WART": "Westargentinische Normalzeit", "TMST": "Turkmenistan-Sommerzeit", "AEDT": "Ostaustralische Sommerzeit", "PDT": "Nordamerikanische Westküsten-Sommerzeit", "ACWDT": "Zentral-/Westaustralische Sommerzeit", "WIB": "Westindonesische Zeit", "NZST": "Neuseeland-Normalzeit", "CAT": "Zentralafrikanische Zeit", "JST": "Japanische Normalzeit", "HKST": "Hongkong-Sommerzeit", "OESZ": "Osteuropäische Sommerzeit", "MESZ": "Mitteleuropäische Sommerzeit", "SRT": "Suriname-Zeit", "WESZ": "Westeuropäische Sommerzeit", "AWST": "Westaustralische Normalzeit", "ACDT": "Zentralaustralische Sommerzeit", "UYT": "Uruguyanische Normalzeit", "WAT": "Westafrikanische Normalzeit", "HKT": "Hongkong-Normalzeit", "ECT": "Ecuadorianische Zeit", "COST": "Kolumbianische Sommerzeit", "COT": "Kolumbianische Normalzeit", "ART": "Argentinische Normalzeit", "EST": "Nordamerikanische Ostküsten-Normalzeit", "HADT": "Hawaii-Aleuten-Sommerzeit", "SAST": "Südafrikanische Zeit", "WIT": "Ostindonesische Zeit", "WEZ": "Westeuropäische Normalzeit", "ACST": "Zentralaustralische Normalzeit", "CHAST": "Chatham-Normalzeit", "ARST": "Argentinische Sommerzeit", "AEST": "Ostaustralische Normalzeit", "VET": "Venezuela-Zeit", "AKDT": "Alaska-Sommerzeit", "MDT": "Rocky-Mountain-Sommerzeit", "GFT": "Französisch-Guayana-Zeit", "GYT": "Guyana-Zeit", "MYT": "Malaysische Zeit", "∅∅∅": "Azoren-Sommerzeit", "AKST": "Alaska-Normalzeit", "CLST": "Chilenische Sommerzeit", "ACWST": "Zentral-/Westaustralische Normalzeit", "CHADT": "Chatham-Sommerzeit", "MEZ": "Mitteleuropäische Normalzeit", "HAT": "Neufundland-Sommerzeit", "IST": "Indische Zeit", "SGT": "Singapur-Zeit", "HAST": "Hawaii-Aleuten-Normalzeit", "TMT": "Turkmenistan-Normalzeit", "GMT": "Mittlere Greenwich-Zeit", "BT": "Bhutan-Zeit", "AST": "Atlantik-Normalzeit", "NZDT": "Neuseeland-Sommerzeit", "OEZ": "Osteuropäische Normalzeit", "LHST": "Lord-Howe-Normalzeit", "PST": "Nordamerikanische Westküsten-Normalzeit", "WAST": "Westafrikanische Sommerzeit", "CST": "Nordamerikanische Inland-Normalzeit", "JDT": "Japanische Sommerzeit", "AWDT": "Westaustralische Sommerzeit", "UYST": "Uruguayanische Sommerzeit", "WARST": "Westargentinische Sommerzeit", "MST": "Rocky Mountain-Normalzeit", "CDT": "Nordamerikanische Inland-Sommerzeit", "ChST": "Chamorro-Zeit", "WITA": "Zentralindonesische Zeit", "CLT": "Chilenische Normalzeit"},
+ timezones: map[string]string{"CLT": "Chilenische Normalzeit", "WAT": "Westafrikanische Normalzeit", "HKT": "Hongkong-Normalzeit", "ACST": "Zentralaustralische Normalzeit", "AWDT": "Westaustralische Sommerzeit", "LHDT": "Lord-Howe-Sommerzeit", "CHADT": "Chatham-Sommerzeit", "OESZ": "Osteuropäische Sommerzeit", "ACDT": "Zentralaustralische Sommerzeit", "AEST": "Ostaustralische Normalzeit", "MST": "Rocky Mountain-Normalzeit", "MDT": "Rocky-Mountain-Sommerzeit", "SAST": "Südafrikanische Zeit", "WAST": "Westafrikanische Sommerzeit", "IST": "Indische Zeit", "BOT": "Bolivianische Zeit", "WEZ": "Westeuropäische Normalzeit", "ECT": "Ecuadorianische Zeit", "PDT": "Nordamerikanische Westküsten-Sommerzeit", "CLST": "Chilenische Sommerzeit", "∅∅∅": "Brasília-Sommerzeit", "CAT": "Zentralafrikanische Zeit", "EST": "Nordamerikanische Ostküsten-Normalzeit", "GMT": "Mittlere Greenwich-Zeit", "JDT": "Japanische Sommerzeit", "WART": "Westargentinische Normalzeit", "MYT": "Malaysische Zeit", "UYST": "Uruguayanische Sommerzeit", "ACWDT": "Zentral-/Westaustralische Sommerzeit", "SGT": "Singapur-Zeit", "WARST": "Westargentinische Sommerzeit", "HAT": "Neufundland-Sommerzeit", "PST": "Nordamerikanische Westküsten-Normalzeit", "NZST": "Neuseeland-Normalzeit", "HKST": "Hongkong-Sommerzeit", "GFT": "Französisch-Guayana-Zeit", "TMST": "Turkmenistan-Sommerzeit", "ACWST": "Zentral-/Westaustralische Normalzeit", "AST": "Atlantik-Normalzeit", "EAT": "Ostafrikanische Zeit", "COST": "Kolumbianische Sommerzeit", "ART": "Argentinische Normalzeit", "ARST": "Argentinische Sommerzeit", "CST": "Nordamerikanische Inland-Normalzeit", "MEZ": "Mitteleuropäische Normalzeit", "MESZ": "Mitteleuropäische Sommerzeit", "WIB": "Westindonesische Zeit", "TMT": "Turkmenistan-Normalzeit", "WESZ": "Westeuropäische Sommerzeit", "AEDT": "Ostaustralische Sommerzeit", "VET": "Venezuela-Zeit", "HAST": "Hawaii-Aleuten-Normalzeit", "BT": "Bhutan-Zeit", "WITA": "Zentralindonesische Zeit", "UYT": "Uruguyanische Normalzeit", "CHAST": "Chatham-Normalzeit", "ADT": "Atlantik-Sommerzeit", "WIT": "Ostindonesische Zeit", "AKDT": "Alaska-Sommerzeit", "SRT": "Suriname-Zeit", "COT": "Kolumbianische Normalzeit", "AKST": "Alaska-Normalzeit", "AWST": "Westaustralische Normalzeit", "ChST": "Chamorro-Zeit", "EDT": "Nordamerikanische Ostküsten-Sommerzeit", "HNT": "Neufundland-Normalzeit", "GYT": "Guyana-Zeit", "JST": "Japanische Normalzeit", "NZDT": "Neuseeland-Sommerzeit", "HADT": "Hawaii-Aleuten-Sommerzeit", "OEZ": "Osteuropäische Normalzeit", "LHST": "Lord-Howe-Normalzeit", "CDT": "Nordamerikanische Inland-Sommerzeit"},
}
}
@@ -244,7 +244,7 @@ func (de *de_LI) FmtNumber(num float64, v uint64) string {
// NOTE: 'num' passed into FmtPercent is assumed to be in percent already
func (de *de_LI) FmtPercent(num float64, v uint64) string {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
- l := len(s) + len(de.decimal)
+ l := len(s) + 3
b := make([]byte, 0, l)
for i := len(s) - 1; i >= 0; i-- {