calendar.go 2.9 KB

12345
  1. package am
  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: "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{12: "ዲሴም", 2: "ፌብሩ", 6: "ጁን", 7: "ጁላይ", 10: "ኦክቶ", 11: "ኖቬም", 9: "ሴፕቴ", 1: "ጃንዩ", 3: "ማርች", 4: "ኤፕሪ", 5: "ሜይ", 8: "ኦገስ"}, Narrow: ut.CalendarMonthFormatNameValue{9: "ሴ", 11: "ኖ", 12: "ዲ", 2: "ፌ", 3: "ማ", 5: "ሜ", 6: "ጁ", 7: "ጁ", 8: "ኦ", 10: "ኦ", 1: "ጃ", 4: "ኤ"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{6: "ጁን", 8: "ኦገስት", 9: "ሴፕቴምበር", 12: "ዲሴምበር", 1: "ጃንዩወሪ", 4: "ኤፕሪል", 5: "ሜይ", 10: "ኦክቶበር", 11: "ኖቬምበር", 2: "ፌብሩወሪ", 3: "ማርች", 7: "ጁላይ"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{1: "ሰኞ", 2: "ማክሰ", 3: "ረቡዕ", 4: "ሐሙስ", 5: "ዓርብ", 6: "ቅዳሜ", 0: "እሑድ"}, Narrow: ut.CalendarDayFormatNameValue{5: "ዓ", 6: "ቅ", 0: "እ", 1: "ሰ", 2: "ማ", 3: "ረ", 4: "ሐ"}, Short: ut.CalendarDayFormatNameValue{2: "ማ", 3: "ረ", 4: "ሐ", 5: "ዓ", 6: "ቅ", 0: "እ", 1: "ሰ"}, Wide: ut.CalendarDayFormatNameValue{4: "ሐሙስ", 5: "ዓርብ", 6: "ቅዳሜ", 0: "እሑድ", 1: "ሰኞ", 2: "ማክሰኞ", 3: "ረቡዕ"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"midnight": "እኩለ ሌሊት", "am": "ጥዋት", "noon": "ቀትር", "pm": "ከሰዓት", "morning1": "ጥዋት1", "afternoon1": "ከሰዓት በኋላ", "evening1": "ማታ", "night1": "ሌሊት"}, Narrow: ut.CalendarPeriodFormatNameValue{"midnight": "እኩለ ሌሊት", "am": "ጠ", "noon": "ቀትር", "pm": "ከ", "morning1": "ጥዋት", "afternoon1": "ከሰዓት በኋላ", "evening1": "ማታ", "night1": "ሌሊት"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"night1": "ሌሊት", "midnight": "እኩለ ሌሊት", "am": "ጥዋት", "noon": "ቀትር", "pm": "ከሰዓት", "morning1": "ጥዋት1", "afternoon1": "ከሰዓት በኋላ", "evening1": "ማታ"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "ዓመተ ምሕረት", Abbrev: "ዓ/ም", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "ዓመተ ዓለም", Abbrev: "ዓ/ዓ", Narrow: "ዓ/ዓ"}}}}