Index: trunk/phase3/languages/messages/MessagesFa.php |
— | — | @@ -54,6 +54,69 @@ |
55 | 55 | # Underlines seriously harm legibility. Force off: |
56 | 56 | 'underline' => 0, |
57 | 57 | ); |
| 58 | + |
| 59 | + |
| 60 | +/** |
| 61 | + * A list of date format preference keys which can be selected in user |
| 62 | + * preferences. New preference keys can be added, provided they are supported |
| 63 | + * by the language class's timeanddate(). Only the 5 keys listed below are |
| 64 | + * supported by the wikitext converter (DateFormatter.php). |
| 65 | + * |
| 66 | + * The special key "default" is an alias for either dmy or mdy depending on |
| 67 | + * $wgAmericanDates |
| 68 | + */ |
| 69 | +$datePreferences = array( |
| 70 | + 'default', |
| 71 | + 'mdy', |
| 72 | + 'dmy', |
| 73 | + 'ymd', |
| 74 | + 'ISO 8601', |
| 75 | +); |
| 76 | + |
| 77 | +/** |
| 78 | + * The date format to use for generated dates in the user interface. |
| 79 | + * This may be one of the above date preferences, or the special value |
| 80 | + * "dmy or mdy", which uses mdy if $wgAmericanDates is true, and dmy |
| 81 | + * if $wgAmericanDates is false. |
| 82 | + */ |
| 83 | +$defaultDateFormat = 'dmy or mdy'; |
| 84 | + |
| 85 | +/** |
| 86 | + * Associative array mapping old numeric date formats, which may still be |
| 87 | + * stored in user preferences, to the new string formats. |
| 88 | + */ |
| 89 | +$datePreferenceMigrationMap = array( |
| 90 | + 'default', |
| 91 | + 'mdy', |
| 92 | + 'dmy', |
| 93 | + 'ymd' |
| 94 | +); |
| 95 | + |
| 96 | +/** |
| 97 | + * These are formats for dates generated by MediaWiki (as opposed to the wikitext |
| 98 | + * DateFormatter). Documentation for the format string can be found in |
| 99 | + * Language.php, search for sprintfDate. |
| 100 | + * |
| 101 | + * This array is automatically inherited by all subclasses. Individual keys can be |
| 102 | + * overridden. |
| 103 | + */ |
| 104 | +$dateFormats = array( |
| 105 | + 'mdy time' => 'H:i', |
| 106 | + 'mdy date' => 'xg j، Y', # Arabic comma |
| 107 | + 'mdy both' => 'H:i، xg j، Y', # Arabic comma |
| 108 | + |
| 109 | + 'dmy time' => 'H:i', |
| 110 | + 'dmy date' => 'j xg Y', |
| 111 | + 'dmy both' => 'H:i، j xg Y', # Arabic comma |
| 112 | + |
| 113 | + 'ymd time' => 'H:i', |
| 114 | + 'ymd date' => 'Y xg j', |
| 115 | + 'ymd both' => 'H:i، Y xg j', # Arabic comma |
| 116 | + |
| 117 | + 'ISO 8601 time' => 'xnH:xni:xns', |
| 118 | + 'ISO 8601 date' => 'xnY-xnm-xnd', |
| 119 | + 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns', |
| 120 | +); |
58 | 121 | $linkTrail = "/^([a-z]+)(.*)\$/sD"; /* This may need to be changed --RP */ |
59 | 122 | |
60 | 123 | $messages = array( |
Index: trunk/phase3/languages/messages/MessagesAr.php |
— | — | @@ -14,7 +14,68 @@ |
15 | 15 | # Underlines seriously harm legibility. Force off: |
16 | 16 | 'underline' => 0, |
17 | 17 | ); |
| 18 | +/** |
| 19 | + * A list of date format preference keys which can be selected in user |
| 20 | + * preferences. New preference keys can be added, provided they are supported |
| 21 | + * by the language class's timeanddate(). Only the 5 keys listed below are |
| 22 | + * supported by the wikitext converter (DateFormatter.php). |
| 23 | + * |
| 24 | + * The special key "default" is an alias for either dmy or mdy depending on |
| 25 | + * $wgAmericanDates |
| 26 | + */ |
| 27 | +$datePreferences = array( |
| 28 | + 'default', |
| 29 | + 'mdy', |
| 30 | + 'dmy', |
| 31 | + 'ymd', |
| 32 | + 'ISO 8601', |
| 33 | +); |
18 | 34 | |
| 35 | +/** |
| 36 | + * The date format to use for generated dates in the user interface. |
| 37 | + * This may be one of the above date preferences, or the special value |
| 38 | + * "dmy or mdy", which uses mdy if $wgAmericanDates is true, and dmy |
| 39 | + * if $wgAmericanDates is false. |
| 40 | + */ |
| 41 | +$defaultDateFormat = 'dmy or mdy'; |
| 42 | + |
| 43 | +/** |
| 44 | + * Associative array mapping old numeric date formats, which may still be |
| 45 | + * stored in user preferences, to the new string formats. |
| 46 | + */ |
| 47 | +$datePreferenceMigrationMap = array( |
| 48 | + 'default', |
| 49 | + 'mdy', |
| 50 | + 'dmy', |
| 51 | + 'ymd' |
| 52 | +); |
| 53 | + |
| 54 | +/** |
| 55 | + * These are formats for dates generated by MediaWiki (as opposed to the wikitext |
| 56 | + * DateFormatter). Documentation for the format string can be found in |
| 57 | + * Language.php, search for sprintfDate. |
| 58 | + * |
| 59 | + * This array is automatically inherited by all subclasses. Individual keys can be |
| 60 | + * overridden. |
| 61 | + */ |
| 62 | +$dateFormats = array( |
| 63 | + 'mdy time' => 'H:i', |
| 64 | + 'mdy date' => 'xg j، Y', # Arabic comma |
| 65 | + 'mdy both' => 'H:i، xg j، Y', # Arabic comma |
| 66 | + |
| 67 | + 'dmy time' => 'H:i', |
| 68 | + 'dmy date' => 'j xg Y', |
| 69 | + 'dmy both' => 'H:i، j xg Y', # Arabic comma |
| 70 | + |
| 71 | + 'ymd time' => 'H:i', |
| 72 | + 'ymd date' => 'Y xg j', |
| 73 | + 'ymd both' => 'H:i، Y xg j', # Arabic comma |
| 74 | + |
| 75 | + 'ISO 8601 time' => 'xnH:xni:xns', |
| 76 | + 'ISO 8601 date' => 'xnY-xnm-xnd', |
| 77 | + 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns', |
| 78 | +); |
| 79 | + |
19 | 80 | $namespaceNames = array( |
20 | 81 | NS_MEDIA => 'ملف', |
21 | 82 | NS_SPECIAL => 'خاص', |
— | — | @@ -1283,7 +1344,7 @@ |
1284 | 1345 | |
1285 | 1346 | # Watchlist |
1286 | 1347 | 'watchlist' => 'قائمة مراقبتي', |
1287 | | -'mywatchlist' => 'قائمة مراقبتي', |
| 1348 | +'mywatchlist' => 'قائمة مراقبتي', |
1288 | 1349 | 'watchlistfor' => "(ل '''$1''')", |
1289 | 1350 | 'nowatchlist' => 'لا يوجد شيء في قائمة مراقبتك.', |
1290 | 1351 | 'watchlistanontext' => 'الرجاء $1 لعرض أو تعديل الصفحات في قائمة مراقبتك.', |
— | — | @@ -1474,7 +1535,7 @@ |
1475 | 1536 | # Contributions |
1476 | 1537 | 'contributions' => 'مساهمات المستخدم', |
1477 | 1538 | 'mycontris' => 'مساهماتي', |
1478 | | -'contribsub2' => 'للمستخدم $1 ($2)', |
| 1539 | +'contribsub2' => 'للمستخدم $1 ($2)', |
1479 | 1540 | 'nocontribs' => 'لا توجد تعديلات تطابق هذه المحددات.', |
1480 | 1541 | 'ucnote' => 'في الأسفل ستجد آخر <b>$1</b> تعديل لهذا المستخدم في <b>$2</b> أيام.', |
1481 | 1542 | 'uclinks' => 'عرض آخر $1 تعديل; عرض آخر $2 يوم.', |
— | — | @@ -1519,12 +1580,6 @@ |
1520 | 1581 | 'ipbexpiry' => 'مدّة المنع', |
1521 | 1582 | 'ipbreason' => 'السبب', |
1522 | 1583 | 'ipbreasonotherlist' => 'سبب آخر', |
1523 | | -'ipbreason-list' => '*#أسباب المنع عناوين الأيبي |
1524 | | -*تخريب |
1525 | | -*سخام وصلات |
1526 | | -*#أسباب المنع للمستخدمين المسجلين |
1527 | | -*سباب |
1528 | | -*دمية جورب', |
1529 | 1584 | 'ipbanononly' => 'فقط المستخدمين المجهولين', |
1530 | 1585 | 'ipbcreateaccount' => 'منع إنشاء حساب جديد', |
1531 | 1586 | 'ipbenableautoblock' => 'امنع العناوين المستخدمة بواسطة هذا المستخدم.', |
— | — | @@ -1566,7 +1621,6 @@ |
1567 | 1622 | 'unblocklogentry' => 'إزالة منع $1', |
1568 | 1623 | 'block-log-flags-anononly' => 'المستخدمون المجهولون فقط', |
1569 | 1624 | 'block-log-flags-nocreate' => 'منع إنشاء حساب', |
1570 | | -'block-log-flags-autoblock' => 'منع تلقائي', |
1571 | 1625 | 'range_block_disabled' => 'إمكانية الإداري لمنع نطاق معطلة.', |
1572 | 1626 | 'ipb_expiry_invalid' => 'تاريخ انتهاء المنع المدخل غير صحيح.', |
1573 | 1627 | 'ipb_already_blocked' => 'سبق منع "$1"', |
— | — | @@ -2024,6 +2078,15 @@ |
2025 | 2079 | 'livepreview-error' => 'لم ينجح الاتصال: $1 "$2" |
2026 | 2080 | حاول تجربة العرض العادي.', |
2027 | 2081 | |
| 2082 | +# Unknown messages |
| 2083 | +'block-log-flags-autoblock' => 'منع تلقائي', |
| 2084 | +'ipbreason-list' => '*#أسباب المنع عناوين الأيبي |
| 2085 | +*تخريب |
| 2086 | +*سخام وصلات |
| 2087 | +*#أسباب المنع للمستخدمين المسجلين |
| 2088 | +*سباب |
| 2089 | +*دمية جورب', |
| 2090 | + |
2028 | 2091 | ); |
2029 | 2092 | |
2030 | 2093 | ?> |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -372,8 +372,8 @@ |
373 | 373 | - don't emit TOC when there are no visible headers |
374 | 374 | * (bug 7629) Fix $wgBrowserBlackList to avoid false positive on MSIE |
375 | 375 | when certain plugins are present which alter the user agent |
| 376 | +* (bug 9712) Use Arabic comma in date/time formats for Arabic and Farsi |
376 | 377 | |
377 | | - |
378 | 378 | == Maintenance == |
379 | 379 | |
380 | 380 | * New script maintenance/language/checkExtensioni18n.php used to check i18n |