calendar.go 2.6 KB

12345
  1. package cs
  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. M. y", Short: "dd.MM.yy"}, AD: ut.CalendarDateFormat{Full: "EEEE d. MMMM y", Long: "d. MMMM y", Medium: "d. M. 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{2: "úno", 8: "srp", 10: "říj", 5: "kvě", 6: "čvn", 7: "čvc", 9: "zář", 11: "lis", 1: "led", 3: "bře", 4: "dub", 12: "pro"}, Narrow: ut.CalendarMonthFormatNameValue{2: "2", 6: "6", 7: "7", 10: "10", 11: "11", 12: "12", 1: "1", 3: "3", 4: "4", 5: "5", 8: "8", 9: "9"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{1: "leden", 2: "únor", 3: "březen", 8: "srpen", 10: "říjen", 11: "listopad", 4: "duben", 5: "květen", 6: "červen", 7: "červenec", 9: "září", 12: "prosinec"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "ne", 1: "po", 2: "út", 3: "st", 4: "čt", 5: "pá", 6: "so"}, Narrow: ut.CalendarDayFormatNameValue{0: "N", 1: "P", 2: "Ú", 3: "S", 4: "Č", 5: "P", 6: "S"}, Short: ut.CalendarDayFormatNameValue{1: "po", 2: "út", 3: "st", 4: "čt", 5: "pá", 6: "so", 0: "ne"}, Wide: ut.CalendarDayFormatNameValue{2: "úterý", 3: "středa", 4: "čtvrtek", 5: "pátek", 6: "sobota", 0: "neděle", 1: "pondělí"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"midnight": "půlnoc", "am": "dop.", "noon": "poledne", "pm": "odp.", "morning1": "ráno", "morning2": "dopoledne", "afternoon1": "odpoledne", "evening1": "večer", "night1": "noc"}, Narrow: ut.CalendarPeriodFormatNameValue{"afternoon1": "odp.", "evening1": "več.", "midnight": "půl.", "am": "dop.", "noon": "pol.", "morning2": "dop.", "pm": "odp.", "morning1": "ráno", "night1": "noc"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"noon": "poledne", "pm": "odp.", "morning2": "dopoledne", "afternoon1": "odpoledne", "evening1": "večer", "night1": "noc", "am": "dop.", "morning1": "ráno", "midnight": "půlnoc"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "př. n. l.", Abbrev: "př. n. l.", Narrow: "př.n.l."}}}}