Change date and decimal separators for Uzbek (uz)
authormadurangasiriwardena <maduranga.siriwardena@gmail.com>
Thu, 13 Mar 2014 18:12:38 +0000 (23:42 +0530)
committerSiebrand <siebrand@kitano.nl>
Tue, 18 Mar 2014 07:43:32 +0000 (07:43 +0000)
Change the date format dd mm to dd-mm and adding space instead
of commas for 3-digit grouping, decimal comma instead of
decimal point.

Bug: 46453
Change-Id: I1318b18f10a1b048c3574013a52775d5309f8abc

languages/messages/MessagesUz.php

index e4b7cc9..4861e7c 100644 (file)
@@ -109,6 +109,23 @@ $magicWords = array(
 $linkTrail = '/^([a-zʻʼ“»]+)(.*)$/sDu';
 $linkPrefixCharset = 'a-zA-Z\\x80-\\xffʻʼ«„';
 
+/**
+ * Formats need to be overwritten. Others are inherited automatically
+ */
+$dateFormats = array(
+       'dmy date' => 'j-F Y',
+       'dmy both' => 'H:i, j-F Y',
+       'dmy pretty' => 'j-F'
+);
+
+/**
+ * Transform table for decimal point '.' and thousands separator ','
+ */
+$separatorTransformTable = array(
+       '.' => ',',
+       ',' => "\xc2\xa0", # nbsp
+);
+
 $messages = array(
 # User preference toggles
 'tog-underline' => 'Havolalarning tagiga chizish:',