Use dash as separator for non-prefix matches in language name search
Bug: T186480 Change-Id: Ib785e2b070e0c5a218b236be194417f0b1fbd102
This commit is contained in:
@@ -62,7 +62,7 @@ class LanguageNameIndexer extends Maintenance {
|
||||
$display = $translation;
|
||||
if ( $index > 0 && count( $words ) > 1 ) {
|
||||
$type = 'infix';
|
||||
$display = "$word <$translation>";
|
||||
$display = "$word — $translation";
|
||||
}
|
||||
$buckets[$bucket][$type][$display] = $targetLanguage;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user