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

Make register categories not translatable #870

Merged
merged 2 commits into from
Jul 25, 2024
Merged

Conversation

10110111
Copy link
Contributor

They are not user-visible, only used as ids for searching, so translation is an unnecessary complication that can break things.

Fixes #868

@10110111
Copy link
Contributor Author

Actually wait, this isn't sufficient. There's some problem with rFLAGS, it seems to be tred somewhere else.

@10110111 10110111 marked this pull request as draft July 24, 2024 20:50
@eteran
Copy link
Owner

eteran commented Jul 24, 2024

No worries, I won't merge until you say so 👍🏻

Categories are not user-visible, only used as ids for searching, so
translation is an unnecessary complication that can break things.
And the names of registers were never supposed to be translatable.

Fixes eteran#868
The register view relies on these strings to keep the right geometry,
and sometimes even for functionality, so they shouldn't be translated.
@10110111 10110111 marked this pull request as ready for review July 24, 2024 21:28
@10110111
Copy link
Contributor Author

OK, now it seems to work.

@eteran
Copy link
Owner

eteran commented Jul 25, 2024

LGTM!

@eteran eteran merged commit 29489ed into eteran:master Jul 25, 2024
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

Unable to display the value of registers such as rax
2 participants