Debian Codegraph @

languages/messages/MessagesAcm.php

raw symbols SCIP
1 <?php
2 /** Iraqi (Mesopotamian) Arabic (عراقي)
3 *
4 * @file
5 * @ingroup Languages
6 */
7
8 $fallback = 'ar';
9
10 $rtl = true;
11
12 $datePreferences = [
13 'default',
14 'mdy',
15 'dmy',
16 'ymd',
17 'hijri',
18 'ISO 8601',
19 'jMY',
20 ];
21
22 $defaultDateFormat = 'dmy or mdy';
23
24 $datePreferenceMigrationMap = [
25 'default',
26 'mdy',
27 'dmy',
28 'ymd'
29 ];
30
31 $dateFormats = [
32 'mdy time' => 'H:i',
33 'mdy date' => 'xg j، Y', # Arabic comma
34 'mdy both' => 'H:i، xg j، Y', # Arabic comma
35
36 'dmy time' => 'H:i',
37 'dmy date' => 'j xg Y',
38 'dmy both' => 'H:i، j xg Y', # Arabic comma
39
40 'ymd time' => 'H:i',
41 'ymd date' => 'Y xg j',
42 'ymd both' => 'H:i، Y xg j', # Arabic comma
43
44 'hijri time' => 'H:i',
45 'hijri date' => 'xmj xmF xmY',
46 'hijri both' => 'H:i، xmj xmF xmY',
47
48 'ISO 8601 time' => 'xnH:xni:xns',
49 'ISO 8601 date' => 'xnY-xnm-xnd',
50 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
51
52 'jMY time' => 'H:i',
53 'jMY date' => 'j M Y',
54 'jMY both' => 'H:i، j M Y', # Arabic comma
55 ];
56
57 $digitTransformTable = [
58 '0' => '٠', # U+0660
59 '1' => '١', # U+0661
60 '2' => '٢', # U+0662
61 '3' => '٣', # U+0663
62 '4' => '٤', # U+0664
63 '5' => '٥', # U+0665
64 '6' => '٦', # U+0666
65 '7' => '٧', # U+0667
66 '8' => '٨', # U+0668
67 '9' => '٩', # U+0669
68 ];
69
70 $separatorTransformTable = [
71 '.' => '٫', # U+066B
72 ',' => '٬', # U+066C
73 ];
74
75 $digitGroupingPattern = "#,##0.###";
76
77 $numberingSystem = 'arab';
78
79 $linkPrefixExtension = true;
80
81 /**
82 * $arabicCombiningDiacritics, $linkTrail, and
83 * $linkPrefixCharset are mostly copied from MessagesAr.php,
84 * with the addition of the letter چ
85 */
86 // The prefix set also needs to include diacritics, as these can be added
87 // to letters, but keep them as letters.
88 // These are from the "Extend" group in Unicode:
89 // https://www.unicode.org/Public/13.0.0/ucd/auxiliary/WordBreakProperty.txt
90 $arabicCombiningDiacritics =
91 '\\x{0610}-\\x{061A}' .
92 '\\x{064B}-\\x{065F}' .
93 '\\x{0670}' .
94 '\\x{06D6}-\\x{06DC}' .
95 '\\x{06DF}-\\x{06E4}' .
96 '\\x{06E7}' .
97 '\\x{06E8}' .
98 '\\x{06EA}-\\x{06ED}';
99
100 $linkTrail = '/^([a-zء-يچ' . $arabicCombiningDiacritics . ']+)(.*)$/sDu';
101 $linkPrefixCharset = 'a-zA-Zء-يچ' . $arabicCombiningDiacritics;
102 unset( $arabicCombiningDiacritics );