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