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
diff options
context:
space:
mode:
Diffstat (limited to 'es_UY/es_UY.go')
-rw-r--r--es_UY/es_UY.go25
1 files changed, 20 insertions, 5 deletions
diff --git a/es_UY/es_UY.go b/es_UY/es_UY.go
index 15aef435..0062cc0c 100644
--- a/es_UY/es_UY.go
+++ b/es_UY/es_UY.go
@@ -57,7 +57,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", "US$", "USN", "USS", "UYI", "UYP", "$", "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", "BYN", "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", "US$", "USN", "USS", "UYI", "UYP", "$", "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: " ",
currencyPositivePrefix: " ",
currencyNegativePrefix: "( ",
@@ -75,7 +75,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{"∅∅∅": "hora de verano de las Azores", "HAT": "hora de verano de Terranova", "ACWDT": "hora de verano de Australia centroccidental", "WAST": "hora de verano de África occidental", "TMT": "hora estándar de Turkmenistán", "CAT": "hora de África central", "GMT": "hora del meridiano de Greenwich", "GFT": "hora de la Guayana Francesa", "MST": "hora estándar de las Montañas", "BOT": "hora de Bolivia", "UYST": "hora de verano de Uruguay", "HKT": "hora estándar de Hong Kong", "ACDT": "hora de verano de Australia central", "AKST": "hora estándar de Alaska", "AKDT": "hora de verano de Alaska", "NZDT": "hora de verano de Nueva Zelanda", "HNT": "hora estándar de Terranova", "SRT": "hora de Surinam", "WIB": "hora de Indonesia occidental", "ADT": "hora de verano del Atlántico", "GYT": "hora de Guyana", "ECT": "hora de Ecuador", "VET": "hora de Venezuela", "MESZ": "hora de verano de Europa central", "ACWST": "hora estándar de Australia centroccidental", "PST": "hora estándar del Pacífico", "CHAST": "hora estándar de Chatham", "WART": "hora estándar de Argentina occidental", "WARST": "hora de verano de Argentina occidental", "AEST": "hora estándar de Australia oriental", "TMST": "hora de verano de Turkmenistán", "UYT": "hora estándar de Uruguay", "COT": "hora estándar de Colombia", "ART": "hora estándar de Argentina", "ARST": "hora de verano de Argentina", "LHDT": "hora de verano de Lord Howe", "JDT": "hora de verano de Japón", "WIT": "hora de Indonesia oriental", "AWST": "hora estándar de Australia occidental", "OESZ": "hora de verano de Europa oriental", "WITA": "hora de Indonesia central", "AWDT": "hora de verano de Australia occidental", "HAST": "hora estándar de Hawái-Aleutiano", "EST": "hora estándar oriental", "ACST": "hora estándar de Australia central", "BT": "hora de Bután", "WEZ": "hora estándar de Europa occidental", "PDT": "hora de verano del Pacífico", "NZST": "hora estándar de Nueva Zelanda", "CDT": "hora de verano central", "CLST": "hora de verano de Chile", "HKST": "hora de verano de Hong Kong", "CHADT": "hora de verano de Chatham", "AST": "hora estándar del Atlántico", "CST": "hora estándar central", "IST": "hora estándar de la India", "MYT": "hora de Malasia", "WESZ": "hora de verano de Europa occidental", "MEZ": "hora estándar de Europa central", "EAT": "hora de África oriental", "SAST": "hora de Sudáfrica", "LHST": "hora estándar de Lord Howe", "OEZ": "hora estándar de Europa oriental", "SGT": "hora de Singapur", "HADT": "hora de verano de Hawái-Aleutiano", "ChST": "hora estándar de Chamorro", "CLT": "hora estándar de Chile", "MDT": "hora de verano de las Montañas", "JST": "hora estándar de Japón", "COST": "hora de verano de Colombia", "EDT": "hora de verano oriental", "WAT": "hora estándar de África occidental", "AEDT": "hora de verano de Australia oriental"},
+ timezones: map[string]string{"ART": "hora estándar de Argentina", "HEOG": "hora de verano de Groenlandia occidental", "AWST": "hora estándar de Australia occidental", "MEZ": "hora estándar de Europa central", "COST": "hora de verano de Colombia", "UYST": "hora de verano de Uruguay", "COT": "hora estándar de Colombia", "MYT": "hora de Malasia", "AKDT": "hora de verano de Alaska", "AWDT": "hora de verano de Australia occidental", "HNPM": "hora estándar de San Pedro y Miquelón", "HNNOMX": "hora estándar del noroeste de México", "EDT": "hora de verano oriental", "AEDT": "hora de verano de Australia oriental", "HKT": "hora estándar de Hong Kong", "MESZ": "hora de verano de Europa central", "HEEG": "hora de verano de Groenlandia oriental", "GFT": "hora de la Guayana Francesa", "EAT": "hora de África oriental", "OEZ": "hora estándar de Europa oriental", "WART": "hora estándar de Argentina occidental", "EST": "hora estándar oriental", "AST": "hora estándar del Atlántico", "ADT": "hora de verano del Atlántico", "HNEG": "hora estándar de Groenlandia oriental", "WAST": "hora de verano de África occidental", "SGT": "hora de Singapur", "WEZ": "hora estándar de Europa occidental", "WESZ": "hora de verano de Europa occidental", "ACWST": "hora estándar de Australia centroccidental", "TMT": "hora estándar de Turkmenistán", "ACDT": "hora de verano de Australia central", "ECT": "hora de Ecuador", "HECU": "hora de verano de Cuba", "CDT": "hora de verano central", "HKST": "hora de verano de Hong Kong", "JST": "hora estándar de Japón", "WARST": "hora de verano de Argentina occidental", "HNCU": "hora estándar de Cuba", "HEPMX": "hora de verano del Pacífico de México", "CST": "hora estándar central", "SRT": "hora de Surinam", "CLST": "hora de verano de Chile", "CAT": "hora de África central", "WIB": "hora de Indonesia occidental", "PST": "hora estándar del Pacífico", "ACWDT": "hora de verano de Australia centroccidental", "HAT": "hora de verano de Terranova", "LHST": "hora estándar de Lord Howe", "CHAST": "hora estándar de Chatham", "CHADT": "hora de verano de Chatham", "JDT": "hora de verano de Japón", "CLT": "hora estándar de Chile", "ACST": "hora estándar de Australia central", "HNPMX": "hora estándar del Pacífico de México", "AKST": "hora estándar de Alaska", "HAST": "hora estándar de Hawái-Aleutiano", "NZDT": "hora de verano de Nueva Zelanda", "BOT": "hora de Bolivia", "NZST": "hora estándar de Nueva Zelanda", "WAT": "hora estándar de África occidental", "GMT": "hora del meridiano de Greenwich", "GYT": "hora de Guyana", "WIT": "hora de Indonesia oriental", "AEST": "hora estándar de Australia oriental", "WITA": "hora de Indonesia central", "LHDT": "hora de verano de Lord Howe", "∅∅∅": "hora de verano del Amazonas", "MST": "Hora estándar de Macao", "HEPM": "hora de verano de San Pedro y Miquelón", "TMST": "hora de verano de Turkmenistán", "OESZ": "hora de verano de Europa oriental", "ARST": "hora de verano de Argentina", "HNOG": "hora estándar de Groenlandia occidental", "HNT": "hora estándar de Terranova", "SAST": "hora de Sudáfrica", "HENOMX": "hora de verano del noroeste de México", "UYT": "hora estándar de Uruguay", "VET": "hora de Venezuela", "BT": "hora de Bután", "PDT": "hora de verano del Pacífico", "IST": "hora estándar de la India", "ChST": "hora estándar de Chamorro", "MDT": "Hora de verano de Macao", "HADT": "hora de verano de Hawái-Aleutiano"},
}
}
@@ -430,7 +430,12 @@ func (es *es_UY) FmtDateMedium(t time.Time) string {
b = append(b, []byte{0x20}...)
b = append(b, es.monthsAbbreviated[t.Month()]...)
b = append(b, []byte{0x20}...)
- b = strconv.AppendInt(b, int64(t.Year()), 10)
+
+ if t.Year() > 0 {
+ b = strconv.AppendInt(b, int64(t.Year()), 10)
+ } else {
+ b = strconv.AppendInt(b, int64(t.Year()*-1), 10)
+ }
return string(b)
}
@@ -446,7 +451,12 @@ func (es *es_UY) FmtDateLong(t time.Time) string {
b = append(b, es.monthsWide[t.Month()]...)
b = append(b, []byte{0x20, 0x64, 0x65}...)
b = append(b, []byte{0x20}...)
- b = strconv.AppendInt(b, int64(t.Year()), 10)
+
+ if t.Year() > 0 {
+ b = strconv.AppendInt(b, int64(t.Year()), 10)
+ } else {
+ b = strconv.AppendInt(b, int64(t.Year()*-1), 10)
+ }
return string(b)
}
@@ -464,7 +474,12 @@ func (es *es_UY) FmtDateFull(t time.Time) string {
b = append(b, es.monthsWide[t.Month()]...)
b = append(b, []byte{0x20, 0x64, 0x65}...)
b = append(b, []byte{0x20}...)
- b = strconv.AppendInt(b, int64(t.Year()), 10)
+
+ if t.Year() > 0 {
+ b = strconv.AppendInt(b, int64(t.Year()), 10)
+ } else {
+ b = strconv.AppendInt(b, int64(t.Year()*-1), 10)
+ }
return string(b)
}