Set up local date formats for Sorani Kurdish (ckb)
authorThis, that and the other <at.light@live.com.au>
Thu, 19 Sep 2013 10:53:19 +0000 (20:53 +1000)
committerHashar <hashar@free.fr>
Sat, 7 Dec 2013 13:11:52 +0000 (13:11 +0000)
Including Iranian (Persian) and Islamic (Hijri) calendars.

Please note that the inclusion of the anglophone "dmy" and "ymd"
formats was by specific request of a Sorani Kurdish speaker. ckb
is allied to fa, which is one of many other languages to include
the anglophone formats alongside native ones. Please read the
discussions at the bug for more information.

Bug: 52009
Change-Id: Ib20e9185842a15fab6bbebd6e6e881654f276a0a

languages/messages/MessagesCkb.php

index 73ee8b8..a541732 100644 (file)
@@ -148,6 +148,42 @@ $digitTransformTable = array(
        ',' => '٬', # &#x066c;
 );
 
+$datePreferences = array(
+       'default',
+       'dmy',
+       'ymd',
+       'persian',
+       'hijri',
+);
+
+$defaultDateFormat = 'dmy';
+
+$datePreferenceMigrationMap = array(
+       'default',
+       'dmy', // migrate users off mdy - not present in this language
+       'dmy',
+       'ymd'
+);
+
+$dateFormats = array(
+       # Please be cautious not to delete the invisible RLM from the beginning of the strings.
+       'dmy time' => '‏H:i',
+       'dmy date' => '‏jی xg Y',
+       'dmy both' => '‏H:i، jی xg Y',
+
+       'ymd time' => '‏H:i',
+       'ymd date' => '‏Y/n/j',
+       'ymd both' => '‏H:i، Y/n/j',
+
+       'persian time' => '‏H:i',
+       'persian date' => '‏xijی xiFی xiY',
+       'persian both' => '‏H:i، ‏xijی xiFی xiY',
+
+       'hijri time' => '‏H:i',
+       'hijri date' => '‏xmjی xmFی xmY',
+       'hijri both' => '‏H:i، xmjی xmFی xmY',
+);
+
 $messages = array(
 # User preference toggles
 'tog-underline' => 'ھێڵ ھێنان بەژێر بەستەرەکان:',