Use dash as separator for non-prefix matches in language name search
Bug: T186480 Change-Id: Ib785e2b070e0c5a218b236be194417f0b1fbd102
This commit is contained in:
@@ -48,7 +48,7 @@ class LanguageNameSearch {
|
||||
if ( strpos( $name, $searchKey ) === 0 ) {
|
||||
$results[$searchKey] = $name;
|
||||
} else {
|
||||
$results[$searchKey] = "$searchKey <$name>";
|
||||
$results[$searchKey] = "$searchKey – $name";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user