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 /nl_AW/nl_AW.go | |
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 'nl_AW/nl_AW.go')
-rw-r--r-- | nl_AW/nl_AW.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nl_AW/nl_AW.go b/nl_AW/nl_AW.go index 90c57d4b..bef2d27a 100644 --- a/nl_AW/nl_AW.go +++ b/nl_AW/nl_AW.go @@ -48,9 +48,9 @@ func New() locales.Translator { locale: "nl_AW", pluralsCardinal: []locales.PluralRule{2, 6}, pluralsOrdinal: []locales.PluralRule{6}, - pluralsRange: []locales.PluralRule{6, 2}, + pluralsRange: []locales.PluralRule{2, 6}, timeSeparator: ":", - currencies: []string{"ADP ", "AED ", "AFA ", "AFN ", "ALK ", "ALL ", "AMD ", "ANG ", "AOA ", "AOK ", "AON ", "AOR ", "ARA ", "ARL ", "ARM ", "ARP ", "ARS ", "ATS ", "AUD ", "Afl.", "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", "Afl.", "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"}, currencyPositivePrefix: " ", currencyNegativePrefix: "( ", currencyNegativeSuffix: ")", @@ -67,7 +67,7 @@ func New() locales.Translator { erasAbbreviated: []string{"v.Chr.", "n.Chr."}, erasNarrow: []string{"v.C.", "n.C."}, erasWide: []string{"voor Christus", "na Christus"}, - timezones: map[string]string{"SGT": "Singaporese standaardtijd", "MST": "Mountain-standaardtijd", "AST": "Atlantic-standaardtijd", "HAST": "Hawaii-Aleoetische standaardtijd", "NZST": "Nieuw-Zeelandse standaardtijd", "EST": "Eastern-standaardtijd", "CDT": "Central-zomertijd", "ACDT": "Midden-Australische zomertijd", "NZDT": "Nieuw-Zeelandse zomertijd", "OESZ": "Oost-Europese zomertijd", "WITA": "Centraal-Indonesische tijd", "GYT": "Guyaanse tijd", "UYST": "Uruguayaanse zomertijd", "WIT": "Oost-Indonesische tijd", "WARST": "West-Argentijnse zomertijd", "HKT": "Hongkongse standaardtijd", "CHAST": "Chatham-standaardtijd", "ACWST": "Midden-Australische westelijke standaardtijd", "MESZ": "Midden-Europese zomertijd", "AEST": "Oost-Australische standaardtijd", "CST": "Central-standaardtijd", "VET": "Venezolaanse tijd", "ART": "Argentijnse standaardtijd", "AKDT": "Alaska-zomertijd", "ADT": "Atlantic-zomertijd", "SRT": "Surinaamse tijd", "WART": "West-Argentijnse standaardtijd", "ECT": "Ecuadoraanse tijd", "TMT": "Turkmeense standaardtijd", "GMT": "Greenwich Mean Time", "CLT": "Chileense standaardtijd", "UYT": "Uruguayaanse standaardtijd", "EAT": "Oost-Afrikaanse tijd", "∅∅∅": "Braziliaanse zomertijd", "ChST": "Chamorro-tijd", "PST": "Pacific-standaardtijd", "EDT": "Eastern-zomertijd", "HNT": "Newfoundland-standaardtijd", "WIB": "West-Indonesische tijd", "GFT": "Frans-Guyaanse tijd", "CHADT": "Chatham-zomertijd", "ACWDT": "Midden-Australische westelijke zomertijd", "SAST": "Zuid-Afrikaanse tijd", "ARST": "Argentijnse zomertijd", "JST": "Japanse standaardtijd", "HADT": "Hawaii-Aleoetische zomertijd", "BT": "Bhutaanse tijd", "HKST": "Hongkongse zomertijd", "AKST": "Alaska-standaardtijd", "CAT": "Centraal-Afrikaanse tijd", "MEZ": "Midden-Europese standaardtijd", "MYT": "Maleisische tijd", "JDT": "Japanse zomertijd", "HAT": "Newfoundland-zomertijd", "CLST": "Chileense zomertijd", "BOT": "Boliviaanse tijd", "WAST": "West-Afrikaanse zomertijd", "AEDT": "Oost-Australische zomertijd", "PDT": "Pacific-zomertijd", "COST": "Colombiaanse zomertijd", "OEZ": "Oost-Europese standaardtijd", "TMST": "Turkmeense zomertijd", "LHDT": "Lord Howe-eilandse zomertijd", "ACST": "Midden-Australische standaardtijd", "AWST": "West-Australische standaardtijd", "AWDT": "West-Australische zomertijd", "COT": "Colombiaanse standaardtijd", "WESZ": "West-Europese zomertijd", "MDT": "Mountain-zomertijd", "LHST": "Lord Howe-eilandse standaardtijd", "IST": "Indiase tijd", "WAT": "West-Afrikaanse standaardtijd", "WEZ": "West-Europese standaardtijd"}, + timezones: map[string]string{"GFT": "Frans-Guyaanse tijd", "JDT": "Japanse zomertijd", "MYT": "Maleisische tijd", "AWST": "West-Australische standaardtijd", "WAST": "West-Afrikaanse zomertijd", "NZST": "Nieuw-Zeelandse standaardtijd", "SRT": "Surinaamse tijd", "HADT": "Hawaii-Aleoetische zomertijd", "LHST": "Lord Howe-eilandse standaardtijd", "TMT": "Turkmeense standaardtijd", "CHADT": "Chatham-zomertijd", "IST": "Indiase tijd", "OESZ": "Oost-Europese zomertijd", "BT": "Bhutaanse tijd", "UYST": "Uruguayaanse zomertijd", "CHAST": "Chatham-standaardtijd", "CST": "Central-standaardtijd", "HKST": "Hongkongse zomertijd", "AKDT": "Alaska-zomertijd", "NZDT": "Nieuw-Zeelandse zomertijd", "GMT": "Greenwich Mean Time", "AEST": "Oost-Australische standaardtijd", "WESZ": "West-Europese zomertijd", "WAT": "West-Afrikaanse standaardtijd", "PST": "Pacific-standaardtijd", "SGT": "Singaporese standaardtijd", "ACWST": "Midden-Australische westelijke standaardtijd", "∅∅∅": "Peruaanse zomertijd", "CDT": "Central-zomertijd", "ADT": "Atlantic-zomertijd", "ChST": "Chamorro-tijd", "MST": "Mountain-standaardtijd", "HAT": "Newfoundland-zomertijd", "HKT": "Hongkongse standaardtijd", "ARST": "Argentijnse zomertijd", "BOT": "Boliviaanse tijd", "TMST": "Turkmeense zomertijd", "WEZ": "West-Europese standaardtijd", "WIB": "West-Indonesische tijd", "AKST": "Alaska-standaardtijd", "OEZ": "Oost-Europese standaardtijd", "ECT": "Ecuadoraanse tijd", "CAT": "Centraal-Afrikaanse tijd", "GYT": "Guyaanse tijd", "WARST": "West-Argentijnse zomertijd", "HAST": "Hawaii-Aleoetische standaardtijd", "SAST": "Zuid-Afrikaanse tijd", "AST": "Atlantic-standaardtijd", "EDT": "Eastern-zomertijd", "UYT": "Uruguayaanse standaardtijd", "CLT": "Chileense standaardtijd", "CLST": "Chileense zomertijd", "COT": "Colombiaanse standaardtijd", "WART": "West-Argentijnse standaardtijd", "AEDT": "Oost-Australische zomertijd", "HNT": "Newfoundland-standaardtijd", "JST": "Japanse standaardtijd", "ART": "Argentijnse standaardtijd", "ACWDT": "Midden-Australische westelijke zomertijd", "EST": "Eastern-standaardtijd", "WIT": "Oost-Indonesische tijd", "ACST": "Midden-Australische standaardtijd", "LHDT": "Lord Howe-eilandse zomertijd", "MDT": "Mountain-zomertijd", "ACDT": "Midden-Australische zomertijd", "EAT": "Oost-Afrikaanse tijd", "MEZ": "Midden-Europese standaardtijd", "MESZ": "Midden-Europese zomertijd", "PDT": "Pacific-zomertijd", "COST": "Colombiaanse zomertijd", "WITA": "Centraal-Indonesische tijd", "VET": "Venezolaanse tijd", "AWDT": "West-Australische zomertijd"}, } } |