12345 |
- package ug
- import "github.com/go-playground/universal-translator"
- var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE، MMMM d، y", Long: "MMMM d، y", Medium: "MMM d، y", Short: "M/d/yy"}, AD: ut.CalendarDateFormat{Full: "EEEE، MMMM d، y", Long: "MMMM d، y", Medium: "MMM d، y", Short: "M/d/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{1: "يانۋار", 2: "فېۋرال", 3: "مارت", 4: "ئاپرېل", 6: "ئىيۇن", 8: "ئاۋغۇست", 5: "ماي", 7: "ئىيۇل", 9: "سېنتەبىر", 10: "ئۆكتەبىر", 11: "نويابىر", 12: "دېكابىر"}, Narrow: ut.CalendarMonthFormatNameValue{10: "10", 11: "11", 1: "1", 3: "3", 8: "8", 9: "9", 7: "7", 12: "12", 2: "2", 4: "4", 5: "5", 6: "6"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{1: "يانۋار", 4: "ئاپرېل", 7: "ئىيۇل", 9: "سېنتەبىر", 10: "ئۆكتەبىر", 2: "فېۋرال", 3: "مارت", 5: "ماي", 6: "ئىيۇن", 8: "ئاۋغۇست", 11: "نويابىر", 12: "دېكابىر"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "يە", 1: "دۈ", 2: "سە", 3: "چا", 4: "پە", 5: "جۈ", 6: "شە"}, Narrow: ut.CalendarDayFormatNameValue{1: "د", 2: "س", 3: "چ", 4: "پ", 5: "ج", 6: "ش", 0: "ي"}, Short: ut.CalendarDayFormatNameValue{5: "ج", 6: "ش", 0: "ي", 1: "د", 2: "س", 3: "چ", 4: "پ"}, Wide: ut.CalendarDayFormatNameValue{2: "سەيشەنبە", 3: "چارشەنبە", 4: "پەيشەنبە", 5: "جۈمە", 6: "شەنبە", 0: "يەكشەنبە", 1: "دۈشەنبە"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "AM", "pm": "PM"}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "چۈشتىن بۇرۇن", "pm": "چۈشتىن كېيىن"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "چۈشتىن بۇرۇن", "pm": "چۈشتىن كېيىن"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "مىلادىيەدىن بۇرۇن", Abbrev: "BCE", Narrow: "BCE"}}}}
|