Reedy has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/393168 )

Change subject: Add Pashton numerals based from Arabic
......................................................................

Add Pashton numerals based from Arabic

Bug: T181265
Change-Id: I19cf703edc90a1f57e7b083b3b29cffd77c45c90
---
M languages/messages/MessagesPs.php
1 file changed, 15 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/68/393168/1

diff --git a/languages/messages/MessagesPs.php 
b/languages/messages/MessagesPs.php
index 26f1443..b97664f 100644
--- a/languages/messages/MessagesPs.php
+++ b/languages/messages/MessagesPs.php
@@ -12,6 +12,21 @@
 
 $rtl = true;
 
+$digitTransformTable = [
+       '0' => '٠', # ٠
+       '1' => '١', # ١
+       '2' => '٢', # ٢
+       '3' => '٣', # ٣
+       '4' => '٤', # ٤
+       '5' => '٥', # ٥
+       '6' => '٦', # ٦
+       '7' => '٧', # ٧
+       '8' => '٨', # ٨
+       '9' => '٩', # ٩
+       '.' => '٫', # ٫
+       ',' => '٬', # ٬
+];
+
 $namespaceNames = [
        NS_MEDIA            => 'رسنۍ',
        NS_SPECIAL          => 'ځانگړی',

-- 
To view, visit https://gerrit.wikimedia.org/r/393168
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I19cf703edc90a1f57e7b083b3b29cffd77c45c90
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Reedy <re...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to