blob: c2d4b43d0aed25d7ee970d8cd3fa857c953f834d [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 * - Abdellah Chadidi
15 * - Atef Ben Ali (atefBB)
16 * - Mohamed Sabil (mohamedsabil83)
17 */
18// Same for long and short
19$months = [
20 // @TODO add shakl to 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
55 // @TODO add shakl to translations below
56 'diff_now' => 'الآن',
57 'diff_today' => 'اليوم',
58 'diff_today_regexp' => 'اليوم(?:\\s+عند)?(?:\\s+الساعة)?',
59 'diff_yesterday' => 'أمس',
60 'diff_yesterday_regexp' => 'أمس(?:\\s+عند)?(?:\\s+الساعة)?',
61 'diff_tomorrow' => 'غداً',
62 'diff_tomorrow_regexp' => 'غدًا(?:\\s+عند)?(?:\\s+الساعة)?',
63 'diff_before_yesterday' => 'قبل الأمس',
64 'diff_after_tomorrow' => 'بعد غد',
65 'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
66 'period_interval' => 'كل :interval',
67 'period_start_date' => 'من :date',
68 'period_end_date' => 'إلى :date',
69 'months' => $months,
70 'months_short' => $months,
71 'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
72 'weekdays_short' => ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
73 'weekdays_min' => ['ح', 'اث', 'ثل', 'أر', 'خم', 'ج', 'س'],
74 'list' => ['، ', ' و '],
75 'first_day_of_week' => 6,
76 'day_of_first_week_of_year' => 1,
77 'formats' => [
78 'LT' => 'HH:mm',
79 'LTS' => 'HH:mm:ss',
80 'L' => 'D/M/YYYY',
81 'LL' => 'D MMMM YYYY',
82 'LLL' => 'D MMMM YYYY HH:mm',
83 'LLLL' => 'dddd D MMMM YYYY HH:mm',
84 ],
85 'calendar' => [
86 'sameDay' => '[اليوم عند الساعة] LT',
87 'nextDay' => '[غدًا عند الساعة] LT',
88 'nextWeek' => 'dddd [عند الساعة] LT',
89 'lastDay' => '[أمس عند الساعة] LT',
90 'lastWeek' => 'dddd [عند الساعة] LT',
91 'sameElse' => 'L',
92 ],
93 'meridiem' => ['ص', 'م'],
94 'weekend' => [5, 6],
95];