calendar.go 3.1 KB

12345
  1. package ar
  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: "dd\u200f/MM\u200f/y", Short: "d\u200f/M\u200f/y"}, AD: ut.CalendarDateFormat{Full: "EEEE، d MMMM، y", Long: "d MMMM، y", Medium: "dd\u200f/MM\u200f/y", Short: "d\u200f/M\u200f/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{1: "يناير", 9: "سبتمبر", 5: "مايو", 6: "يونيو", 7: "يوليو", 8: "أغسطس", 10: "أكتوبر", 2: "فبراير", 3: "مارس", 4: "أبريل", 11: "نوفمبر", 12: "ديسمبر"}, Narrow: ut.CalendarMonthFormatNameValue{2: "ف", 3: "م", 4: "أ", 8: "غ", 9: "س", 10: "ك", 11: "ب", 1: "ي", 5: "و", 6: "ن", 7: "ل", 12: "د"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{1: "يناير", 2: "فبراير", 9: "سبتمبر", 10: "أكتوبر", 11: "نوفمبر", 3: "مارس", 4: "أبريل", 5: "مايو", 6: "يونيو", 7: "يوليو", 8: "أغسطس", 12: "ديسمبر"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{2: "الثلاثاء", 3: "الأربعاء", 4: "الخميس", 5: "الجمعة", 6: "السبت", 0: "الأحد", 1: "الاثنين"}, Narrow: ut.CalendarDayFormatNameValue{4: "خ", 5: "ج", 6: "س", 0: "ح", 1: "ن", 2: "ث", 3: "ر"}, Short: ut.CalendarDayFormatNameValue{0: "الأحد", 1: "الاثنين", 2: "الثلاثاء", 3: "الأربعاء", 4: "الخميس", 5: "الجمعة", 6: "السبت"}, Wide: ut.CalendarDayFormatNameValue{6: "السبت", 0: "الأحد", 1: "الاثنين", 2: "الثلاثاء", 3: "الأربعاء", 4: "الخميس", 5: "الجمعة"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "ص", "morning2": "صباحًا", "afternoon2": "بعد الظهر", "night1": "منتصف الليل", "night2": "ليلاً", "pm": "م", "morning1": "فجرا", "afternoon1": "ظهرًا", "evening1": "مساءً"}, Narrow: ut.CalendarPeriodFormatNameValue{"evening1": "مساءً", "night1": "منتصف الليل", "night2": "ليلاً", "am": "ص", "morning2": "صباحًا", "afternoon1": "ظهرًا", "afternoon2": "بعد الظهر", "pm": "م", "morning1": "فجرا"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "صباحًا", "pm": "مساءً", "morning1": "فجرا", "afternoon1": "ظهرًا", "afternoon2": "بعد الظهر", "evening1": "مساءً", "night1": "منتصف الليل", "morning2": "صباحًا", "night2": "ليلاً"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "بعد الميلاد", Abbrev: "ب.م", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "قبل الميلاد", Abbrev: "ق.م", Narrow: ""}}}}