Add special language names to facilitate searching

This adds several custom languages.

The addition of Punjabi addresses Bug T178070.

The addition of Chinese addresses Bug T73891.

Georgian and Catalan (Valencian) variant spellings
are added because these are the most frequent languages
that are not found in the ULS search box.

Bug: T73891
Bug: T178070
Change-Id: Ifbb08b560e454643d246379c19f725bde61917e9
This commit is contained in:
Amire80 committed 2017-10-25 13:50:12 +05:30
1 parent 18c09bc6d3
commit 101532cfa6
3 files changed
+55 -4

No files matched your search

+24
View File
@@ -58,6 +58,30 @@ class LanguageSearchTest extends PHPUnit_Framework_TestCase {
'ml' => 'മലയാളം',
]
],
[ 'punja', [
'pa' => 'punjaabi sennii',
'pnb' => 'punjabi western',
]
],
[ 'kartuli', [
'ka' => 'kartuli',
]
],
[ 'valencia', [
'ca' => 'valencia',
]
],
[ 'chinese', [
'zh-hans' => 'chinese simplified',
'zh-hant' => 'chinese traditional',
'zh' => 'chinesesch',
'zh-cn' => 'chinese (china)',
'zh-hk' => 'chinese (hong kong)',
'zh-min-nan' => 'chinese (min nan)',
'zh-sg' => 'chinese (singapore)',
'zh-tw' => 'chinese (taiwan)'
]
],
[ 'finish', [
'fi' => 'finnish'
]