calendar.go 2.2 KB

12345
  1. package ga
  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/y"}, AD: ut.CalendarDateFormat{Full: "EEEE d MMMM y", Long: "d MMMM y", Medium: "d MMM y", Short: "dd/MM/y"}}, 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{2: "Feabh", 3: "Márta", 4: "Aib", 5: "Beal", 10: "DFómh", 12: "Noll", 1: "Ean", 6: "Meith", 7: "Iúil", 8: "Lún", 9: "MFómh", 11: "Samh"}, Narrow: ut.CalendarMonthFormatNameValue{4: "A", 6: "M", 9: "M", 10: "D", 11: "S", 12: "N", 1: "E", 2: "F", 3: "M", 5: "B", 7: "I", 8: "L"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{1: "Eanáir", 2: "Feabhra", 4: "Aibreán", 5: "Bealtaine", 6: "Meitheamh", 8: "Lúnasa", 9: "Meán Fómhair", 10: "Deireadh Fómhair", 12: "Nollaig", 3: "Márta", 7: "Iúil", 11: "Samhain"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "Domh", 1: "Luan", 2: "Máirt", 3: "Céad", 4: "Déar", 5: "Aoine", 6: "Sath"}, Narrow: ut.CalendarDayFormatNameValue{6: "S", 0: "D", 1: "L", 2: "M", 3: "C", 4: "D", 5: "A"}, Short: ut.CalendarDayFormatNameValue{3: "Cé", 4: "Dé", 5: "Ao", 6: "Sa", 0: "Do", 1: "Lu", 2: "Má"}, Wide: ut.CalendarDayFormatNameValue{1: "Dé Luain", 2: "Dé Máirt", 3: "Dé Céadaoin", 4: "Déardaoin", 5: "Dé hAoine", 6: "Dé Sathairn", 0: "Dé Domhnaigh"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "a.m.", "pm": "p.m."}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "a", "pm": "p"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "a.m.", "pm": "p.m."}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "Anno Domini", Abbrev: "AD", Narrow: "AD"}, BC: ut.CalendarEraFormatNames{Full: "Roimh Chríost", Abbrev: "RC", Narrow: "RC"}}}}