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_PE
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_PE
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_PE')
-rw-r--r--es_PE/es_PE.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/es_PE/es_PE.go b/es_PE/es_PE.go
index 442d4d23..cce11a4f 100644
--- a/es_PE/es_PE.go
+++ b/es_PE/es_PE.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 ", "S/.", "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", "S/.", "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{"CHAST": "hora estándar de Chatham", "MDT": "Hora de verano de Macao", "ADT": "hora de verano del Atlántico", "AKST": "hora estándar de Alaska", "SGT": "hora de Singapur", "GMT": "hora del meridiano de Greenwich", "GFT": "hora de la Guayana Francesa", "HKST": "hora de verano de Hong Kong", "NZDT": "hora de verano de Nueva Zelanda", "TMST": "hora de verano de Turkmenistán", "LHST": "hora estándar de Lord Howe", "ACDT": "hora de verano de Australia central", "CDT": "hora de verano central", "ART": "hora estándar de Argentina", "ARST": "hora de verano de Argentina", "AEDT": "hora de verano de Australia oriental", "OESZ": "hora de verano de Europa oriental", "CHADT": "hora de verano de Chatham", "AWST": "hora estándar de Australia occidental", "PST": "hora estándar del Pacífico", "WESZ": "hora de verano de Europa occidental", "HAT": "hora de verano de Terranova", "AKDT": "hora de verano de Alaska", "HAST": "hora estándar de Hawái-Aleutiano", "HNT": "hora estándar de Terranova", "GYT": "hora de Guyana", "OEZ": "hora estándar de Europa oriental", "LHDT": "hora de verano de Lord Howe", "CLT": "hora estándar de Chile", "EDT": "hora de verano oriental", "MESZ": "hora de verano de Europa central", "WAST": "hora de verano de África occidental", "SRT": "hora de Surinam", "HADT": "hora de verano de Hawái-Aleutiano", "BOT": "hora de Bolivia", "∅∅∅": "hora de verano del Amazonas", "WEZ": "hora estándar de Europa occidental", "ACWDT": "hora de verano de Australia centroccidental", "JST": "hora estándar de Japón", "SAST": "hora de Sudáfrica", "WARST": "hora de verano de Argentina occidental", "BT": "hora de Bután", "AST": "hora estándar del Atlántico", "ACWST": "hora estándar de Australia centroccidental", "WITA": "hora de Indonesia central", "JDT": "hora de verano de Japón", "NZST": "hora estándar de Nueva Zelanda", "COT": "hora estándar de Colombia", "AEST": "hora estándar de Australia oriental", "MYT": "hora de Malasia", "ACST": "hora estándar de Australia central", "CST": "hora estándar central", "PDT": "hora de verano del Pacífico", "MEZ": "hora estándar de Europa central", "COST": "hora de verano de Colombia", "CAT": "hora de África central", "WIT": "hora de Indonesia oriental", "WART": "hora estándar de Argentina occidental", "ECT": "hora de Ecuador", "UYT": "hora estándar de Uruguay", "HKT": "hora estándar de Hong Kong", "TMT": "hora estándar de Turkmenistán", "ChST": "hora estándar de Chamorro", "EAT": "hora de África oriental", "VET": "hora de Venezuela", "WAT": "hora estándar de África occidental", "CLST": "hora de verano de Chile", "AWDT": "hora de verano de Australia occidental", "IST": "hora estándar de la India", "EST": "hora estándar oriental", "UYST": "hora de verano de Uruguay", "MST": "Hora estándar de Macao", "WIB": "hora de Indonesia occidental"},
+ timezones: map[string]string{"JST": "hora estándar de Japón", "ART": "hora estándar de Argentina", "IST": "hora estándar de la India", "GMT": "hora del meridiano de Greenwich", "ACWDT": "hora de verano de Australia centroccidental", "HNT": "hora estándar de Terranova", "MST": "Hora estándar de Macao", "SGT": "hora de Singapur", "EAT": "hora de África oriental", "NZST": "hora estándar de Nueva Zelanda", "NZDT": "hora de verano de Nueva Zelanda", "UYT": "hora estándar de Uruguay", "BT": "hora de Bután", "WEZ": "hora estándar de Europa occidental", "PDT": "hora de verano del Pacífico", "VET": "hora de Venezuela", "JDT": "hora de verano de Japón", "AKST": "hora estándar de Alaska", "WAT": "hora estándar de África occidental", "CLST": "hora de verano de Chile", "AEST": "hora estándar de Australia oriental", "EDT": "hora de verano oriental", "ADT": "hora de verano del Atlántico", "HKT": "hora estándar de Hong Kong", "HKST": "hora de verano de Hong Kong", "UYST": "hora de verano de Uruguay", "OEZ": "hora estándar de Europa oriental", "OESZ": "hora de verano de Europa oriental", "WIT": "hora de Indonesia oriental", "EST": "hora estándar oriental", "CDT": "hora de verano central", "MYT": "hora de Malasia", "WAST": "hora de verano de África occidental", "MEZ": "hora estándar de Europa central", "PST": "hora estándar del Pacífico", "CHADT": "hora de verano de Chatham", "COT": "hora estándar de Colombia", "SAST": "hora de Sudáfrica", "CST": "hora estándar central", "TMT": "hora estándar de Turkmenistán", "ACDT": "hora de verano de Australia central", "AWST": "hora estándar de Australia occidental", "AWDT": "hora de verano de Australia occidental", "LHDT": "hora de verano de Lord Howe", "CAT": "hora de África central", "GYT": "hora de Guyana", "SRT": "hora de Surinam", "AEDT": "hora de verano de Australia oriental", "BOT": "hora de Bolivia", "∅∅∅": "hora de verano de Perú", "LHST": "hora estándar de Lord Howe", "TMST": "hora de verano de Turkmenistán", "MDT": "Hora de verano de Macao", "ChST": "hora estándar de Chamorro", "CHAST": "hora estándar de Chatham", "WART": "hora estándar de Argentina occidental", "HAT": "hora de verano de Terranova", "CLT": "hora estándar de Chile", "ACWST": "hora estándar de Australia centroccidental", "AST": "hora estándar del Atlántico", "WIB": "hora de Indonesia occidental", "MESZ": "hora de verano de Europa central", "WARST": "hora de verano de Argentina occidental", "GFT": "hora de la Guayana Francesa", "HADT": "hora de verano de Hawái-Aleutiano", "AKDT": "hora de verano de Alaska", "WITA": "hora de Indonesia central", "ACST": "hora estándar de Australia central", "ECT": "hora de Ecuador", "WESZ": "hora de verano de Europa occidental", "ARST": "hora de verano de Argentina", "COST": "hora de verano de Colombia", "HAST": "hora estándar de Hawái-Aleutiano"},
}
}
@@ -430,11 +430,11 @@ func (es *es_PE) 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)
@@ -448,11 +448,11 @@ func (es *es_PE) 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)