blob: 10aaa2ededb953c5b8ff9888cef1690c280b3ef5 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?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 * - Josh Soref
15 * - JD Isaacks
16 * - Atef Ben Ali (atefBB)
17 * - Mohamed Sabil (mohamedsabil83)
18 */
19$months = [
20 'يناير',
21 'فبراير',
22 'مارس',
23 'أبريل',
24 'مايو',
25 'يونيو',
26 'يوليو',
27 'أغسطس',
28 'سبتمبر',
29 'أكتوبر',
30 'نوفمبر',
31 'ديسمبر',
32];
33
34return [
35 'year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
36 'a_year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
37 'month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
38 'a_month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
39 'week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
40 'a_week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
41 'day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
42 'a_day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
43 'hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
44 'a_hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
45 'minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
46 'a_minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
47 'second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
48 'a_second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
49 'ago' => 'منذ :time',
50 'from_now' => 'في :time',
51 'after' => 'بعد :time',
52 'before' => 'قبل :time',
53 'diff_now' => 'الآن',
54 'diff_today' => 'اليوم',
55 'diff_today_regexp' => 'اليوم(?:\\s+على)?(?:\\s+الساعة)?',
56 'diff_yesterday' => 'أمس',
57 'diff_yesterday_regexp' => 'أمس(?:\\s+على)?(?:\\s+الساعة)?',
58 'diff_tomorrow' => 'غداً',
59 'diff_tomorrow_regexp' => 'غدا(?:\\s+على)?(?:\\s+الساعة)?',
60 'diff_before_yesterday' => 'قبل الأمس',
61 'diff_after_tomorrow' => 'بعد غد',
62 'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
63 'period_interval' => 'كل :interval',
64 'period_start_date' => 'من :date',
65 'period_end_date' => 'إلى :date',
66 'months' => $months,
67 'months_short' => $months,
68 'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
69 'weekdays_short' => ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
70 'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
71 'list' => ['، ', ' و '],
72 'first_day_of_week' => 6,
73 'day_of_first_week_of_year' => 1,
74 'formats' => [
75 'LT' => 'HH:mm',
76 'LTS' => 'HH:mm:ss',
77 'L' => 'DD/MM/YYYY',
78 'LL' => 'D MMMM YYYY',
79 'LLL' => 'D MMMM YYYY HH:mm',
80 'LLLL' => 'dddd D MMMM YYYY HH:mm',
81 ],
82 'calendar' => [
83 'sameDay' => '[اليوم على الساعة] LT',
84 'nextDay' => '[غدا على الساعة] LT',
85 'nextWeek' => 'dddd [على الساعة] LT',
86 'lastDay' => '[أمس على الساعة] LT',
87 'lastWeek' => 'dddd [على الساعة] LT',
88 'sameElse' => 'L',
89 ],
90 'meridiem' => ['ص', 'م'],
91 'weekend' => [5, 6],
92];