calendar.go 2.5 KB

12345
  1. package sk
  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: "d.M.yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, d. MMMM y", Long: "d. MMMM y", Medium: "d. M. y", Short: "d.M.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: "feb", 3: "mar", 5: "máj", 8: "aug", 10: "okt", 11: "nov", 1: "jan", 4: "apr", 6: "jún", 7: "júl", 9: "sep", 12: "dec"}, Narrow: ut.CalendarMonthFormatNameValue{2: "f", 4: "a", 7: "j", 11: "n", 1: "j", 5: "m", 6: "j", 8: "a", 9: "s", 10: "o", 12: "d", 3: "m"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{3: "marec", 5: "máj", 9: "september", 11: "november", 7: "júl", 8: "august", 10: "október", 12: "december", 1: "január", 2: "február", 4: "apríl", 6: "jún"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{5: "pi", 6: "so", 0: "ne", 1: "po", 2: "ut", 3: "st", 4: "št"}, Narrow: ut.CalendarDayFormatNameValue{2: "u", 3: "s", 4: "š", 5: "p", 6: "s", 0: "n", 1: "p"}, Short: ut.CalendarDayFormatNameValue{4: "št", 5: "pi", 6: "so", 0: "ne", 1: "po", 2: "ut", 3: "st"}, Wide: ut.CalendarDayFormatNameValue{0: "nedeľa", 1: "pondelok", 2: "utorok", 3: "streda", 4: "štvrtok", 5: "piatok", 6: "sobota"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"midnight": "poln.", "am": "AM", "noon": "pol.", "morning2": "dopol.", "night1": "noc", "pm": "PM", "morning1": "ráno", "afternoon1": "popol.", "evening1": "večer"}, Narrow: ut.CalendarPeriodFormatNameValue{"evening1": "več.", "midnight": "poln.", "am": "AM", "noon": "pol.", "pm": "PM", "morning1": "ráno", "morning2": "dop.", "afternoon1": "pop.", "night1": "noc"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"evening1": "večer", "pm": "PM", "morning2": "dopoludnie", "noon": "poludnie", "morning1": "ráno", "afternoon1": "popoludnie", "night1": "noc", "midnight": "polnoc", "am": "AM"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "po Kristovi", Abbrev: "po Kr.", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "pred Kristom", Abbrev: "pred Kr.", Narrow: ""}}}}