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