From 88c5122e98a8b37089f3eef4212651611178e130 Mon Sep 17 00:00:00 2001 From: "This, that and the other" Date: Thu, 19 Sep 2013 20:53:19 +1000 Subject: [PATCH] Set up local date formats for Sorani Kurdish (ckb) 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 | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/languages/messages/MessagesCkb.php b/languages/messages/MessagesCkb.php index 73ee8b894e..a541732b20 100644 --- a/languages/messages/MessagesCkb.php +++ b/languages/messages/MessagesCkb.php @@ -148,6 +148,42 @@ $digitTransformTable = array( ',' => 'Ù¬', # ٬ ); +$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' => 'ھێڵ ھێنان بەژێر بەستەرەکان:', -- 2.20.1