calendar.go 3.9 KB

12345
  1. package ml
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "y, MMMM d, EEEE", Long: "y, MMMM d", Medium: "y, MMM d", Short: "d/M/yy"}, AD: ut.CalendarDateFormat{Full: "y, MMMM d, EEEE", Long: "y, MMMM d", Medium: "y, MMM d", Short: "d/M/yy"}}, Time: ut.CalendarDateFormat{Full: "h:mm:ss a zzzz", Long: "h:mm:ss a z", Medium: "h:mm:ss a", Short: "h:mm a"}, DateTime: ut.CalendarDateFormat{Full: "{1} {0}", Long: "{1} {0}", Medium: "{1} {0}", Short: "{1} {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{7: "ജൂലൈ", 8: "ഓഗ", 9: "സെപ്റ്റം", 10: "ഒക്ടോ", 12: "ഡിസം", 4: "ഏപ്രി", 5: "മേയ്", 6: "ജൂൺ", 11: "നവം", 1: "ജനു", 2: "ഫെബ്രു", 3: "മാർ"}, Narrow: ut.CalendarMonthFormatNameValue{3: "മാ", 7: "ജൂ", 8: "ഓ", 9: "സെ", 10: "ഒ", 12: "ഡി", 1: "ജ", 2: "ഫെ", 4: "ഏ", 5: "മെ", 6: "ജൂ", 11: "ന"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{10: "ഒക്\u200cടോബർ", 12: "ഡിസംബർ", 1: "ജനുവരി", 4: "ഏപ്രിൽ", 5: "മേയ്", 6: "ജൂൺ", 7: "ജൂലൈ", 8: "ഓഗസ്റ്റ്", 2: "ഫെബ്രുവരി", 3: "മാർച്ച്", 9: "സെപ്റ്റംബർ", 11: "നവംബർ"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{2: "ചൊവ്വ", 3: "ബുധൻ", 4: "വ്യാഴം", 5: "വെള്ളി", 6: "ശനി", 0: "ഞായർ", 1: "തിങ്കൾ"}, Narrow: ut.CalendarDayFormatNameValue{3: "ബു", 4: "വ്യാ", 5: "വെ", 6: "ശ", 0: "ഞാ", 1: "തി", 2: "ചൊ"}, Short: ut.CalendarDayFormatNameValue{1: "തി", 2: "ചൊ", 3: "ബു", 4: "വ്യാ", 5: "വെ", 6: "ശ", 0: "ഞാ"}, Wide: ut.CalendarDayFormatNameValue{5: "വെള്ളിയാഴ്\u200cച", 6: "ശനിയാഴ്\u200cച", 0: "ഞായറാഴ്\u200cച", 1: "തിങ്കളാഴ്\u200cച", 2: "ചൊവ്വാഴ്\u200cച", 3: "ബുധനാഴ്\u200cച", 4: "വ്യാഴാഴ്\u200cച"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"morning1": "പുലർച്ചെ", "morning2": "രാവിലെ", "afternoon2": "ഉച്ചതിരിഞ്ഞ്", "evening2": "സന്ധ്യ", "am": "AM", "pm": "PM", "afternoon1": "ഉച്ചയ്ക്ക്", "evening1": "വൈകുന്നേരം", "night1": "രാത്രി", "midnight": "അർദ്ധരാത്രി", "noon": "ഉച്ച"}, Narrow: ut.CalendarPeriodFormatNameValue{"morning1": "പുലർച്ചെ", "morning2": "രാവിലെ", "afternoon1": "ഉച്ചയ്ക്ക്", "afternoon2": "ഉച്ചതിരിഞ്ഞ്", "night1": "രാത്രി", "midnight": "അർദ്ധരാത്രി", "noon": "ഉച്ച", "evening1": "വൈകുന്നേരം", "evening2": "സന്ധ്യ", "am": "AM", "pm": "PM"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"night1": "രാത്രി", "midnight": "അർദ്ധരാത്രി", "morning1": "പുലർച്ചെ", "afternoon2": "ഉച്ചതിരിഞ്ഞ്", "evening1": "വൈകുന്നേരം", "evening2": "സന്ധ്യ", "am": "AM", "noon": "ഉച്ച", "pm": "PM", "morning2": "രാവിലെ", "afternoon1": "ഉച്ചയ്ക്ക്"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "ആന്നോ ഡൊമിനി", Abbrev: "എഡി", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "ക്രിസ്\u200cതുവിന് മുമ്പ്", Abbrev: "ക്രി.മു.", Narrow: ""}}}}