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_GY | |
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_GY')
-rw-r--r-- | en_GY/en_GY.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/en_GY/en_GY.go b/en_GY/en_GY.go index f569884c..04c196f4 100644 --- a/en_GY/en_GY.go +++ b/en_GY/en_GY.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 ", "$", "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", "$", "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{"JDT": "Japan Daylight Time", "HADT": "Hawaii-Aleutian Daylight Time", "TMT": "Turkmenistan Standard Time", "AEST": "Australian Eastern Standard Time", "GYT": "Guyana Time", "GFT": "French Guiana Time", "AKST": "Alaska Standard Time", "∅∅∅": "Amazon Summer Time", "WEZ": "Western European Standard Time", "HNT": "Newfoundland Standard Time", "SGT": "Singapore Standard Time", "TMST": "Turkmenistan Summer Time", "AST": "Atlantic Standard Time", "AWST": "Australian Western Standard Time", "PDT": "Pacific Daylight Time", "HAT": "Newfoundland Daylight Time", "ACST": "Australian Central Standard Time", "HKT": "Hong Kong Standard Time", "LHST": "Lord Howe Standard Time", "SRT": "Suriname Time", "AKDT": "Alaska Daylight Time", "ADT": "Atlantic Daylight Time", "JST": "Japan Standard Time", "MEZ": "Central European Standard Time", "BOT": "Bolivia Time", "GMT": "Greenwich Mean Time", "WAST": "West Africa Summer Time", "WARST": "Western Argentina Summer Time", "ECT": "Ecuador Time", "ART": "Argentina Standard Time", "COT": "Colombia Standard Time", "ChST": "Chamorro Standard Time", "CLST": "Chile Summer Time", "HAST": "Hawaii-Aleutian Standard Time", "WESZ": "Western European Summer Time", "MYT": "Malaysia Time", "HKST": "Hong Kong Summer Time", "COST": "Colombia Summer Time", "OEZ": "Eastern European Standard Time", "BT": "Bhutan Time", "WIT": "Eastern Indonesia Time", "VET": "Venezuela Time", "IST": "India Standard Time", "EDT": "Eastern Daylight Time", "NZST": "New Zealand Standard Time", "WIB": "Western Indonesia Time", "MDT": "Mountain Daylight Time", "CHAST": "Chatham Standard Time", "LHDT": "Lord Howe Daylight Time", "ACWST": "Australian Central Western Standard Time", "PST": "Pacific Standard Time", "CAT": "Central Africa Time", "WART": "Western Argentina Standard Time", "ARST": "Argentina Summer Time", "EST": "Eastern Standard Time", "OESZ": "Eastern European Summer Time", "EAT": "East Africa Time", "UYT": "Uruguay Standard Time", "CST": "Central Standard Time", "MST": "Mountain Standard Time", "CLT": "Chile Standard Time", "ACDT": "Australian Central Daylight Time", "ACWDT": "Australian Central Western Daylight Time", "WITA": "Central Indonesia Time", "NZDT": "New Zealand Daylight Time", "AWDT": "Australian Western Daylight Time", "SAST": "South Africa Standard Time", "WAT": "West Africa Standard Time", "CDT": "Central Daylight Time", "CHADT": "Chatham Daylight Time", "MESZ": "Central European Summer Time", "AEDT": "Australian Eastern Daylight Time", "UYST": "Uruguay Summer Time"}, + timezones: map[string]string{"AEST": "Australian Eastern Standard Time", "GYT": "Guyana Time", "WESZ": "Western European Summer Time", "CHADT": "Chatham Daylight Time", "GMT": "Greenwich Mean Time", "BT": "Bhutan Time", "∅∅∅": "Brasilia Summer Time", "AWST": "Australian Western Standard Time", "PST": "Pacific Standard Time", "ADT": "Atlantic Daylight Time", "MESZ": "Central European Summer Time", "EST": "Eastern Standard Time", "AST": "Atlantic Standard Time", "WIB": "Western Indonesia Time", "ART": "Argentina Standard Time", "ACDT": "Australian Central Daylight Time", "PDT": "Pacific Daylight Time", "ARST": "Argentina Summer Time", "ChST": "Chamorro Standard Time", "OESZ": "Eastern European Summer Time", "CDT": "Central Daylight Time", "HKT": "Hong Kong Standard Time", "CLST": "Chile Summer Time", "IST": "India Standard Time", "HNT": "Newfoundland Standard Time", "GFT": "French Guiana Time", "ECT": "Ecuador Time", "AWDT": "Australian Western Daylight Time", "CLT": "Chile Standard Time", "MDT": "Macau Summer Time", "SGT": "Singapore Standard Time", "WITA": "Central Indonesia Time", "AEDT": "Australian Eastern Daylight Time", "HAST": "Hawaii-Aleutian Standard Time", "ACWDT": "Australian Central Western Daylight Time", "UYST": "Uruguay Summer Time", "WAST": "West Africa Summer Time", "OEZ": "Eastern European Standard Time", "WARST": "Western Argentina Summer Time", "HAT": "Newfoundland Daylight Time", "BOT": "Bolivia Time", "LHST": "Lord Howe Standard Time", "VET": "Venezuela Time", "CAT": "Central Africa Time", "MYT": "Malaysia Time", "WEZ": "Western European Standard Time", "MEZ": "Central European Standard Time", "WIT": "Eastern Indonesia Time", "UYT": "Uruguay Standard Time", "JDT": "Japan Daylight Time", "TMST": "Turkmenistan Summer Time", "ACWST": "Australian Central Western Standard Time", "EDT": "Eastern Daylight Time", "ACST": "Australian Central Standard Time", "HKST": "Hong Kong Summer Time", "WAT": "West Africa Standard Time", "COST": "Colombia Summer Time", "SRT": "Suriname Time", "MST": "Macau Standard Time", "WART": "Western Argentina Standard Time", "AKST": "Alaska Standard Time", "CHAST": "Chatham Standard Time", "EAT": "East Africa Time", "TMT": "Turkmenistan Standard Time", "SAST": "South Africa Standard Time", "AKDT": "Alaska Daylight Time", "NZST": "New Zealand Standard Time", "COT": "Colombia Standard Time", "HADT": "Hawaii-Aleutian Daylight Time", "NZDT": "New Zealand Daylight Time", "CST": "Central Standard Time", "LHDT": "Lord Howe Daylight Time", "JST": "Japan Standard Time"}, } } |