calendar.go 2.6 KB

12345
  1. package lv
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE, y. 'gada' d. MMMM", Long: "y. 'gada' d. MMMM", Medium: "y. 'gada' d. MMM", Short: "dd.MM.yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, y. 'gada' d. MMMM", Long: "y. 'gada' d. MMMM", Medium: "y. 'gada' d. MMM", Short: "dd.MM.yy"}}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH: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{9: "Sept.", 1: "Janv.", 2: "Febr.", 3: "Marts", 5: "Maijs", 7: "Jūl.", 12: "Dec.", 4: "Apr.", 6: "Jūn.", 8: "Aug.", 10: "Okt.", 11: "Nov."}, Narrow: ut.CalendarMonthFormatNameValue{11: "N", 2: "F", 4: "A", 10: "O", 6: "J", 7: "J", 8: "A", 9: "S", 12: "D", 1: "J", 3: "M", 5: "M"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{3: "Marts", 4: "Aprīlis", 8: "Augusts", 12: "Decembris", 1: "Janvāris", 5: "Maijs", 6: "Jūnijs", 7: "Jūlijs", 9: "Septembris", 10: "Oktobris", 11: "Novembris", 2: "Februāris"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{6: "Se", 0: "Sv", 1: "Pr", 2: "Ot", 3: "Tr", 4: "Ce", 5: "Pk"}, Narrow: ut.CalendarDayFormatNameValue{4: "C", 5: "P", 6: "S", 0: "S", 1: "P", 2: "O", 3: "T"}, Short: ut.CalendarDayFormatNameValue{0: "Sv", 1: "Pr", 2: "Ot", 3: "Tr", 4: "Ce", 5: "Pk", 6: "Se"}, Wide: ut.CalendarDayFormatNameValue{0: "Svētdiena", 1: "Pirmdiena", 2: "Otrdiena", 3: "Trešdiena", 4: "Ceturtdiena", 5: "Piektdiena", 6: "Sestdiena"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"midnight": "pusnakts", "am": "priekšp.", "pm": "pēcpusd.", "morning1": "rīts", "afternoon1": "pēcpusdiena", "evening1": "vakars", "night1": "nakts"}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "priekšp.", "noon": "pusd.", "pm": "pēcp.", "morning1": "rīts", "afternoon1": "pēcpusdiena", "evening1": "vakars", "night1": "nakts", "midnight": "pusnakts"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"afternoon1": "pēcpusdiena", "evening1": "vakars", "night1": "nakts", "midnight": "pusnakts", "am": "priekšpusdienā", "noon": "pusdienlaiks", "pm": "pēcpusdiena", "morning1": "rīts"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: "m.ē."}, BC: ut.CalendarEraFormatNames{Full: "pirms mūsu ēras", Abbrev: "p.m.ē.", Narrow: "p.m.ē."}}}}