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/es_IC
diff options
context:
space:
mode:
authorDean Karn <Dean.Karn@metricaid.com>2016-11-08 19:14:13 +0300
committerDean Karn <Dean.Karn@metricaid.com>2016-11-08 19:14:13 +0300
commit7832011dcf5c8b82caa7d6b379c5df17d5681fea (patch)
treeb2feec7ef734b652acf3ac50d3bf8f90623eba63 /es_IC
parent23da3897c15437bd43dc8d2bc5f49ac4849e6c32 (diff)
Correct some issues + Add Russian testsv0.10.2
- corrected handling of single quite in date formats, index was off causing quotes to appear in text - corrected bug in plurals rules mod != rules were generating mod10 < 12 && mod10 >14, when it should be (mod10 < 12 || mod10 > 14) - added code to sort plural rules, no real issue just now print in order - override russian percent format CLDR contains space between # and % but should be no space. Russian tests were added, thanks @nikolay-turpitko. - updated tests to cover 100% of range rules.
Diffstat (limited to 'es_IC')
-rw-r--r--es_IC/es_IC.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/es_IC/es_IC.go b/es_IC/es_IC.go
index 3fc67ab3..24918ab2 100644
--- a/es_IC/es_IC.go
+++ b/es_IC/es_IC.go
@@ -56,7 +56,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", "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"},
percentSuffix: " ",
currencyPositiveSuffix: " ",
currencyNegativeSuffix: " ",
@@ -73,7 +73,7 @@ func New() locales.Translator {
erasAbbreviated: []string{"a. C.", "d. C."},
erasNarrow: []string{"", ""},
erasWide: []string{"antes de Cristo", "después de Cristo"},
- timezones: map[string]string{"CHADT": "hora de verano de Chatham", "ECT": "hora de Ecuador", "JST": "hora estándar de Japón", "ADT": "hora de verano del Atlántico", "IST": "hora estándar de la India", "AEDT": "hora de verano de Australia oriental", "LHDT": "hora de verano de Lord Howe", "CDT": "hora de verano central", "JDT": "hora de verano de Japón", "ACWST": "hora estándar de Australia centroccidental", "AWDT": "hora de verano de Australia occidental", "CLST": "hora de verano de Chile", "LHST": "hora estándar de Lord Howe", "∅∅∅": "hora de verano de Brasilia", "GYT": "hora de Guyana", "BOT": "hora de Bolivia", "MEZ": "hora estándar de Europa central", "WEZ": "hora estándar de Europa occidental", "WESZ": "hora de verano de Europa occidental", "OEZ": "hora estándar de Europa oriental", "PST": "hora estándar del Pacífico", "WAST": "hora de verano de África occidental", "OESZ": "hora de verano de Europa oriental", "HADT": "hora de verano de Hawái-Aleutiano", "TMT": "hora estándar de Turkmenistán", "SGT": "hora de Singapur", "MESZ": "hora de verano de Europa central", "HNT": "hora estándar de Terranova", "AEST": "hora estándar de Australia oriental", "COST": "hora de verano de Colombia", "ACDT": "hora de verano de Australia central", "VET": "hora de Venezuela", "SRT": "hora de Surinam", "ARST": "hora de verano de Argentina", "WIT": "hora de Indonesia oriental", "MDT": "hora de verano de las Montañas", "CHAST": "hora estándar de Chatham", "AKST": "hora estándar de Alaska", "AWST": "hora estándar de Australia occidental", "NZST": "hora estándar de Nueva Zelanda", "TMST": "hora de verano de Turkmenistán", "UYT": "hora estándar de Uruguay", "UYST": "hora de verano de Uruguay", "ACST": "hora estándar de Australia central", "WART": "hora estándar de Argentina occidental", "HKT": "hora estándar de Hong Kong", "AKDT": "hora de verano de Alaska", "CAT": "hora de África central", "CLT": "hora estándar de Chile", "EAT": "hora de África oriental", "NZDT": "hora de verano de Nueva Zelanda", "WIB": "hora de Indonesia occidental", "ChST": "hora estándar de Chamorro", "WITA": "hora de Indonesia central", "BT": "hora de Bután", "MST": "hora estándar de las Montañas", "EST": "hora estándar oriental", "WAT": "hora estándar de África occidental", "EDT": "hora de verano oriental", "AST": "hora estándar del Atlántico", "ACWDT": "hora de verano de Australia centroccidental", "HAST": "hora estándar de Hawái-Aleutiano", "SAST": "hora de Sudáfrica", "GMT": "hora del meridiano de Greenwich", "MYT": "hora de Malasia", "WARST": "hora de verano de Argentina occidental", "GFT": "hora de la Guayana Francesa", "HKST": "hora de verano de Hong Kong", "ART": "hora estándar de Argentina", "PDT": "hora de verano del Pacífico", "COT": "hora estándar de Colombia", "HAT": "hora de verano de Terranova", "CST": "hora estándar central"},
+ timezones: map[string]string{"PDT": "hora de verano del Pacífico", "COT": "hora estándar de Colombia", "AKST": "hora estándar de Alaska", "AKDT": "hora de verano de Alaska", "BT": "hora de Bután", "HKT": "hora estándar de Hong Kong", "HAT": "hora de verano de Terranova", "LHST": "hora estándar de Lord Howe", "AST": "hora estándar del Atlántico", "WAST": "hora de verano de África occidental", "AWDT": "hora de verano de Australia occidental", "WART": "hora estándar de Argentina occidental", "WARST": "hora de verano de Argentina occidental", "TMT": "hora estándar de Turkmenistán", "ChST": "hora estándar de Chamorro", "GYT": "hora de Guyana", "CLST": "hora de verano de Chile", "MYT": "hora de Malasia", "UYT": "hora estándar de Uruguay", "HKST": "hora de verano de Hong Kong", "ARST": "hora de verano de Argentina", "MDT": "hora de verano de las Montañas", "HAST": "hora estándar de Hawái-Aleutiano", "HADT": "hora de verano de Hawái-Aleutiano", "LHDT": "hora de verano de Lord Howe", "CHADT": "hora de verano de Chatham", "GFT": "hora de la Guayana Francesa", "NZST": "hora estándar de Nueva Zelanda", "ACWDT": "hora de verano de Australia centroccidental", "EAT": "hora de África oriental", "ACST": "hora estándar de Australia central", "ACDT": "hora de verano de Australia central", "MESZ": "hora de verano de Europa central", "CHAST": "hora estándar de Chatham", "GMT": "hora del meridiano de Greenwich", "ECT": "hora de Ecuador", "TMST": "hora de verano de Turkmenistán", "MEZ": "hora estándar de Europa central", "SRT": "hora de Surinam", "AEDT": "hora de verano de Australia oriental", "SAST": "hora de Sudáfrica", "NZDT": "hora de verano de Nueva Zelanda", "CLT": "hora estándar de Chile", "WITA": "hora de Indonesia central", "BOT": "hora de Bolivia", "∅∅∅": "hora de verano de Perú", "UYST": "hora de verano de Uruguay", "WEZ": "hora estándar de Europa occidental", "MST": "hora estándar de las Montañas", "HNT": "hora estándar de Terranova", "WAT": "hora estándar de África occidental", "AWST": "hora estándar de Australia occidental", "PST": "hora estándar del Pacífico", "VET": "hora de Venezuela", "JDT": "hora de verano de Japón", "ADT": "hora de verano del Atlántico", "ART": "hora estándar de Argentina", "OEZ": "hora estándar de Europa oriental", "OESZ": "hora de verano de Europa oriental", "COST": "hora de verano de Colombia", "EDT": "hora de verano oriental", "IST": "hora estándar de la India", "WIT": "hora de Indonesia oriental", "JST": "hora estándar de Japón", "CAT": "hora de África central", "CDT": "hora de verano central", "WIB": "hora de Indonesia occidental", "WESZ": "hora de verano de Europa occidental", "SGT": "hora de Singapur", "AEST": "hora estándar de Australia oriental", "EST": "hora estándar oriental", "ACWST": "hora estándar de Australia centroccidental", "CST": "hora estándar central"},
}
}
@@ -424,11 +424,11 @@ func (es *es_IC) FmtDateLong(t time.Time) string {
b := make([]byte, 0, 32)
b = strconv.AppendInt(b, int64(t.Day()), 10)
- b = append(b, []byte{}...)
- b = append(b, []byte{0x27, 0x64, 0x65, 0x27, 0x20}...)
+ b = append(b, []byte{0x20, 0x64, 0x65}...)
+ b = append(b, []byte{0x20}...)
b = append(b, es.monthsWide[t.Month()]...)
- b = append(b, []byte{}...)
- b = append(b, []byte{0x27, 0x64, 0x65, 0x27, 0x20}...)
+ b = append(b, []byte{0x20, 0x64, 0x65}...)
+ b = append(b, []byte{0x20}...)
b = strconv.AppendInt(b, int64(t.Year()), 10)
return string(b)
@@ -442,11 +442,11 @@ func (es *es_IC) FmtDateFull(t time.Time) string {
b = append(b, es.daysWide[t.Weekday()]...)
b = append(b, []byte{0x2c, 0x20}...)
b = strconv.AppendInt(b, int64(t.Day()), 10)
- b = append(b, []byte{}...)
- b = append(b, []byte{0x27, 0x64, 0x65, 0x27, 0x20}...)
+ b = append(b, []byte{0x20, 0x64, 0x65}...)
+ b = append(b, []byte{0x20}...)
b = append(b, es.monthsWide[t.Month()]...)
- b = append(b, []byte{}...)
- b = append(b, []byte{0x27, 0x64, 0x65, 0x27, 0x20}...)
+ b = append(b, []byte{0x20, 0x64, 0x65}...)
+ b = append(b, []byte{0x20}...)
b = strconv.AppendInt(b, int64(t.Year()), 10)
return string(b)