12345 |
- package he
- import "github.com/go-playground/universal-translator"
- 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: "d.M.y"}, AD: ut.CalendarDateFormat{Full: "EEEE, d בMMMM y", Long: "d בMMMM y", Medium: "d בMMM y", Short: "d.M.y"}}, 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} בשעה {0}", Long: "{1} בשעה {0}", Medium: "{1}, {0}", Short: "{1}, {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{4: "אפר׳", 5: "מאי", 6: "יוני", 7: "יולי", 8: "אוג׳", 11: "נוב׳", 1: "ינו׳", 2: "פבר׳", 12: "דצמ׳", 10: "אוק׳", 3: "מרץ", 9: "ספט׳"}, Narrow: ut.CalendarMonthFormatNameValue{4: "4", 5: "5", 9: "9", 11: "11", 8: "8", 10: "10", 12: "12", 1: "1", 2: "2", 3: "3", 6: "6", 7: "7"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{4: "אפריל", 8: "אוגוסט", 9: "ספטמבר", 10: "אוקטובר", 11: "נובמבר", 1: "ינואר", 3: "מרץ", 6: "יוני", 7: "יולי", 12: "דצמבר", 2: "פברואר", 5: "מאי"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "יום א׳", 1: "יום ב׳", 2: "יום ג׳", 3: "יום ד׳", 4: "יום ה׳", 5: "יום ו׳", 6: "שבת"}, Narrow: ut.CalendarDayFormatNameValue{0: "א׳", 1: "ב׳", 2: "ג׳", 3: "ד׳", 4: "ה׳", 5: "ו׳", 6: "ש׳"}, Short: ut.CalendarDayFormatNameValue{1: "ב׳", 2: "ג׳", 3: "ד׳", 4: "ה׳", 5: "ו׳", 6: "ש׳", 0: "א׳"}, Wide: ut.CalendarDayFormatNameValue{5: "יום שישי", 6: "יום שבת", 0: "יום ראשון", 1: "יום שני", 2: "יום שלישי", 3: "יום רביעי", 4: "יום חמישי"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"afternoon2": "אחר הצהריים", "evening1": "ערב", "night1": "לילה", "midnight": "חצות", "am": "לפנה״צ", "pm": "אחה״צ", "morning1": "בוקר", "afternoon1": "צהריים"}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"night1": "לילה", "midnight": "חצות", "morning1": "בוקר", "afternoon1": "צהריים", "afternoon2": "אחר הצהריים", "evening1": "ערב"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "לספירה", Abbrev: "לספירה", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "לפני הספירה", Abbrev: "לפנה״ס", Narrow: ""}}}}
|