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