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/tr/tr.go
diff options
context:
space:
mode:
Diffstat (limited to 'tr/tr.go')
-rw-r--r--tr/tr.go216
1 files changed, 95 insertions, 121 deletions
diff --git a/tr/tr.go b/tr/tr.go
index d0aaedbe..b134018b 100644
--- a/tr/tr.go
+++ b/tr/tr.go
@@ -14,32 +14,32 @@ type tr struct {
pluralsCardinal []locales.PluralRule
pluralsOrdinal []locales.PluralRule
pluralsRange []locales.PluralRule
- decimal []byte
- group []byte
- minus []byte
- percent []byte
- perMille []byte
- timeSeparator []byte
- inifinity []byte
- currencies [][]byte // idx = enum of currency code
- currencyPositiveSuffix []byte
- currencyNegativePrefix []byte
- currencyNegativeSuffix []byte
- monthsAbbreviated [][]byte
- monthsNarrow [][]byte
- monthsWide [][]byte
- daysAbbreviated [][]byte
- daysNarrow [][]byte
- daysShort [][]byte
- daysWide [][]byte
- periodsAbbreviated [][]byte
- periodsNarrow [][]byte
- periodsShort [][]byte
- periodsWide [][]byte
- erasAbbreviated [][]byte
- erasNarrow [][]byte
- erasWide [][]byte
- timezones map[string][]byte
+ decimal string
+ group string
+ minus string
+ percent string
+ perMille string
+ timeSeparator string
+ inifinity string
+ currencies []string // idx = enum of currency code
+ currencyPositiveSuffix string
+ currencyNegativePrefix string
+ currencyNegativeSuffix string
+ monthsAbbreviated []string
+ monthsNarrow []string
+ monthsWide []string
+ daysAbbreviated []string
+ daysNarrow []string
+ daysShort []string
+ daysWide []string
+ periodsAbbreviated []string
+ periodsNarrow []string
+ periodsShort []string
+ periodsWide []string
+ erasAbbreviated []string
+ erasNarrow []string
+ erasWide []string
+ timezones map[string]string
}
// New returns a new instance of translator for the 'tr' locale
@@ -49,31 +49,31 @@ func New() locales.Translator {
pluralsCardinal: []locales.PluralRule{2, 6},
pluralsOrdinal: []locales.PluralRule{6},
pluralsRange: []locales.PluralRule{6, 2},
- decimal: []byte{0x2c},
- group: []byte{0x2e},
- minus: []byte{0x2d},
- percent: []byte{0x25},
- perMille: []byte{0xe2, 0x80, 0xb0},
- timeSeparator: []byte{0x3a},
- inifinity: []byte{0xe2, 0x88, 0x9e},
- currencies: [][]uint8{{0x41, 0x44, 0x50}, {0x41, 0x45, 0x44}, {0x41, 0x46, 0x41, 0x20}, {0x41, 0x46, 0x4e}, {0x41, 0x4c, 0x4b, 0x20}, {0x41, 0x4c, 0x4c}, {0x41, 0x4d, 0x44}, {0x41, 0x4e, 0x47}, {0x41, 0x4f, 0x41}, {0x41, 0x4f, 0x4b, 0x20}, {0x41, 0x4f, 0x4e, 0x20}, {0x41, 0x4f, 0x52, 0x20}, {0x41, 0x52, 0x41}, {0x41, 0x52, 0x4c}, {0x41, 0x52, 0x4d}, {0x41, 0x52, 0x50}, {0x41, 0x52, 0x53}, {0x41, 0x54, 0x53}, {0x41, 0x55, 0x24}, {0x41, 0x57, 0x47}, {0x41, 0x5a, 0x4d}, {0x41, 0x5a, 0x4e}, {0x42, 0x41, 0x44}, {0x42, 0x41, 0x4d}, {0x42, 0x41, 0x4e}, {0x42, 0x42, 0x44}, {0x42, 0x44, 0x54}, {0x42, 0x45, 0x43}, {0x42, 0x45, 0x46}, {0x42, 0x45, 0x4c}, {0x42, 0x47, 0x4c}, {0x42, 0x47, 0x4d}, {0x42, 0x47, 0x4e}, {0x42, 0x47, 0x4f}, {0x42, 0x48, 0x44}, {0x42, 0x49, 0x46}, {0x42, 0x4d, 0x44}, {0x42, 0x4e, 0x44}, {0x42, 0x4f, 0x42}, {0x42, 0x4f, 0x4c}, {0x42, 0x4f, 0x50}, {0x42, 0x4f, 0x56}, {0x42, 0x52, 0x42}, {0x42, 0x52, 0x43}, {0x42, 0x52, 0x45}, {0x52, 0x24}, {0x42, 0x52, 0x4e}, {0x42, 0x52, 0x52}, {0x42, 0x52, 0x5a}, {0x42, 0x53, 0x44}, {0x42, 0x54, 0x4e}, {0x42, 0x55, 0x4b}, {0x42, 0x57, 0x50}, {0x42, 0x59, 0x42}, {0x42, 0x59, 0x52}, {0x42, 0x5a, 0x44}, {0x43, 0x41, 0x24}, {0x43, 0x44, 0x46}, {0x43, 0x48, 0x45}, {0x43, 0x48, 0x46}, {0x43, 0x48, 0x57}, {0x43, 0x4c, 0x45}, {0x43, 0x4c, 0x46}, {0x43, 0x4c, 0x50}, {0x43, 0x4e, 0x58, 0x20}, {0x43, 0x4e, 0xc2, 0xa5}, {0x43, 0x4f, 0x50}, {0x43, 0x4f, 0x55}, {0x43, 0x52, 0x43}, {0x43, 0x53, 0x44}, {0x43, 0x53, 0x4b}, {0x43, 0x55, 0x43}, {0x43, 0x55, 0x50}, {0x43, 0x56, 0x45}, {0x43, 0x59, 0x50}, {0x43, 0x5a, 0x4b}, {0x44, 0x44, 0x4d}, {0x44, 0x45, 0x4d}, {0x44, 0x4a, 0x46}, {0x44, 0x4b, 0x4b}, {0x44, 0x4f, 0x50}, {0x44, 0x5a, 0x44}, {0x45, 0x43, 0x53}, {0x45, 0x43, 0x56}, {0x45, 0x45, 0x4b}, {0x45, 0x47, 0x50}, {0x45, 0x52, 0x4e}, {0x45, 0x53, 0x41}, {0x45, 0x53, 0x42}, {0x45, 0x53, 0x50}, {0x45, 0x54, 0x42}, {0xe2, 0x82, 0xac}, {0x46, 0x49, 0x4d}, {0x46, 0x4a, 0x44}, {0x46, 0x4b, 0x50}, {0x46, 0x52, 0x46}, {0xc2, 0xa3}, {0x47, 0x45, 0x4b}, {0x47, 0x45, 0x4c}, {0x47, 0x48, 0x43, 0x20}, {0x47, 0x48, 0x53}, {0x47, 0x49, 0x50}, {0x47, 0x4d, 0x44}, {0x47, 0x4e, 0x46}, {0x47, 0x4e, 0x53, 0x20}, {0x47, 0x51, 0x45, 0x20}, {0x47, 0x52, 0x44}, {0x47, 0x54, 0x51}, {0x47, 0x57, 0x45, 0x20}, {0x47, 0x57, 0x50, 0x20}, {0x47, 0x59, 0x44}, {0x48, 0x4b, 0x24}, {0x48, 0x4e, 0x4c}, {0x48, 0x52, 0x44}, {0x48, 0x52, 0x4b}, {0x48, 0x54, 0x47}, {0x48, 0x55, 0x46}, {0x49, 0x44, 0x52}, {0x49, 0x45, 0x50}, {0x49, 0x4c, 0x50}, {0x49, 0x4c, 0x52, 0x20}, {0xe2, 0x82, 0xaa}, {0xe2, 0x82, 0xb9}, {0x49, 0x51, 0x44}, {0x49, 0x52, 0x52}, {0x49, 0x53, 0x4a, 0x20}, {0x49, 0x53, 0x4b}, {0x49, 0x54, 0x4c}, {0x4a, 0x4d, 0x44}, {0x4a, 0x4f, 0x44}, {0xc2, 0xa5}, {0x4b, 0x45, 0x53}, {0x4b, 0x47, 0x53}, {0x4b, 0x48, 0x52}, {0x4b, 0x4d, 0x46}, {0x4b, 0x50, 0x57}, {0x4b, 0x52, 0x48}, {0x4b, 0x52, 0x4f}, {0xe2, 0x82, 0xa9}, {0x4b, 0x57, 0x44}, {0x4b, 0x59, 0x44}, {0x4b, 0x5a, 0x54}, {0x4c, 0x41, 0x4b}, {0x4c, 0x42, 0x50}, {0x4c, 0x4b, 0x52}, {0x4c, 0x52, 0x44}, {0x4c, 0x53, 0x4c, 0x20}, {0x4c, 0x54, 0x4c}, {0x4c, 0x54, 0x54}, {0x4c, 0x55, 0x43}, {0x4c, 0x55, 0x46}, {0x4c, 0x55, 0x4c}, {0x4c, 0x56, 0x4c}, {0x4c, 0x56, 0x52}, {0x4c, 0x59, 0x44}, {0x4d, 0x41, 0x44}, {0x4d, 0x41, 0x46, 0x20}, {0x4d, 0x43, 0x46}, {0x4d, 0x44, 0x43}, {0x4d, 0x44, 0x4c}, {0x4d, 0x47, 0x41}, {0x4d, 0x47, 0x46, 0x20}, {0x4d, 0x4b, 0x44}, {0x4d, 0x4b, 0x4e}, {0x4d, 0x4c, 0x46, 0x20}, {0x4d, 0x4d, 0x4b}, {0x4d, 0x4e, 0x54}, {0x4d, 0x4f, 0x50}, {0x4d, 0x52, 0x4f}, {0x4d, 0x54, 0x4c}, {0x4d, 0x54, 0x50}, {0x4d, 0x55, 0x52}, {0x4d, 0x56, 0x50, 0x20}, {0x4d, 0x56, 0x52}, {0x4d, 0x57, 0x4b}, {0x4d, 0x58, 0x24}, {0x4d, 0x58, 0x50}, {0x4d, 0x58, 0x56}, {0x4d, 0x59, 0x52}, {0x4d, 0x5a, 0x45, 0x20}, {0x4d, 0x5a, 0x4d, 0x20}, {0x4d, 0x5a, 0x4e}, {0x4e, 0x41, 0x44}, {0x4e, 0x47, 0x4e}, {0x4e, 0x49, 0x43}, {0x4e, 0x49, 0x4f}, {0x4e, 0x4c, 0x47}, {0x4e, 0x4f, 0x4b}, {0x4e, 0x50, 0x52}, {0x4e, 0x5a, 0x24}, {0x4f, 0x4d, 0x52}, {0x50, 0x41, 0x42}, {0x50, 0x45, 0x49}, {0x50, 0x45, 0x4e}, {0x50, 0x45, 0x53}, {0x50, 0x47, 0x4b}, {0x50, 0x48, 0x50}, {0x50, 0x4b, 0x52}, {0x50, 0x4c, 0x4e}, {0x50, 0x4c, 0x5a}, {0x50, 0x54, 0x45}, {0x50, 0x59, 0x47}, {0x51, 0x41, 0x52}, {0x52, 0x48, 0x44, 0x20}, {0x52, 0x4f, 0x4c}, {0x52, 0x4f, 0x4e}, {0x52, 0x53, 0x44}, {0x52, 0x55, 0x42}, {0x52, 0x55, 0x52}, {0x52, 0x57, 0x46}, {0x53, 0x41, 0x52}, {0x53, 0x42, 0x44}, {0x53, 0x43, 0x52}, {0x53, 0x44, 0x44, 0x20}, {0x53, 0x44, 0x47}, {0x53, 0x44, 0x50, 0x20}, {0x53, 0x45, 0x4b}, {0x53, 0x47, 0x44}, {0x53, 0x48, 0x50}, {0x53, 0x49, 0x54}, {0x53, 0x4b, 0x4b}, {0x53, 0x4c, 0x4c}, {0x53, 0x4f, 0x53}, {0x53, 0x52, 0x44}, {0x53, 0x52, 0x47}, {0x53, 0x53, 0x50}, {0x53, 0x54, 0x44}, {0x53, 0x55, 0x52}, {0x53, 0x56, 0x43}, {0x53, 0x59, 0x50}, {0x53, 0x5a, 0x4c}, {0xe0, 0xb8, 0xbf}, {0x54, 0x4a, 0x52}, {0x54, 0x4a, 0x53}, {0x54, 0x4d, 0x4d}, {0x54, 0x4d, 0x54}, {0x54, 0x4e, 0x44}, {0x54, 0x4f, 0x50}, {0x54, 0x50, 0x45}, {0x54, 0x52, 0x4c}, {0xe2, 0x82, 0xba}, {0x54, 0x54, 0x44}, {0x4e, 0x54, 0x24}, {0x54, 0x5a, 0x53}, {0x55, 0x41, 0x48}, {0x55, 0x41, 0x4b}, {0x55, 0x47, 0x53, 0x20}, {0x55, 0x47, 0x58}, {0x24}, {0x55, 0x53, 0x4e}, {0x55, 0x53, 0x53}, {0x55, 0x59, 0x49}, {0x55, 0x59, 0x50}, {0x55, 0x59, 0x55}, {0x55, 0x5a, 0x53}, {0x56, 0x45, 0x42}, {0x56, 0x45, 0x46}, {0xe2, 0x82, 0xab}, {0x56, 0x4e, 0x4e}, {0x56, 0x55, 0x56}, {0x57, 0x53, 0x54}, {0x46, 0x43, 0x46, 0x41}, {0x58, 0x41, 0x47}, {0x58, 0x41, 0x55}, {0x58, 0x42, 0x41, 0x20}, {0x58, 0x42, 0x42, 0x20}, {0x58, 0x42, 0x43, 0x20}, {0x58, 0x42, 0x44, 0x20}, {0x45, 0x43, 0x24}, {0x58, 0x44, 0x52, 0x20}, {0x58, 0x45, 0x55}, {0x58, 0x46, 0x4f, 0x20}, {0x58, 0x46, 0x55, 0x20}, {0x43, 0x46, 0x41}, {0x58, 0x50, 0x44, 0x20}, {0x43, 0x46, 0x50, 0x46}, {0x58, 0x50, 0x54}, {0x58, 0x52, 0x45}, {0x58, 0x53, 0x55}, {0x58, 0x54, 0x53}, {0x58, 0x55, 0x41}, {0x58, 0x58, 0x58, 0x20}, {0x59, 0x44, 0x44}, {0x59, 0x45, 0x52}, {0x59, 0x55, 0x44}, {0x59, 0x55, 0x4d}, {0x59, 0x55, 0x4e}, {0x59, 0x55, 0x52}, {0x5a, 0x41, 0x4c, 0x20}, {0x5a, 0x41, 0x52}, {0x5a, 0x4d, 0x4b, 0x20}, {0x5a, 0x4d, 0x57}, {0x5a, 0x52, 0x4e, 0x20}, {0x5a, 0x52, 0x5a, 0x20}, {0x5a, 0x57, 0x44, 0x20}, {0x5a, 0x57, 0x4c, 0x20}, {0x5a, 0x57, 0x52}},
- currencyPositiveSuffix: []byte{0xc2, 0xa0},
- currencyNegativePrefix: []byte{0x28},
- currencyNegativeSuffix: []byte{0xc2, 0xa0, 0x29},
- monthsAbbreviated: [][]uint8{[]uint8(nil), {0x4f, 0x63, 0x61}, {0xc5, 0x9e, 0x75, 0x62}, {0x4d, 0x61, 0x72}, {0x4e, 0x69, 0x73}, {0x4d, 0x61, 0x79}, {0x48, 0x61, 0x7a}, {0x54, 0x65, 0x6d}, {0x41, 0xc4, 0x9f, 0x75}, {0x45, 0x79, 0x6c}, {0x45, 0x6b, 0x69}, {0x4b, 0x61, 0x73}, {0x41, 0x72, 0x61}},
- monthsNarrow: [][]uint8{[]uint8(nil), {0x4f}, {0xc5, 0x9e}, {0x4d}, {0x4e}, {0x4d}, {0x48}, {0x54}, {0x41}, {0x45}, {0x45}, {0x4b}, {0x41}},
- monthsWide: [][]uint8{[]uint8(nil), {0x4f, 0x63, 0x61, 0x6b}, {0xc5, 0x9e, 0x75, 0x62, 0x61, 0x74}, {0x4d, 0x61, 0x72, 0x74}, {0x4e, 0x69, 0x73, 0x61, 0x6e}, {0x4d, 0x61, 0x79, 0xc4, 0xb1, 0x73}, {0x48, 0x61, 0x7a, 0x69, 0x72, 0x61, 0x6e}, {0x54, 0x65, 0x6d, 0x6d, 0x75, 0x7a}, {0x41, 0xc4, 0x9f, 0x75, 0x73, 0x74, 0x6f, 0x73}, {0x45, 0x79, 0x6c, 0xc3, 0xbc, 0x6c}, {0x45, 0x6b, 0x69, 0x6d}, {0x4b, 0x61, 0x73, 0xc4, 0xb1, 0x6d}, {0x41, 0x72, 0x61, 0x6c, 0xc4, 0xb1, 0x6b}},
- daysAbbreviated: [][]uint8{{0x50, 0x61, 0x7a}, {0x50, 0x7a, 0x74}, {0x53, 0x61, 0x6c}, {0xc3, 0x87, 0x61, 0x72}, {0x50, 0x65, 0x72}, {0x43, 0x75, 0x6d}, {0x43, 0x6d, 0x74}},
- daysNarrow: [][]uint8{{0x50}, {0x50}, {0x53}, {0xc3, 0x87}, {0x50}, {0x43}, {0x43}},
- daysShort: [][]uint8{{0x50, 0x61}, {0x50, 0x74}, {0x53, 0x61}, {0xc3, 0x87, 0x61}, {0x50, 0x65}, {0x43, 0x75}, {0x43, 0x74}},
- daysWide: [][]uint8{{0x50, 0x61, 0x7a, 0x61, 0x72}, {0x50, 0x61, 0x7a, 0x61, 0x72, 0x74, 0x65, 0x73, 0x69}, {0x53, 0x61, 0x6c, 0xc4, 0xb1}, {0xc3, 0x87, 0x61, 0x72, 0xc5, 0x9f, 0x61, 0x6d, 0x62, 0x61}, {0x50, 0x65, 0x72, 0xc5, 0x9f, 0x65, 0x6d, 0x62, 0x65}, {0x43, 0x75, 0x6d, 0x61}, {0x43, 0x75, 0x6d, 0x61, 0x72, 0x74, 0x65, 0x73, 0x69}},
- periodsAbbreviated: [][]uint8{{0xc3, 0x96, 0xc3, 0x96}, {0xc3, 0x96, 0x53}},
- periodsNarrow: [][]uint8{{0xc3, 0xb6, 0xc3, 0xb6}, {0xc3, 0xb6, 0x73}},
- periodsWide: [][]uint8{{0xc3, 0x96, 0xc3, 0x96}, {0xc3, 0x96, 0x53}},
- erasAbbreviated: [][]uint8{{0x4d, 0xc3, 0x96}, {0x4d, 0x53}},
- erasNarrow: [][]uint8{[]uint8(nil), []uint8(nil)},
- erasWide: [][]uint8{{0x4d, 0x69, 0x6c, 0x61, 0x74, 0x74, 0x61, 0x6e, 0x20, 0xc3, 0x96, 0x6e, 0x63, 0x65}, {0x4d, 0x69, 0x6c, 0x61, 0x74, 0x74, 0x61, 0x6e, 0x20, 0x53, 0x6f, 0x6e, 0x72, 0x61}},
- timezones: map[string][]uint8{"WARST": {0x42, 0x61, 0x74, 0xc4, 0xb1, 0x20, 0x41, 0x72, 0x6a, 0x61, 0x6e, 0x74, 0x69, 0x6e, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "ECT": {0x45, 0x6b, 0x76, 0x61, 0x64, 0x6f, 0x72, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "CHADT": {0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "SAST": {0x47, 0xc3, 0xbc, 0x6e, 0x65, 0x79, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "JDT": {0x4a, 0x61, 0x70, 0x6f, 0x6e, 0x79, 0x61, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "UYST": {0x55, 0x72, 0x75, 0x67, 0x75, 0x61, 0x79, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "EST": {0x4b, 0x75, 0x7a, 0x65, 0x79, 0x20, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x44, 0x6f, 0xc4, 0x9f, 0x75, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "ACWDT": {0xc4, 0xb0, 0xc3, 0xa7, 0x62, 0x61, 0x74, 0xc4, 0xb1, 0x20, 0x41, 0x76, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x79, 0x61, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "WEZ": {0x42, 0x61, 0x74, 0xc4, 0xb1, 0x20, 0x41, 0x76, 0x72, 0x75, 0x70, 0x61, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "HKT": {0x48, 0x6f, 0x6e, 0x67, 0x20, 0x4b, 0x6f, 0x6e, 0x67, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "HKST": {0x48, 0x6f, 0x6e, 0x67, 0x20, 0x4b, 0x6f, 0x6e, 0x67, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "COST": {0x4b, 0x6f, 0x6c, 0x6f, 0x6d, 0x62, 0x69, 0x79, 0x61, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "MEZ": {0x4f, 0x72, 0x74, 0x61, 0x20, 0x41, 0x76, 0x72, 0x75, 0x70, 0x61, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "TMT": {0x54, 0xc3, 0xbc, 0x72, 0x6b, 0x6d, 0x65, 0x6e, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "BOT": {0x42, 0x6f, 0x6c, 0x69, 0x76, 0x79, 0x61, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "AST": {0x41, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x69, 0x6b, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "ADT": {0x41, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x69, 0x6b, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "CLT": {0xc5, 0x9e, 0x69, 0x6c, 0x69, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "WAST": {0x42, 0x61, 0x74, 0xc4, 0xb1, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "ACST": {0x4f, 0x72, 0x74, 0x61, 0x20, 0x41, 0x76, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x79, 0x61, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "ART": {0x41, 0x72, 0x6a, 0x61, 0x6e, 0x74, 0x69, 0x6e, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "JST": {0x4a, 0x61, 0x70, 0x6f, 0x6e, 0x79, 0x61, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "VET": {0x56, 0x65, 0x6e, 0x65, 0x7a, 0x75, 0x65, 0x6c, 0x61, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "WIT": {0x44, 0x6f, 0xc4, 0x9f, 0x75, 0x20, 0x45, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x7a, 0x79, 0x61, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "HNT": {0x4e, 0x65, 0x77, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x6c, 0x61, 0x6e, 0x64, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "EDT": {0x4b, 0x75, 0x7a, 0x65, 0x79, 0x20, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x44, 0x6f, 0xc4, 0x9f, 0x75, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "LHST": {0x4c, 0x6f, 0x72, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "ACDT": {0x4f, 0x72, 0x74, 0x61, 0x20, 0x41, 0x76, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x79, 0x61, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "CDT": {0x4b, 0x75, 0x7a, 0x65, 0x79, 0x20, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x4d, 0x65, 0x72, 0x6b, 0x65, 0x7a, 0x69, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "MST": {0x4b, 0x75, 0x7a, 0x65, 0x79, 0x20, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x44, 0x61, 0xc4, 0x9f, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "GMT": {0x47, 0x72, 0x65, 0x65, 0x6e, 0x77, 0x69, 0x63, 0x68, 0x20, 0x4f, 0x72, 0x74, 0x61, 0x6c, 0x61, 0x6d, 0x61, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "UYT": {0x55, 0x72, 0x75, 0x67, 0x75, 0x61, 0x79, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "GYT": {0x47, 0x75, 0x79, 0x61, 0x6e, 0x61, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "∅∅∅": {0x41, 0x6d, 0x61, 0x7a, 0x6f, 0x6e, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "CAT": {0x4f, 0x72, 0x74, 0x61, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "EAT": {0x44, 0x6f, 0xc4, 0x9f, 0x75, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "CLST": {0xc5, 0x9e, 0x69, 0x6c, 0x69, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "NZDT": {0x59, 0x65, 0x6e, 0x69, 0x20, 0x5a, 0x65, 0x6c, 0x61, 0x6e, 0x64, 0x61, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "COT": {0x4b, 0x6f, 0x6c, 0x6f, 0x6d, 0x62, 0x69, 0x79, 0x61, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "OEZ": {0x44, 0x6f, 0xc4, 0x9f, 0x75, 0x20, 0x41, 0x76, 0x72, 0x75, 0x70, 0x61, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "AEDT": {0x44, 0x6f, 0xc4, 0x9f, 0x75, 0x20, 0x41, 0x76, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x79, 0x61, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "AWST": {0x42, 0x61, 0x74, 0xc4, 0xb1, 0x20, 0x41, 0x76, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x79, 0x61, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "BT": {0x42, 0x68, 0x75, 0x74, 0x61, 0x6e, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "TMST": {0x54, 0xc3, 0xbc, 0x72, 0x6b, 0x6d, 0x65, 0x6e, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "ACWST": {0xc4, 0xb0, 0xc3, 0xa7, 0x62, 0x61, 0x74, 0xc4, 0xb1, 0x20, 0x41, 0x76, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x79, 0x61, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "WESZ": {0x42, 0x61, 0x74, 0xc4, 0xb1, 0x20, 0x41, 0x76, 0x72, 0x75, 0x70, 0x61, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "AWDT": {0x42, 0x61, 0x74, 0xc4, 0xb1, 0x20, 0x41, 0x76, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x79, 0x61, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "SRT": {0x53, 0x75, 0x72, 0x69, 0x6e, 0x61, 0x6d, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "WAT": {0x42, 0x61, 0x74, 0xc4, 0xb1, 0x20, 0x41, 0x66, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "HADT": {0x48, 0x61, 0x77, 0x61, 0x69, 0x69, 0x2d, 0x41, 0x6c, 0x65, 0x75, 0x74, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "PST": {0x4b, 0x75, 0x7a, 0x65, 0x79, 0x20, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x50, 0x61, 0x73, 0x69, 0x66, 0x69, 0x6b, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "SGT": {0x53, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x75, 0x72, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "WITA": {0x4f, 0x72, 0x74, 0x61, 0x20, 0x45, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x7a, 0x79, 0x61, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "CHAST": {0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "MESZ": {0x4f, 0x72, 0x74, 0x61, 0x20, 0x41, 0x76, 0x72, 0x75, 0x70, 0x61, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "HAST": {0x48, 0x61, 0x77, 0x61, 0x69, 0x69, 0x2d, 0x41, 0x6c, 0x65, 0x75, 0x74, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "PDT": {0x4b, 0x75, 0x7a, 0x65, 0x79, 0x20, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x50, 0x61, 0x73, 0x69, 0x66, 0x69, 0x6b, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "MYT": {0x4d, 0x61, 0x6c, 0x65, 0x7a, 0x79, 0x61, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "WART": {0x42, 0x61, 0x74, 0xc4, 0xb1, 0x20, 0x41, 0x72, 0x6a, 0x61, 0x6e, 0x74, 0x69, 0x6e, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "WIB": {0x42, 0x61, 0x74, 0xc4, 0xb1, 0x20, 0x45, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x7a, 0x79, 0x61, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "CST": {0x4b, 0x75, 0x7a, 0x65, 0x79, 0x20, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x4d, 0x65, 0x72, 0x6b, 0x65, 0x7a, 0x69, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "NZST": {0x59, 0x65, 0x6e, 0x69, 0x20, 0x5a, 0x65, 0x6c, 0x61, 0x6e, 0x64, 0x61, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "ChST": {0x43, 0x68, 0x61, 0x6d, 0x6f, 0x72, 0x72, 0x6f, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "LHDT": {0x4c, 0x6f, 0x72, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "IST": {0x48, 0x69, 0x6e, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "AEST": {0x44, 0x6f, 0xc4, 0x9f, 0x75, 0x20, 0x41, 0x76, 0x75, 0x73, 0x74, 0x72, 0x61, 0x6c, 0x79, 0x61, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "MDT": {0x4b, 0x75, 0x7a, 0x65, 0x79, 0x20, 0x41, 0x6d, 0x65, 0x72, 0x69, 0x6b, 0x61, 0x20, 0x44, 0x61, 0xc4, 0x9f, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "OESZ": {0x44, 0x6f, 0xc4, 0x9f, 0x75, 0x20, 0x41, 0x76, 0x72, 0x75, 0x70, 0x61, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "GFT": {0x46, 0x72, 0x61, 0x6e, 0x73, 0xc4, 0xb1, 0x7a, 0x20, 0x47, 0x75, 0x79, 0x61, 0x6e, 0x61, 0x73, 0xc4, 0xb1, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "AKST": {0x41, 0x6c, 0x61, 0x73, 0x6b, 0x61, 0x20, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x74, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "HAT": {0x4e, 0x65, 0x77, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x6c, 0x61, 0x6e, 0x64, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "ARST": {0x41, 0x72, 0x6a, 0x61, 0x6e, 0x74, 0x69, 0x6e, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}, "AKDT": {0x41, 0x6c, 0x61, 0x73, 0x6b, 0x61, 0x20, 0x59, 0x61, 0x7a, 0x20, 0x53, 0x61, 0x61, 0x74, 0x69}},
+ decimal: ",",
+ group: ".",
+ minus: "-",
+ percent: "%",
+ perMille: "‰",
+ timeSeparator: ":",
+ inifinity: "∞",
+ currencies: []string{"ADP", "AED", "AFA ", "AFN", "ALK ", "ALL", "AMD", "ANG", "AOA", "AOK ", "AON ", "AOR ", "ARA", "ARL", "ARM", "ARP", "ARS", "ATS", "AU$", "AWG", "AZM", "AZN", "BAD", "BAM", "BAN", "BBD", "BDT", "BEC", "BEF", "BEL", "BGL", "BGM", "BGN", "BGO", "BHD", "BIF", "BMD", "BND", "BOB", "BOL", "BOP", "BOV", "BRB", "BRC", "BRE", "R$", "BRN", "BRR", "BRZ", "BSD", "BTN", "BUK", "BWP", "BYB", "BYR", "BZD", "CA$", "CDF", "CHE", "CHF", "CHW", "CLE", "CLF", "CLP", "CNX ", "CN¥", "COP", "COU", "CRC", "CSD", "CSK", "CUC", "CUP", "CVE", "CYP", "CZK", "DDM", "DEM", "DJF", "DKK", "DOP", "DZD", "ECS", "ECV", "EEK", "EGP", "ERN", "ESA", "ESB", "ESP", "ETB", "€", "FIM", "FJD", "FKP", "FRF", "£", "GEK", "GEL", "GHC ", "GHS", "GIP", "GMD", "GNF", "GNS ", "GQE ", "GRD", "GTQ", "GWE ", "GWP ", "GYD", "HK$", "HNL", "HRD", "HRK", "HTG", "HUF", "IDR", "IEP", "ILP", "ILR ", "₪", "₹", "IQD", "IRR", "ISJ ", "ISK", "ITL", "JMD", "JOD", "¥", "KES", "KGS", "KHR", "KMF", "KPW", "KRH", "KRO", "₩", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL ", "LTL", "LTT", "LUC", "LUF", "LUL", "LVL", "LVR", "LYD", "MAD", "MAF ", "MCF", "MDC", "MDL", "MGA", "MGF ", "MKD", "MKN", "MLF ", "MMK", "MNT", "MOP", "MRO", "MTL", "MTP", "MUR", "MVP ", "MVR", "MWK", "MX$", "MXP", "MXV", "MYR", "MZE ", "MZM ", "MZN", "NAD", "NGN", "NIC", "NIO", "NLG", "NOK", "NPR", "NZ$", "OMR", "PAB", "PEI", "PEN", "PES", "PGK", "PHP", "PKR", "PLN", "PLZ", "PTE", "PYG", "QAR", "RHD ", "ROL", "RON", "RSD", "RUB", "RUR", "RWF", "SAR", "SBD", "SCR", "SDD ", "SDG", "SDP ", "SEK", "SGD", "SHP", "SIT", "SKK", "SLL", "SOS", "SRD", "SRG", "SSP", "STD", "SUR", "SVC", "SYP", "SZL", "฿", "TJR", "TJS", "TMM", "TMT", "TND", "TOP", "TPE", "TRL", "₺", "TTD", "NT$", "TZS", "UAH", "UAK", "UGS ", "UGX", "$", "USN", "USS", "UYI", "UYP", "UYU", "UZS", "VEB", "VEF", "₫", "VNN", "VUV", "WST", "FCFA", "XAG", "XAU", "XBA ", "XBB ", "XBC ", "XBD ", "EC$", "XDR ", "XEU", "XFO ", "XFU ", "CFA", "XPD ", "CFPF", "XPT", "XRE", "XSU", "XTS", "XUA", "XXX ", "YDD", "YER", "YUD", "YUM", "YUN", "YUR", "ZAL ", "ZAR", "ZMK ", "ZMW", "ZRN ", "ZRZ ", "ZWD ", "ZWL ", "ZWR"},
+ currencyPositiveSuffix: " ",
+ currencyNegativePrefix: "(",
+ currencyNegativeSuffix: " )",
+ monthsAbbreviated: []string{"", "Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"},
+ monthsNarrow: []string{"", "O", "Ş", "M", "N", "M", "H", "T", "A", "E", "E", "K", "A"},
+ monthsWide: []string{"", "Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"},
+ daysAbbreviated: []string{"Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"},
+ daysNarrow: []string{"P", "P", "S", "Ç", "P", "C", "C"},
+ daysShort: []string{"Pa", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"},
+ daysWide: []string{"Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"},
+ periodsAbbreviated: []string{"ÖÖ", "ÖS"},
+ periodsNarrow: []string{"öö", "ös"},
+ periodsWide: []string{"ÖÖ", "ÖS"},
+ erasAbbreviated: []string{"MÖ", "MS"},
+ erasNarrow: []string{"", ""},
+ erasWide: []string{"Milattan Önce", "Milattan Sonra"},
+ timezones: map[string]string{"ECT": "Ekvador Saati", "WIB": "Batı Endonezya Saati", "AEDT": "Doğu Avustralya Yaz Saati", "NZST": "Yeni Zelanda Standart Saati", "WITA": "Orta Endonezya Saati", "AKST": "Alaska Standart Saati", "AWDT": "Batı Avustralya Yaz Saati", "UYT": "Uruguay Standart Saati", "SGT": "Singapur Standart Saati", "ACST": "Orta Avustralya Standart Saati", "WEZ": "Batı Avrupa Standart Saati", "WESZ": "Batı Avrupa Yaz Saati", "TMST": "Türkmenistan Yaz Saati", "ARST": "Arjantin Yaz Saati", "JST": "Japonya Standart Saati", "JDT": "Japonya Yaz Saati", "EDT": "Kuzey Amerika Doğu Yaz Saati", "WART": "Batı Arjantin Standart Saati", "WAST": "Batı Afrika Yaz Saati", "OESZ": "Doğu Avrupa Yaz Saati", "BOT": "Bolivya Saati", "CAT": "Orta Afrika Saati", "HKST": "Hong Kong Yaz Saati", "TMT": "Türkmenistan Standart Saati", "MDT": "Makao Yaz Saati", "MEZ": "Orta Avrupa Standart Saati", "ACWST": "İçbatı Avustralya Standart Saati", "HADT": "Hawaii-Aleut Yaz Saati", "MST": "Makao Standart Saati", "PST": "Kuzey Amerika Pasifik Standart Saati", "LHDT": "Lord Howe Yaz Saati", "EAT": "Doğu Afrika Saati", "GYT": "Guyana Saati", "CHADT": "Chatham Yaz Saati", "WARST": "Batı Arjantin Yaz Saati", "WIT": "Doğu Endonezya Saati", "ART": "Arjantin Standart Saati", "AWST": "Batı Avustralya Standart Saati", "MESZ": "Orta Avrupa Yaz Saati", "HAST": "Hawaii-Aleut Standart Saati", "OEZ": "Doğu Avrupa Standart Saati", "GMT": "Greenwich Ortalama Saati", "MYT": "Malezya Saati", "CST": "Kuzey Amerika Merkezi Standart Saati", "CDT": "Kuzey Amerika Merkezi Yaz Saati", "CLST": "Şili Yaz Saati", "ACWDT": "İçbatı Avustralya Yaz Saati", "BT": "Bhutan Saati", "HAT": "Newfoundland Yaz Saati", "SRT": "Surinam Saati", "AKDT": "Alaska Yaz Saati", "NZDT": "Yeni Zelanda Yaz Saati", "VET": "Venezuela Saati", "ADT": "Atlantik Yaz Saati", "HKT": "Hong Kong Standart Saati", "IST": "Hindistan Standart Saati", "UYST": "Uruguay Yaz Saati", "COT": "Kolombiya Standart Saati", "GFT": "Fransız Guyanası Saati", "CHAST": "Chatham Standart Saati", "AEST": "Doğu Avustralya Standart Saati", "∅∅∅": "Brasilia Yaz Saati", "EST": "Kuzey Amerika Doğu Standart Saati", "AST": "Atlantik Standart Saati", "HNT": "Newfoundland Standart Saati", "CLT": "Şili Standart Saati", "COST": "Kolombiya Yaz Saati", "SAST": "Güney Afrika Standart Saati", "PDT": "Kuzey Amerika Pasifik Yaz Saati", "LHST": "Lord Howe Standart Saati", "WAT": "Batı Afrika Standart Saati", "ACDT": "Orta Avustralya Yaz Saati", "ChST": "Chamorro Saati"},
}
}
@@ -131,82 +131,80 @@ func (tr *tr) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64)
}
// MonthAbbreviated returns the locales abbreviated month given the 'month' provided
-func (tr *tr) MonthAbbreviated(month time.Month) []byte {
+func (tr *tr) MonthAbbreviated(month time.Month) string {
return tr.monthsAbbreviated[month]
}
// MonthsAbbreviated returns the locales abbreviated months
-func (tr *tr) MonthsAbbreviated() [][]byte {
+func (tr *tr) MonthsAbbreviated() []string {
return tr.monthsAbbreviated[1:]
}
// MonthNarrow returns the locales narrow month given the 'month' provided
-func (tr *tr) MonthNarrow(month time.Month) []byte {
+func (tr *tr) MonthNarrow(month time.Month) string {
return tr.monthsNarrow[month]
}
// MonthsNarrow returns the locales narrow months
-func (tr *tr) MonthsNarrow() [][]byte {
+func (tr *tr) MonthsNarrow() []string {
return tr.monthsNarrow[1:]
}
// MonthWide returns the locales wide month given the 'month' provided
-func (tr *tr) MonthWide(month time.Month) []byte {
+func (tr *tr) MonthWide(month time.Month) string {
return tr.monthsWide[month]
}
// MonthsWide returns the locales wide months
-func (tr *tr) MonthsWide() [][]byte {
+func (tr *tr) MonthsWide() []string {
return tr.monthsWide[1:]
}
// WeekdayAbbreviated returns the locales abbreviated weekday given the 'weekday' provided
-func (tr *tr) WeekdayAbbreviated(weekday time.Weekday) []byte {
+func (tr *tr) WeekdayAbbreviated(weekday time.Weekday) string {
return tr.daysAbbreviated[weekday]
}
// WeekdaysAbbreviated returns the locales abbreviated weekdays
-func (tr *tr) WeekdaysAbbreviated() [][]byte {
+func (tr *tr) WeekdaysAbbreviated() []string {
return tr.daysAbbreviated
}
// WeekdayNarrow returns the locales narrow weekday given the 'weekday' provided
-func (tr *tr) WeekdayNarrow(weekday time.Weekday) []byte {
+func (tr *tr) WeekdayNarrow(weekday time.Weekday) string {
return tr.daysNarrow[weekday]
}
// WeekdaysNarrow returns the locales narrow weekdays
-func (tr *tr) WeekdaysNarrow() [][]byte {
+func (tr *tr) WeekdaysNarrow() []string {
return tr.daysNarrow
}
// WeekdayShort returns the locales short weekday given the 'weekday' provided
-func (tr *tr) WeekdayShort(weekday time.Weekday) []byte {
+func (tr *tr) WeekdayShort(weekday time.Weekday) string {
return tr.daysShort[weekday]
}
// WeekdaysShort returns the locales short weekdays
-func (tr *tr) WeekdaysShort() [][]byte {
+func (tr *tr) WeekdaysShort() []string {
return tr.daysShort
}
// WeekdayWide returns the locales wide weekday given the 'weekday' provided
-func (tr *tr) WeekdayWide(weekday time.Weekday) []byte {
+func (tr *tr) WeekdayWide(weekday time.Weekday) string {
return tr.daysWide[weekday]
}
// WeekdaysWide returns the locales wide weekdays
-func (tr *tr) WeekdaysWide() [][]byte {
+func (tr *tr) WeekdaysWide() []string {
return tr.daysWide
}
// FmtNumber returns 'num' with digits/precision of 'v' for 'tr' and handles both Whole and Real numbers based on 'v'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (tr *tr) FmtNumber(num float64, v uint64) []byte {
+func (tr *tr) FmtNumber(num float64, v uint64) string {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
- l := len(s) + len(tr.decimal) + len(tr.group)*len(s[:len(s)-int(v)-1])/3
+ l := len(s) + 2 + 1*len(s[:len(s)-int(v)-1])/3
count := 0
inWhole := v == 0
b := make([]byte, 0, l)
@@ -240,17 +238,14 @@ func (tr *tr) FmtNumber(num float64, v uint64) []byte {
b[i], b[j] = b[j], b[i]
}
- return b
+ return string(b)
}
// FmtPercent returns 'num' with digits/precision of 'v' for 'tr' and handles both Whole and Real numbers based on 'v'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
// NOTE: 'num' passed into FmtPercent is assumed to be in percent already
-func (tr *tr) FmtPercent(num float64, v uint64) []byte {
-
+func (tr *tr) FmtPercent(num float64, v uint64) string {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
- l := len(s) + len(tr.decimal) + len(tr.group)*len(s[:len(s)-int(v)-1])/3
+ l := len(s) + 3 + 1*len(s[:len(s)-int(v)-1])/3
count := 0
inWhole := v == 0
b := make([]byte, 0, l)
@@ -287,17 +282,15 @@ func (tr *tr) FmtPercent(num float64, v uint64) []byte {
b[i], b[j] = b[j], b[i]
}
- return b
+ return string(b)
}
// FmtCurrency returns the currency representation of 'num' with digits/precision of 'v' for 'tr'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (tr *tr) FmtCurrency(num float64, v uint64, currency currency.Type) []byte {
+func (tr *tr) FmtCurrency(num float64, v uint64, currency currency.Type) string {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
symbol := tr.currencies[currency]
- l := len(s) + len(tr.decimal) + len(tr.group)*len(s[:len(s)-int(v)-1])/3
+ l := len(s) + len(symbol) + 4 + 1*len(s[:len(s)-int(v)-1])/3
count := 0
inWhole := v == 0
b := make([]byte, 0, l)
@@ -346,17 +339,16 @@ func (tr *tr) FmtCurrency(num float64, v uint64, currency currency.Type) []byte
b = append(b, symbol...)
- return b
+ return string(b)
}
// FmtAccounting returns the currency representation of 'num' with digits/precision of 'v' for 'tr'
-// in accounting notation. returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (tr *tr) FmtAccounting(num float64, v uint64, currency currency.Type) []byte {
+// in accounting notation.
+func (tr *tr) FmtAccounting(num float64, v uint64, currency currency.Type) string {
s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
symbol := tr.currencies[currency]
- l := len(s) + len(tr.decimal) + len(tr.group)*len(s[:len(s)-int(v)-1])/3
+ l := len(s) + len(symbol) + 6 + 1*len(s[:len(s)-int(v)-1])/3
count := 0
inWhole := v == 0
b := make([]byte, 0, l)
@@ -383,9 +375,7 @@ func (tr *tr) FmtAccounting(num float64, v uint64, currency currency.Type) []byt
if num < 0 {
- for j := len(tr.currencyNegativePrefix) - 1; j >= 0; j-- {
- b = append(b, tr.currencyNegativePrefix[j])
- }
+ b = append(b, tr.currencyNegativePrefix[0])
}
@@ -414,13 +404,11 @@ func (tr *tr) FmtAccounting(num float64, v uint64, currency currency.Type) []byt
b = append(b, symbol...)
}
- return b
+ return string(b)
}
// FmtDateShort returns the short date representation of 't' for 'tr'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (tr *tr) FmtDateShort(t time.Time) []byte {
+func (tr *tr) FmtDateShort(t time.Time) string {
b := make([]byte, 0, 32)
@@ -436,13 +424,11 @@ func (tr *tr) FmtDateShort(t time.Time) []byte {
b = append(b, []byte{0x2e}...)
b = strconv.AppendInt(b, int64(t.Year()), 10)
- return b
+ return string(b)
}
// FmtDateMedium returns the medium date representation of 't' for 'tr'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (tr *tr) FmtDateMedium(t time.Time) []byte {
+func (tr *tr) FmtDateMedium(t time.Time) string {
b := make([]byte, 0, 32)
@@ -452,13 +438,11 @@ func (tr *tr) FmtDateMedium(t time.Time) []byte {
b = append(b, []byte{0x20}...)
b = strconv.AppendInt(b, int64(t.Year()), 10)
- return b
+ return string(b)
}
// FmtDateLong returns the long date representation of 't' for 'tr'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (tr *tr) FmtDateLong(t time.Time) []byte {
+func (tr *tr) FmtDateLong(t time.Time) string {
b := make([]byte, 0, 32)
@@ -468,13 +452,11 @@ func (tr *tr) FmtDateLong(t time.Time) []byte {
b = append(b, []byte{0x20}...)
b = strconv.AppendInt(b, int64(t.Year()), 10)
- return b
+ return string(b)
}
// FmtDateFull returns the full date representation of 't' for 'tr'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (tr *tr) FmtDateFull(t time.Time) []byte {
+func (tr *tr) FmtDateFull(t time.Time) string {
b := make([]byte, 0, 32)
@@ -486,13 +468,11 @@ func (tr *tr) FmtDateFull(t time.Time) []byte {
b = append(b, []byte{0x20}...)
b = append(b, tr.daysWide[t.Weekday()]...)
- return b
+ return string(b)
}
// FmtTimeShort returns the short time representation of 't' for 'tr'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (tr *tr) FmtTimeShort(t time.Time) []byte {
+func (tr *tr) FmtTimeShort(t time.Time) string {
b := make([]byte, 0, 32)
@@ -509,13 +489,11 @@ func (tr *tr) FmtTimeShort(t time.Time) []byte {
b = strconv.AppendInt(b, int64(t.Minute()), 10)
- return b
+ return string(b)
}
// FmtTimeMedium returns the medium time representation of 't' for 'tr'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (tr *tr) FmtTimeMedium(t time.Time) []byte {
+func (tr *tr) FmtTimeMedium(t time.Time) string {
b := make([]byte, 0, 32)
@@ -539,13 +517,11 @@ func (tr *tr) FmtTimeMedium(t time.Time) []byte {
b = strconv.AppendInt(b, int64(t.Second()), 10)
- return b
+ return string(b)
}
// FmtTimeLong returns the long time representation of 't' for 'tr'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (tr *tr) FmtTimeLong(t time.Time) []byte {
+func (tr *tr) FmtTimeLong(t time.Time) string {
b := make([]byte, 0, 32)
@@ -573,13 +549,11 @@ func (tr *tr) FmtTimeLong(t time.Time) []byte {
tz, _ := t.Zone()
b = append(b, tz...)
- return b
+ return string(b)
}
// FmtTimeFull returns the full time representation of 't' for 'tr'
-// returned as a []byte just in case the caller wishes to add more and can help
-// avoid allocations; otherwise just cast as string.
-func (tr *tr) FmtTimeFull(t time.Time) []byte {
+func (tr *tr) FmtTimeFull(t time.Time) string {
b := make([]byte, 0, 32)
@@ -612,5 +586,5 @@ func (tr *tr) FmtTimeFull(t time.Time) []byte {
b = append(b, tz...)
}
- return b
+ return string(b)
}