Restore "tonga" search test and update language search index

This test was removed in I62f6c9da90074258f13b7fb281e777b3bcf5d17d
to allow the easy updating of local English language names in
the CLDR extension in I2c09d409567efef2e0498cde15ecead4c438c657

Now this test is restored with the new name of the Tonga (toi)
language.

This also updates the search index with the languages
whose English names were updated in
I2c09d409567efef2e0498cde15ecead4c438c657

Bug: T374785
Depends-On: I2c09d409567efef2e0498cde15ecead4c438c657
Change-Id: I922570d7bf0fb00740c1411c36e2d2e889df4c9b
This commit is contained in:
Amir E. Aharoni
2024-09-30 21:01:58 -04:00
committed by Amire80
parent e9165cc37d
commit 152d3df6ae
2 changed files with 49 additions and 0 deletions

View File

@@ -102,6 +102,21 @@ class LanguageSearchTest extends PHPUnit\Framework\TestCase {
'ka' => 'qartuli',
]
],
[ 'tonga', [
'to' => 'tonga',
'toi' => 'tonga (botatwe)',
'tog' => 'tonga (niasa)',
'ts' => 'tsonga',
'nr' => 'tonga — enetepēra ki te tonga',
'hax' => 'tonga — haira ki te tonga',
'st' => 'tonga — hōto ki te tonga',
'es-419' => 'tonga — pāniora amerikana ki te tonga',
'slh' => 'tonga — ratūti ki te tonga',
'tce' => 'tonga — tatōne ki te tonga',
'alt' => 'tonga — ātai ki te tonga',
'crj' => 'tonga-mā-rāwhiti — kirī tonga-mā-rāwhiti',
]
],
[ 'valencia', [
'ca' => 'valencia',
]