mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
committed by
Konstantin Pastbin
parent
8ec407528f
commit
5b7b69dca4
@@ -226,7 +226,7 @@ void Processor::SetInputLocale(string const & locale)
|
||||
return;
|
||||
|
||||
int8_t const code = StringUtf8Multilang::GetLangIndex(languages::Normalize(locale));
|
||||
LOG(LDEBUG, ("New input locale:", locale, "locale code:", code));
|
||||
LOG(LDEBUG, ("New input locale:", locale, "; locale code:", int(code)));
|
||||
m_keywordsScorer.SetLanguages(LanguageTier::LANGUAGE_TIER_INPUT, feature::GetSimilar(code));
|
||||
m_inputLocaleCode = CategoriesHolder::MapLocaleToInteger(locale);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user