Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * This file is part of the Carbon package. |
| 5 | * |
| 6 | * (c) Brian Nesbitt <brian@nesbot.com> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | |
| 12 | /** |
| 13 | * Authors: |
| 14 | * - JD Isaacks |
| 15 | * - Atef Ben Ali (atefBB) |
| 16 | * - Mohamed Sabil (mohamedsabil83) |
| 17 | */ |
| 18 | $months = [ |
| 19 | 'جانفي', |
| 20 | 'فيفري', |
| 21 | 'مارس', |
| 22 | 'أفريل', |
| 23 | 'ماي', |
| 24 | 'جوان', |
| 25 | 'جويلية', |
| 26 | 'أوت', |
| 27 | 'سبتمبر', |
| 28 | 'أكتوبر', |
| 29 | 'نوفمبر', |
| 30 | 'ديسمبر', |
| 31 | ]; |
| 32 | |
| 33 | return [ |
| 34 | 'year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']), |
| 35 | 'a_year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']), |
| 36 | 'month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']), |
| 37 | 'a_month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']), |
| 38 | 'week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']), |
| 39 | 'a_week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']), |
| 40 | 'day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']), |
| 41 | 'a_day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']), |
| 42 | 'hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']), |
| 43 | 'a_hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']), |
| 44 | 'minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']), |
| 45 | 'a_minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']), |
| 46 | 'second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']), |
| 47 | 'a_second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']), |
| 48 | 'ago' => 'منذ :time', |
| 49 | 'from_now' => 'في :time', |
| 50 | 'after' => 'بعد :time', |
| 51 | 'before' => 'قبل :time', |
| 52 | 'diff_now' => 'الآن', |
| 53 | 'diff_today' => 'اليوم', |
| 54 | 'diff_today_regexp' => 'اليوم(?:\\s+على)?(?:\\s+الساعة)?', |
| 55 | 'diff_yesterday' => 'أمس', |
| 56 | 'diff_yesterday_regexp' => 'أمس(?:\\s+على)?(?:\\s+الساعة)?', |
| 57 | 'diff_tomorrow' => 'غداً', |
| 58 | 'diff_tomorrow_regexp' => 'غدا(?:\\s+على)?(?:\\s+الساعة)?', |
| 59 | 'diff_before_yesterday' => 'قبل الأمس', |
| 60 | 'diff_after_tomorrow' => 'بعد غد', |
| 61 | 'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']), |
| 62 | 'period_interval' => 'كل :interval', |
| 63 | 'period_start_date' => 'من :date', |
| 64 | 'period_end_date' => 'إلى :date', |
| 65 | 'months' => $months, |
| 66 | 'months_short' => $months, |
| 67 | 'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], |
| 68 | 'weekdays_short' => ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'], |
| 69 | 'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], |
| 70 | 'list' => ['، ', ' و '], |
| 71 | 'first_day_of_week' => 1, |
| 72 | 'day_of_first_week_of_year' => 4, |
| 73 | 'formats' => [ |
| 74 | 'LT' => 'HH:mm', |
| 75 | 'LTS' => 'HH:mm:ss', |
| 76 | 'L' => 'DD/MM/YYYY', |
| 77 | 'LL' => 'D MMMM YYYY', |
| 78 | 'LLL' => 'D MMMM YYYY HH:mm', |
| 79 | 'LLLL' => 'dddd D MMMM YYYY HH:mm', |
| 80 | ], |
| 81 | 'calendar' => [ |
| 82 | 'sameDay' => '[اليوم على الساعة] LT', |
| 83 | 'nextDay' => '[غدا على الساعة] LT', |
| 84 | 'nextWeek' => 'dddd [على الساعة] LT', |
| 85 | 'lastDay' => '[أمس على الساعة] LT', |
| 86 | 'lastWeek' => 'dddd [على الساعة] LT', |
| 87 | 'sameElse' => 'L', |
| 88 | ], |
| 89 | 'meridiem' => ['ص', 'م'], |
| 90 | 'weekend' => [5, 6], |
| 91 | ]; |