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 “...% speed” in Tooltip Translatable #191

Open
cmplstofB opened this issue Feb 29, 2024 · 1 comment
Open

Make “...% speed” in Tooltip Translatable #191

cmplstofB opened this issue Feb 29, 2024 · 1 comment

Comments

@cmplstofB
Copy link
Contributor

Currently, some text on the tooltip hard-coded.
(e.g. “...% speed”)

MutableText multiplierText = Text.literal(String.format("%.1f", (CropConfigs.getSeasonCropMultiplier(cropIdentifier, s) * 100)) + "% speed");

I think it would be better make them translatable.

@mpustovoi
Copy link
Contributor

It's translatable now I guess since it's present in en_us.json.

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