calendar.go 2.7 KB

12345
  1. package ru_MD
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE, d MMMM y 'г'.", Long: "d MMMM y 'г'.", Medium: "d MMM y 'г'.", Short: "dd.MM.yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, d MMMM y 'г'.", Long: "d MMMM y 'г'.", Medium: "d MMM y 'г'.", Short: "dd.MM.yy"}}, Time: ut.CalendarDateFormat{Full: "H:mm:ss zzzz", Long: "H:mm:ss z", Medium: "H:mm:ss", Short: "H:mm"}, DateTime: ut.CalendarDateFormat{Full: "{1}, {0}", Long: "{1}, {0}", Medium: "{1}, {0}", Short: "{1}, {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{4: "апр.", 7: "июль", 9: "сент.", 11: "нояб.", 12: "дек.", 5: "май", 3: "март", 6: "июнь", 8: "авг.", 10: "окт.", 1: "янв.", 2: "февр."}, Narrow: ut.CalendarMonthFormatNameValue{3: "М", 6: "И", 9: "С", 4: "А", 10: "О", 11: "Н", 5: "М", 8: "А", 1: "Я", 2: "Ф", 7: "И", 12: "Д"}, Short: ut.CalendarMonthFormatNameValue{}, Wide: ut.CalendarMonthFormatNameValue{6: "июнь", 8: "август", 11: "ноябрь", 12: "декабрь", 1: "январь", 2: "февраль", 3: "март", 4: "апрель", 7: "июль", 5: "май", 9: "сентябрь", 10: "октябрь"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "вс", 1: "пн", 2: "вт", 3: "ср", 4: "чт", 5: "пт", 6: "сб"}, Narrow: ut.CalendarDayFormatNameValue{6: "С", 0: "В", 1: "П", 2: "В", 3: "С", 4: "Ч", 5: "П"}, Short: ut.CalendarDayFormatNameValue{4: "чт", 5: "пт", 6: "сб", 0: "вс", 1: "пн", 2: "вт", 3: "ср"}, Wide: ut.CalendarDayFormatNameValue{1: "понедельник", 2: "вторник", 3: "среда", 4: "четверг", 5: "пятница", 6: "суббота", 0: "воскресенье"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"pm": "ПП", "morning1": "утро", "afternoon1": "день", "evening1": "веч.", "night1": "ночь", "midnight": "полн.", "am": "ДП", "noon": "полд."}, Narrow: ut.CalendarPeriodFormatNameValue{"midnight": "полн.", "am": "ДП", "noon": "полд.", "pm": "ПП", "morning1": "утро", "afternoon1": "день", "evening1": "веч.", "night1": "ночь"}, Short: ut.CalendarPeriodFormatNameValue{}, Wide: ut.CalendarPeriodFormatNameValue{"midnight": "полночь", "am": "ДП", "noon": "полдень", "pm": "ПП", "morning1": "утро", "afternoon1": "день", "evening1": "вечер", "night1": "ночь"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}}}}