Add aliases for Georgian, Armenian, Spanish, and Japanese

Also make it possible to add multiple aliases for a language.

Bug: T178996
Change-Id: I00bb4a158caed0c1ba15d41e294281a001c917b1
This commit is contained in:
Vagrant Default User
2018-01-17 20:24:34 +00:00
committed by Amire80
parent 08079b9bb8
commit 91a54767b6
3 changed files with 41 additions and 8 deletions

View File

@@ -67,10 +67,30 @@ class LanguageSearchTest extends PHPUnit_Framework_TestCase {
'pnb' => 'punjabi western',
]
],
[ 'castellano', [
'es' => 'castellano',
]
],
[ 'hayeren', [
'hy' => 'hayeren',
]
],
[ 'kartuli', [
'ka' => 'kartuli',
]
],
[ 'qartuli', [
'ka' => 'qartuli',
]
],
[ 'nihongo', [
'ja' => 'nihongo',
]
],
[ 'にほんご', [
'ja' => 'にほんご',
]
],
[ 'valencia', [
'ca' => 'valencia',
]