wiki.techinc.nl/languages/messages/MessagesSkr_arab.php
Jon Harald Søby 707ffb7542 Remove fallback, change namespace and fix linktrail for Saraiki
Per request by User:Saraiki on Translatewiki:
https://translatewiki.net/w/i.php?title=Support&oldid=11598852#Saraiki_language

Remove fallback languages and change the name of the user talk
namespace (and add the old name as an alias), and add some more
characters to $linkTrail.

Change-Id: Ib2e2f2eb9e4216eb814d3aa7f8aab1bd961baefd
2023-05-19 14:17:50 +00:00

51 lines
1.4 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/** Saraiki (Arabic script) (سرائیکی)
*
* @file
* @ingroup Languages
*
* @author Sraiki
*/
$fallback = 'skr';
$rtl = true;
$digitTransformTable = [
'0' => '٠', # U+0660
'1' => '١', # U+0661
'2' => '٢', # U+0662
'3' => '٣', # U+0663
'4' => '٤', # U+0664
'5' => '٥', # U+0665
'6' => '٦', # U+0666
'7' => '٧', # U+0667
'8' => '٨', # U+0668
'9' => '٩', # U+0669
'%' => '٪', # U+066a
];
$namespaceNames = [
NS_MEDIA => 'میڈیا',
NS_SPECIAL => 'خاص',
NS_TALK => الھہاڑ',
NS_USER => 'ورتݨ_آلا',
NS_USER_TALK => 'ورتݨ_آلے_نال_ڳالھہاڑ',
NS_PROJECT_TALK => '$1_ڳالھہاڑ',
NS_FILE => 'فائل',
NS_FILE_TALK => ائل_ڳالھہاڑ',
NS_MEDIAWIKI => 'میڈیا_وکی',
NS_MEDIAWIKI_TALK => 'میڈیا_وکی_ڳالھہاڑ',
NS_TEMPLATE => 'سانچہ',
NS_TEMPLATE_TALK => انچہالھہاڑ',
NS_HELP => 'مدد',
NS_HELP_TALK => 'مدد_ڳالھہاڑ',
NS_CATEGORY => 'ونکی',
NS_CATEGORY_TALK => 'ونکی_ڳالھہاڑ',
];
$namespaceAliases = [
'ورتݨ_آلے_دی_ڳالھہاڑ' => NS_USER_TALK,
];
$linkTrail = "/^([آابٻپتٹثجڄچحخدڈݙذرڑزژسشصضطظعغفقکگڳلمنںݨوؤہھۃءیئے]+)(.*)$/sDu";