Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search problem in some languages #72

Open
ItIsNotAPlayer opened this issue Sep 22, 2023 · 3 comments
Open

Search problem in some languages #72

ItIsNotAPlayer opened this issue Sep 22, 2023 · 3 comments

Comments

@ItIsNotAPlayer
Copy link

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.

@FlashyReese
Copy link
Owner

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?

@ItIsNotAPlayer
Copy link
Author

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.

@FlashyReese
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants