Reese's Sodium Options

Reese's Sodium Options

23M Downloads

Search problem in some languages

ItIsNotAPlayer opened this issue ยท 3 comments

commented

When I set the language to Simplified Chinese(zh_cn), enter any character in the search bar, then brightness, full screen, clouds, weather and some other options is always highlighted.
I have tried other languages and found the options that is highlighted are different.
By the way, the search bar can't be recognize by other mods as a text field.

commented

I have tried other languages and found the options that is highlighted are different.

Unfortunately, I can't really control what is highlighted when using fuzzy search, translations strings may vary across languages by alot.

By the way, the search bar can't be recognize by other mods as a text field.

It's not a traditional text field since it's a custom component, is there any reason why this would be a problem?

commented

It's not a traditional text field since it's a custom component, is there any reason why this would be a problem?

I use the mods IMBlocker and ContingameIME because of the Chinese IME. With them, I can't enter Chinese in the search bar.
I think it doesn't matter if the options aren't highlighted correctly in Chinese.

commented

I took a look at their code, this will likely need to be done on their end since they mixin directly into other components from other mods as well.

As for the search, I will take a look and try and fix it when I have time.