wiki.techinc.nl/languages/messages/MessagesAnp.php
Jon Harald Søby 21edbec64e Add namespaces, linktrail and digit transform table for Angika
Add namespace translations (provided by User:Angpradesh at
https://incubator.wikimedia.org/wiki/Talk:Wp/anp ), linktrail
and digit conversion table (both the same as for Hindi).

Bug: T332118
Change-Id: Ie06cf975642074fbc3dcc8c47783b2b4982597fb
2023-03-15 10:19:43 +00:00

46 lines
1.3 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
/** Angika (अंगिका)
*
* @file
* @ingroup Languages
*
* @author Angpradesh
*/
$fallback = 'hi';
$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 => 'श्रेणी_वार्ता',
];
$digitTransformTable = [
'0' => '', # U+0966
'1' => '१', # U+0967
'2' => '२', # U+0968
'3' => '३', # U+0969
'4' => '४', # U+096A
'5' => '५', # U+096B
'6' => '६', # U+096C
'7' => '७', # U+096D
'8' => '८', # U+096E
'9' => '९', # U+096F
];
$linkTrail = "/^([a-z\x{0900}-\x{0963}\x{0966}-\x{A8E0}-\x{A8FF}]+)(.*)$/sDu";
$digitGroupingPattern = "#,##,##0.###";