12345 |
- package ca
- import "github.com/go-playground/universal-translator"
- var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE, d MMMM 'de' y", Long: "d MMMM 'de' y", Medium: "d MMM y", Short: "d/M/yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, d MMMM 'de' y", Long: "d MMMM 'de' y", Medium: "d MMM 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} 'a' 'les' {0}", Long: "{1}, {0}", Medium: "{1}, {0}", Short: "{1} {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{10: "oct.", 12: "des.", 3: "març", 7: "jul.", 4: "abr.", 5: "maig", 6: "juny", 8: "ag.", 9: "set.", 11: "nov.", 1: "gen.", 2: "febr."}, Narrow: ut.CalendarMonthFormatNameValue{12: "DS", 8: "AG", 9: "ST", 3: "MÇ", 4: "AB", 5: "MG", 6: "JN", 7: "JL", 10: "OC", 1: "GN", 2: "FB", 11: "NV"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{12: "desembre", 2: "febrer", 4: "abril", 5: "maig", 8: "agost", 10: "octubre", 11: "novembre", 1: "gener", 3: "març", 6: "juny", 7: "juliol", 9: "setembre"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{4: "dj.", 5: "dv.", 6: "ds.", 0: "dg.", 1: "dl.", 2: "dt.", 3: "dc."}, Narrow: ut.CalendarDayFormatNameValue{0: "dg", 1: "dl", 2: "dt", 3: "dc", 4: "dj", 5: "dv", 6: "ds"}, Short: ut.CalendarDayFormatNameValue{0: "dg.", 1: "dl.", 2: "dt.", 3: "dc.", 4: "dj.", 5: "dv.", 6: "ds."}, Wide: ut.CalendarDayFormatNameValue{6: "dissabte", 0: "diumenge", 1: "dilluns", 2: "dimarts", 3: "dimecres", 4: "dijous", 5: "divendres"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"pm": "p. m.", "morning2": "matí", "afternoon1": "migdia", "evening1": "vespre", "midnight": "mitjanit", "am": "a. m.", "morning1": "matinada", "afternoon2": "tarda", "night1": "nit"}, Narrow: ut.CalendarPeriodFormatNameValue{"afternoon2": "tarda", "night1": "nit", "am": "a. m.", "pm": "p. m.", "morning2": "matí", "evening1": "vespre", "midnight": "mitjanit", "morning1": "matinada", "afternoon1": "migdia"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"midnight": "mitjanit", "am": "a. m.", "pm": "p. m.", "morning1": "matinada", "morning2": "matí", "afternoon2": "tarda", "night1": "nit", "afternoon1": "migdia", "evening1": "vespre"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "després de Crist", Abbrev: "dC", Narrow: "dC"}, BC: ut.CalendarEraFormatNames{Full: "abans de Crist", Abbrev: "aC", Narrow: "aC"}}}}
|