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:
@@ -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'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user