blob: 1f0af49d64c87cad3856ba7428bea82299e39e73 [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 * - Atef Ben Ali (atefBB)
15 * - Ibrahim AshShohail
16 * - MLTDev
17 */
18
19$months = [
20 'يناير',
21 'فبراير',
22 'مارس',
23 'أبريل',
24 'مايو',
25 'يونيو',
26 'يوليو',
27 'أغسطس',
28 'سبتمبر',
29 'أكتوبر',
30 'نوفمبر',
31 'ديسمبر',
32];
33
34return [
35 'year' => implode('|', [':count سنة', 'سنة', 'سنتين', ':count سنوات', ':count سنة']),
36 'a_year' => implode('|', [':count سنة', 'سنة', 'سنتين', ':count سنوات', ':count سنة']),
37 'month' => implode('|', [':count شهر', 'شهر', 'شهرين', ':count أشهر', ':count شهر']),
38 'a_month' => implode('|', [':count شهر', 'شهر', 'شهرين', ':count أشهر', ':count شهر']),
39 'week' => implode('|', [':count أسبوع', 'أسبوع', 'أسبوعين', ':count أسابيع', ':count أسبوع']),
40 'a_week' => implode('|', [':count أسبوع', 'أسبوع', 'أسبوعين', ':count أسابيع', ':count أسبوع']),
41 'day' => implode('|', [':count يوم', 'يوم', 'يومين', ':count أيام', ':count يوم']),
42 'a_day' => implode('|', [':count يوم', 'يوم', 'يومين', ':count أيام', ':count يوم']),
43 'hour' => implode('|', [':count ساعة', 'ساعة', 'ساعتين', ':count ساعات', ':count ساعة']),
44 'a_hour' => implode('|', [':count ساعة', 'ساعة', 'ساعتين', ':count ساعات', ':count ساعة']),
45 'minute' => implode('|', [':count دقيقة', 'دقيقة', 'دقيقتين', ':count دقائق', ':count دقيقة']),
46 'a_minute' => implode('|', [':count دقيقة', 'دقيقة', 'دقيقتين', ':count دقائق', ':count دقيقة']),
47 'second' => implode('|', [':count ثانية', 'ثانية', 'ثانيتين', ':count ثواني', ':count ثانية']),
48 'a_second' => implode('|', [':count ثانية', 'ثانية', 'ثانيتين', ':count ثواني', ':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('|', ['مرة', 'مرة', ':count مرتين', ':count مرات', ':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' => 'D/M/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];