diff options
author | Dean Karn <Dean.Karn@metricaid.com> | 2016-11-08 19:14:13 +0300 |
---|---|---|
committer | Dean Karn <Dean.Karn@metricaid.com> | 2016-11-08 19:14:13 +0300 |
commit | 7832011dcf5c8b82caa7d6b379c5df17d5681fea (patch) | |
tree | b2feec7ef734b652acf3ac50d3bf8f90623eba63 /en_JE | |
parent | 23da3897c15437bd43dc8d2bc5f49ac4849e6c32 (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 'en_JE')
-rw-r--r-- | en_JE/en_JE.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/en_JE/en_JE.go b/en_JE/en_JE.go index 6a043dae..240f3cf3 100644 --- a/en_JE/en_JE.go +++ b/en_JE/en_JE.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", "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"}, currencyNegativePrefix: "(", currencyNegativeSuffix: ")", monthsAbbreviated: []string{"", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}, @@ -71,7 +71,7 @@ func New() locales.Translator { erasAbbreviated: []string{"BC", "AD"}, erasNarrow: []string{"B", "A"}, erasWide: []string{"Before Christ", "Anno Domini"}, - timezones: map[string]string{"AKST": "Alaska Standard Time", "TMST": "Turkmenistan Summer Time", "UYT": "Uruguay Standard Time", "AWST": "Australian Western Standard Time", "JST": "Japan Standard Time", "SGT": "Singapore Standard Time", "MEZ": "Central European Standard Time", "HADT": "Hawaii-Aleutian Daylight Time", "ACDT": "Australian Central Daylight Time", "ACWDT": "Australian Central Western Daylight Time", "WITA": "Central Indonesia Time", "MESZ": "Central European Summer Time", "HNT": "Newfoundland Standard Time", "GYT": "Guyana Time", "WART": "Western Argentina Standard Time", "AST": "Atlantic Standard Time", "LHDT": "Lord Howe Daylight Time", "SRT": "Suriname Time", "AKDT": "Alaska Daylight Time", "PST": "Pacific Standard Time", "WAST": "West Africa Summer Time", "∅∅∅": "Brasilia Summer Time", "CST": "Central Standard Time", "GFT": "French Guiana Time", "ACWST": "Australian Central Western Standard Time", "AWDT": "Australian Western Daylight Time", "JDT": "Japan Daylight Time", "MST": "Mountain Standard Time", "CLST": "Chile Summer Time", "ADT": "Atlantic Daylight Time", "WIB": "Western Indonesia Time", "AEST": "Australian Eastern Standard Time", "LHST": "Lord Howe Standard Time", "WIT": "Eastern Indonesia Time", "EAT": "East Africa Time", "HKST": "Hong Kong Summer Time", "HAT": "Newfoundland Daylight Time", "CLT": "Chile Standard Time", "UYST": "Uruguay Summer Time", "CDT": "Central Daylight Time", "EST": "Eastern Standard Time", "EDT": "Eastern Daylight Time", "SAST": "South Africa Standard Time", "GMT": "Greenwich Mean Time", "WARST": "Western Argentina Summer Time", "NZST": "New Zealand Standard Time", "IST": "India Standard Time", "OESZ": "Eastern European Summer Time", "HAST": "Hawaii-Aleutian Standard Time", "WESZ": "Western European Summer Time", "COT": "Colombia Standard Time", "COST": "Colombia Summer Time", "ECT": "Ecuador Time", "VET": "Venezuela Time", "CHADT": "Chatham Daylight Time", "HKT": "Hong Kong Standard Time", "NZDT": "New Zealand Daylight Time", "ChST": "Chamorro Standard Time", "BT": "Bhutan Time", "MYT": "Malaysia Time", "TMT": "Turkmenistan Standard Time", "WAT": "West Africa Standard Time", "AEDT": "Australian Eastern Daylight Time", "OEZ": "Eastern European Standard Time", "PDT": "Pacific Daylight Time", "BOT": "Bolivia Time", "ACST": "Australian Central Standard Time", "CHAST": "Chatham Standard Time", "ARST": "Argentina Summer Time", "WEZ": "Western European Standard Time", "CAT": "Central Africa Time", "MDT": "Mountain Daylight Time", "ART": "Argentina Standard Time"}, + timezones: map[string]string{"CAT": "Central Africa Time", "CDT": "Central Daylight Time", "ACST": "Australian Central Standard Time", "WAST": "West Africa Summer Time", "CLST": "Chile Summer Time", "COT": "Colombia Standard Time", "WIT": "Eastern Indonesia Time", "LHST": "Lord Howe Standard Time", "MYT": "Malaysia Time", "MDT": "Macau Summer Time", "NZST": "New Zealand Standard Time", "IST": "India Standard Time", "COST": "Colombia Summer Time", "AKDT": "Alaska Daylight Time", "WEZ": "Western European Standard Time", "WIB": "Western Indonesia Time", "ARST": "Argentina Summer Time", "TMST": "Turkmenistan Summer Time", "MEZ": "Central European Standard Time", "ACWST": "Australian Central Western Standard Time", "JDT": "Japan Daylight Time", "CST": "Central Standard Time", "UYT": "Uruguay Standard Time", "AWST": "Australian Western Standard Time", "AWDT": "Australian Western Daylight Time", "AEST": "Australian Eastern Standard Time", "GFT": "French Guiana Time", "HAT": "Newfoundland Daylight Time", "JST": "Japan Standard Time", "EAT": "East Africa Time", "WESZ": "Western European Summer Time", "PDT": "Pacific Daylight Time", "EDT": "Eastern Daylight Time", "HADT": "Hawaii-Aleutian Daylight Time", "HNT": "Newfoundland Standard Time", "UYST": "Uruguay Summer Time", "ChST": "Chamorro Standard Time", "ART": "Argentina Standard Time", "EST": "Eastern Standard Time", "TMT": "Turkmenistan Standard Time", "MESZ": "Central European Summer Time", "CLT": "Chile Standard Time", "CHAST": "Chatham Standard Time", "OEZ": "Eastern European Standard Time", "WARST": "Western Argentina Summer Time", "ACDT": "Australian Central Daylight Time", "WART": "Western Argentina Standard Time", "LHDT": "Lord Howe Daylight Time", "∅∅∅": "Amazon Summer Time", "WAT": "West Africa Standard Time", "HAST": "Hawaii-Aleutian Standard Time", "ACWDT": "Australian Central Western Daylight Time", "BT": "Bhutan Time", "GYT": "Guyana Time", "HKT": "Hong Kong Standard Time", "HKST": "Hong Kong Summer Time", "PST": "Pacific Standard Time", "VET": "Venezuela Time", "AKST": "Alaska Standard Time", "NZDT": "New Zealand Daylight Time", "AST": "Atlantic Standard Time", "CHADT": "Chatham Daylight Time", "SGT": "Singapore Standard Time", "ADT": "Atlantic Daylight Time", "AEDT": "Australian Eastern Daylight Time", "SRT": "Suriname Time", "SAST": "South Africa Standard Time", "BOT": "Bolivia Time", "ECT": "Ecuador Time", "MST": "Macau Standard Time", "OESZ": "Eastern European Summer Time", "GMT": "Greenwich Mean Time", "WITA": "Central Indonesia Time"}, } } |