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/to_TO
diff options
context:
space:
mode:
authorjoeybloggs <dean.karn@gmail.com>2017-02-09 18:56:59 +0300
committerjoeybloggs <dean.karn@gmail.com>2017-02-09 18:56:59 +0300
commit7433bc2714ee97d97a4de5702bf99a055c464cef (patch)
tree4cb831175313f3688bafb7ce21da6d5368aedd15 /to_TO
parent273913d3b2ff7127452603d55dd3f6f888e4f268 (diff)
Update to CLDR v30.0.3v30-cldr
- Regenerated locale data from v30.0.3 CLDR data - Added negative year check for FmtDataXXX functions with 4 digit years - update ru_RU test to handle change of short date format from v29 dd.MM.yy to v30 dd.MM.y
Diffstat (limited to 'to_TO')
-rw-r--r--to_TO/to_TO.go27
1 files changed, 21 insertions, 6 deletions
diff --git a/to_TO/to_TO.go b/to_TO/to_TO.go
index 85313bbc..59639ed4 100644
--- a/to_TO/to_TO.go
+++ b/to_TO/to_TO.go
@@ -55,7 +55,7 @@ func New() locales.Translator {
perMille: "‰",
timeSeparator: ":",
inifinity: "∞",
- currencies: []string{"ADP", "AED", "AFA", "AFN", "ALK", "ALL", "AMD", "ANG", "AOA", "AOK", "AON", "AOR", "ARA", "ARL", "ARM", "ARP", "ARS", "ATS", "AUD", "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", "BRL", "BRN", "BRR", "BRZ", "BSD", "BTN", "BUK", "BWP", "BYB", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLE", "CLF", "CLP", "CNX", "CNY", "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", "EUR", "FIM", "FJD", "FKP", "FRF", "GBP", "GEK", "GEL", "GHC", "GHS", "GIP", "GMD", "GNF", "GNS", "GQE", "GRD", "GTQ", "GWE", "GWP", "GYD", "HKD", "HNL", "HRD", "HRK", "HTG", "HUF", "IDR", "IEP", "ILP", "ILR", "ILS", "INR", "IQD", "IRR", "ISJ", "ISK", "ITL", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRH", "KRO", "KRW", "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", "MXN", "MXP", "MXV", "MYR", "MZE", "MZM", "MZN", "NAD", "NGN", "NIC", "NIO", "NLG", "NOK", "NPR", "NZD", "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", "THB", "TJR", "TJS", "TMM", "TMT", "TND", "TOP", "TPE", "TRL", "TRY", "TTD", "TWD", "TZS", "UAH", "UAK", "UGS", "UGX", "USD", "USN", "USS", "UYI", "UYP", "UYU", "UZS", "VEB", "VEF", "VND", "VNN", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XEU", "XFO", "XFU", "XOF", "XPD", "XPF", "XPT", "XRE", "XSU", "XTS", "XUA", "XXX", "YDD", "YER", "YUD", "YUM", "YUN", "YUR", "ZAL", "ZAR", "ZMK", "ZMW", "ZRN", "ZRZ", "ZWD", "ZWL", "ZWR"},
+ currencies: []string{"ADP", "AED", "AFA", "AFN", "ALK", "ALL", "AMD", "ANG", "AOA", "AOK", "AON", "AOR", "ARA", "ARL", "ARM", "ARP", "ARS", "ATS", "AUD", "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", "BRL", "BRN", "BRR", "BRZ", "BSD", "BTN", "BUK", "BWP", "BYB", "BYN", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLE", "CLF", "CLP", "CNX", "CNY", "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", "EUR", "FIM", "FJD", "FKP", "FRF", "GBP", "GEK", "GEL", "GHC", "GHS", "GIP", "GMD", "GNF", "GNS", "GQE", "GRD", "GTQ", "GWE", "GWP", "GYD", "HKD", "HNL", "HRD", "HRK", "HTG", "HUF", "IDR", "IEP", "ILP", "ILR", "ILS", "INR", "IQD", "IRR", "ISJ", "ISK", "ITL", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRH", "KRO", "KRW", "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", "MXN", "MXP", "MXV", "MYR", "MZE", "MZM", "MZN", "NAD", "NGN", "NIC", "NIO", "NLG", "NOK", "NPR", "NZD", "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", "THB", "TJR", "TJS", "TMM", "TMT", "TND", "TOP", "TPE", "TRL", "TRY", "TTD", "TWD", "TZS", "UAH", "UAK", "UGS", "UGX", "USD", "USN", "USS", "UYI", "UYP", "UYU", "UZS", "VEB", "VEF", "VND", "VNN", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XEU", "XFO", "XFU", "XOF", "XPD", "XPF", "XPT", "XRE", "XSU", "XTS", "XUA", "XXX", "YDD", "YER", "YUD", "YUM", "YUN", "YUR", "ZAL", "ZAR", "ZMK", "ZMW", "ZRN", "ZRZ", "ZWD", "ZWL", "ZWR"},
currencyPositivePrefix: " ",
currencyNegativePrefix: " ",
monthsAbbreviated: []string{"", "Sān", "Fēp", "Maʻa", "ʻEpe", "Mē", "Sun", "Siu", "ʻAok", "Sep", "ʻOka", "Nōv", "Tīs"},
@@ -67,11 +67,11 @@ func New() locales.Translator {
daysWide: []string{"Sāpate", "Mōnite", "Tūsite", "Pulelulu", "Tuʻapulelulu", "Falaite", "Tokonaki"},
periodsAbbreviated: []string{"AM", "PM"},
periodsNarrow: []string{"AM", "PM"},
- periodsWide: []string{"AM", "PM"},
+ periodsWide: []string{"hengihengi", "efiafi"},
erasAbbreviated: []string{"KM", "TS"},
erasNarrow: []string{"", ""},
erasWide: []string{"ki muʻa", "taʻu ʻo Sīsū"},
- timezones: map[string]string{"ADT": "houa fakaʻamelika-tokelau ʻatalanitiki taimi liliu", "HNT": "houa fakafonuaʻilofoʻou taimi totonu", "LHDT": "houa fakamotuʻeikihoue taimi liliu", "OESZ": "houa fakaʻeulope-hahake taimi liliu", "COT": "houa fakakolomipia taimi totonu", "ACWST": "houa fakaʻaositelēlia-loto-hihifo taimi totonu", "AEDT": "houa fakaʻaositelēlia-hahake taimi liliu", "PDT": "houa fakaʻamelika-tokelau pasifika taimi liliu", "MDT": "houa fakaʻamelika-tokelau moʻunga taimi liliu", "ChST": "houa fakakamolo", "CHAST": "houa fakasatihami taimi totonu", "AWDT": "houa fakaʻaositelēlia-hihifo taimi liliu", "EDT": "houa fakaʻamelika-tokelau hahake taimi liliu", "OEZ": "houa fakaʻeulope-hahake taimi totonu", "WESZ": "houa fakaʻeulope-hihifo taimi liliu", "HADT": "houa fakahauaʻi taimi liliu", "HAT": "houa fakafonuaʻilofoʻou taimi liliu", "JDT": "houa fakasiapani taimi liliu", "SRT": "houa fakasuliname", "ECT": "houa fakaʻekuetoa", "ACWDT": "houa fakaʻaositelēlia-loto-hihifo taimi liliu", "SAST": "houa fakaʻafelika-tonga", "EST": "houa fakaʻamelika-tokelau hahake taimi totonu", "NZDT": "houa fakanuʻusila taimi liliu", "CLT": "houa fakasili taimi totonu", "ART": "houa fakaʻasenitina taimi totonu", "PST": "houa fakaʻamelika-tokelau pasifika taimi totonu", "BT": "houa fakapūtani", "HAST": "houa fakahauaʻi taimi totonu", "HKT": "houa fakahongi-kongi taimi totonu", "WIB": "houa fakaʻinitonisia-hihifo", "WEZ": "houa fakaʻeulope-hihifo taimi totonu", "ACST": "houa fakaʻaositelēlia-loto taimi totonu", "ACDT": "houa fakaʻaositelēlia-loto taimi liliu", "SGT": "houa fakasingapoa", "WARST": "houa fakaʻasenitina-hihifo taimi liliu", "WAST": "houa fakaʻafelika-hihifo taimi liliu", "GMT": "houa fakakiliniuisi mālie", "AKDT": "houa fakaʻalasika taimi liliu", "CDT": "houa fakaʻamelika-tokelau loto taimi liliu", "JST": "houa fakasiapani taimi totonu", "VET": "houa fakavenesuela", "AKST": "houa fakaʻalasika taimi totonu", "∅∅∅": "houa fakaʻāsolesi taimi liliu", "GFT": "houa fakakuiana-fakafalanisē", "ARST": "houa fakaʻasenitina taimi liliu", "IST": "houa fakaʻinitia", "TMT": "houa fakatūkimenisitani taimi totonu", "BOT": "houa fakapolīvia", "CLST": "houa fakasili taimi liliu", "HKST": "houa fakahongi-kongi taimi liliu", "MEZ": "houa fakaʻeulope-loto taimi totonu", "AEST": "houa fakaʻaositelēlia-hahake taimi totonu", "WITA": "houa fakaʻinitonisia-loto", "CST": "houa fakaʻamelika-tokelau loto taimi totonu", "MST": "houa fakaʻamelika-tokelau moʻunga taimi totonu", "CAT": "houa fakaʻafelika-loto", "UYT": "houa fakaʻulukuai taimi totonu", "CHADT": "houa fakasatihami taimi liliu", "MESZ": "houa fakaʻeulope-loto taimi liliu", "WART": "houa fakaʻasenitina-hihifo taimi totonu", "AST": "houa fakaʻamelika-tokelau ʻatalanitiki taimi totonu", "MYT": "houa fakamaleisia", "NZST": "houa fakanuʻusila taimi totonu", "WIT": "houa fakaʻinitonisia-hahake", "LHST": "houa fakamotuʻeikihoue taimi totonu", "UYST": "houa fakaʻulukuai taimi liliu", "COST": "houa fakakolomipia taimi liliu", "EAT": "houa fakaʻafelika-hahake", "WAT": "houa fakaʻafelika-hihifo taimi totonu", "TMST": "houa fakatūkimenisitani taimi liliu", "GYT": "houa fakakuiana", "AWST": "houa fakaʻaositelēlia-hihifo taimi totonu"},
+ timezones: map[string]string{"VET": "houa fakavenesuela", "ARST": "houa fakaʻasenitina taimi liliu", "AEDT": "houa fakaʻaositelēlia-hahake taimi liliu", "AWST": "houa fakaʻaositelēlia-hihifo taimi totonu", "HEPM": "houa fakasā-piea-mo-mikeloni taimi liliu", "∅∅∅": "houa fakaʻāsolesi taimi liliu", "HNNOMX": "houa fakamekisikou-tokelauhihifo taimi totonu", "HNPMX": "houa fakamekisikou-pasifika taimi totonu", "BT": "houa fakapūtani", "AEST": "houa fakaʻaositelēlia-hahake taimi totonu", "HKT": "houa fakahongi-kongi taimi totonu", "GFT": "houa fakakuiana-fakafalanisē", "WARST": "houa fakaʻasenitina-hihifo taimi liliu", "HNT": "houa fakafonuaʻilofoʻou taimi totonu", "AWDT": "houa fakaʻaositelēlia-hihifo taimi liliu", "HNEG": "houa fakafonuamata-hahake taimi totonu", "WIT": "houa fakaʻinitonisia-hahake", "EDT": "houa fakaʻamelika-tokelau hahake taimi liliu", "AKST": "houa fakaʻalasika taimi totonu", "WIB": "houa fakaʻinitonisia-hihifo", "ACWDT": "houa fakaʻaositelēlia-loto-hihifo taimi liliu", "MESZ": "houa fakaʻeulope-loto taimi liliu", "IST": "houa fakaʻinitia", "GMT": "houa fakakiliniuisi mālie", "CLST": "houa fakasili taimi liliu", "HEOG": "houa fakafonuamata-hihifo taimi liliu", "SGT": "houa fakasingapoa", "MST": "houa fakamakau taimi totonu", "ADT": "houa fakaʻamelika-tokelau ʻatalanitiki taimi liliu", "HAST": "houa fakahauaʻi taimi totonu", "WESZ": "houa fakaʻeulope-hihifo taimi liliu", "ACDT": "houa fakaʻaositelēlia-loto taimi liliu", "COST": "houa fakakolomipia taimi liliu", "SRT": "houa fakasuliname", "HEEG": "houa fakafonuamata-hahake taimi liliu", "TMT": "houa fakatūkimenisitani taimi totonu", "UYST": "houa fakaʻulukuai taimi liliu", "MEZ": "houa fakaʻeulope-loto taimi totonu", "JST": "houa fakasiapani taimi totonu", "ChST": "houa fakakamolo", "TMST": "houa fakatūkimenisitani taimi liliu", "HNPM": "houa fakasā-piea-mo-mikeloni taimi totonu", "AKDT": "houa fakaʻalasika taimi liliu", "ART": "houa fakaʻasenitina taimi totonu", "HKST": "houa fakahongi-kongi taimi liliu", "LHDT": "houa fakamotuʻeikihoue taimi liliu", "WAT": "houa fakaʻafelika-hihifo taimi totonu", "MDT": "houa fakamakau taimi liliu", "CST": "houa fakaʻamelika-tokelau loto taimi totonu", "CDT": "houa fakaʻamelika-tokelau loto taimi liliu", "AST": "houa fakaʻamelika-tokelau ʻatalanitiki taimi totonu", "HAT": "houa fakafonuaʻilofoʻou taimi liliu", "HNOG": "houa fakafonuamata-hihifo taimi totonu", "NZST": "houa fakanuʻusila taimi totonu", "CHADT": "houa fakasatihami taimi liliu", "HNCU": "houa fakakiupa taimi totonu", "OESZ": "houa fakaʻeulope-hahake taimi liliu", "CAT": "houa fakaʻafelika-loto", "JDT": "houa fakasiapani taimi liliu", "NZDT": "houa fakanuʻusila taimi liliu", "HADT": "houa fakahauaʻi taimi liliu", "PDT": "houa fakaʻamelika-tokelau pasifika taimi liliu", "WITA": "houa fakaʻinitonisia-loto", "LHST": "houa fakamotuʻeikihoue taimi totonu", "CHAST": "houa fakasatihami taimi totonu", "MYT": "houa fakamaleisia", "HECU": "houa fakakiupa taimi liliu", "WEZ": "houa fakaʻeulope-hihifo taimi totonu", "CLT": "houa fakasili taimi totonu", "WART": "houa fakaʻasenitina-hihifo taimi totonu", "GYT": "houa fakakuiana", "PST": "houa fakaʻamelika-tokelau pasifika taimi totonu", "OEZ": "houa fakaʻeulope-hahake taimi totonu", "ECT": "houa fakaʻekuetoa", "HENOMX": "houa fakamekisikou-tokelauhihifo taimi liliu", "EST": "houa fakaʻamelika-tokelau hahake taimi totonu", "UYT": "houa fakaʻulukuai taimi totonu", "ACWST": "houa fakaʻaositelēlia-loto-hihifo taimi totonu", "SAST": "houa fakaʻafelika-tonga", "BOT": "houa fakapolīvia", "WAST": "houa fakaʻafelika-hihifo taimi liliu", "COT": "houa fakakolomipia taimi totonu", "ACST": "houa fakaʻaositelēlia-loto taimi totonu", "EAT": "houa fakaʻafelika-hahake", "HEPMX": "houa fakamekisikou-pasifika taimi liliu"},
}
}
@@ -415,7 +415,12 @@ func (to *to_TO) FmtDateMedium(t time.Time) string {
b = append(b, []byte{0x20}...)
b = append(b, to.monthsAbbreviated[t.Month()]...)
b = append(b, []byte{0x20}...)
- b = strconv.AppendInt(b, int64(t.Year()), 10)
+
+ if t.Year() > 0 {
+ b = strconv.AppendInt(b, int64(t.Year()), 10)
+ } else {
+ b = strconv.AppendInt(b, int64(t.Year()*-1), 10)
+ }
return string(b)
}
@@ -429,7 +434,12 @@ func (to *to_TO) FmtDateLong(t time.Time) string {
b = append(b, []byte{0x20}...)
b = append(b, to.monthsWide[t.Month()]...)
b = append(b, []byte{0x20}...)
- b = strconv.AppendInt(b, int64(t.Year()), 10)
+
+ if t.Year() > 0 {
+ b = strconv.AppendInt(b, int64(t.Year()), 10)
+ } else {
+ b = strconv.AppendInt(b, int64(t.Year()*-1), 10)
+ }
return string(b)
}
@@ -445,7 +455,12 @@ func (to *to_TO) FmtDateFull(t time.Time) string {
b = append(b, []byte{0x20}...)
b = append(b, to.monthsWide[t.Month()]...)
b = append(b, []byte{0x20}...)
- b = strconv.AppendInt(b, int64(t.Year()), 10)
+
+ if t.Year() > 0 {
+ b = strconv.AppendInt(b, int64(t.Year()), 10)
+ } else {
+ b = strconv.AppendInt(b, int64(t.Year()*-1), 10)
+ }
return string(b)
}