Locale/Search
* remove obsolete and broken logographic check. * this fixes searches with "too short" search tokens
This commit is contained in:
parent
4fe930cdca
commit
8b59551905
2 changed files with 2 additions and 8 deletions
|
|
@ -881,12 +881,6 @@ abstract class Util
|
|||
));
|
||||
}
|
||||
|
||||
// todo: create Locale object and integrate
|
||||
public static function isLogographic(int $localeId) : bool
|
||||
{
|
||||
return $localeId == LOCALE_CN || $localeId == LOCALE_TW || $localeId == LOCALE_KR;
|
||||
}
|
||||
|
||||
// default back to enUS if localization unavailable
|
||||
public static function localizedString(array $data, string $field, bool $silent = false) : string
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue