besteon / Ironmon-Tracker

A Lua script for the Bizhawk/mGBA emulator compatible with Pokemon Fire Red, Leaf Green, Ruby, Sapphire, and Emerald that tracks relevant data for the IronMon challenge.
MIT License
128 stars 46 forks source link

[Bug]: Cut out description for PromptEditControllerLoadNext #460

Closed Zach0Dac closed 7 months ago

Zach0Dac commented 7 months ago

Describe the bug

After trying different strings, it seems it won't display the last word if displaying it exceed a length limit? for example, "Charger la graine suivante" only display "Charger la graine" (notice there is no ":" at the end that should be automatically added), "Charger graine suivante" display "Charger graine" and "Charger grainesuivante" display "Charger". I am unsure on how to fix it simply, I could try to come with a shorter translation than "Charger graine suivante", but if I find an idea it will probably be not precise or not complete description of the setting. Labeling it as a "Bug" might be inaccurate, I am open to suggestion or trying to shorten the translation if there is no good solutions. Capture d’écran 2024-04-18 114413 Capture d’écran 2024-04-18 115158

Steps to Reproduce

  1. Use my branch of translation or manually change the PromptEditControllerLoadNext for "Charger la graine suivante"
  2. In the tracker, select the language named "Français"
  3. Go to "Options" then "Contrôles"
  4. Notice the displayed text for the first setting
  5. Try different string lenght, with more spaces and less spaces, and see the results

What tracker version are you using?

v8.5.2

What operating system are you using?

Windows 11

What emulator(s) are you seeing the problem on?

Bizhawk 2.8

Relevant log output

No response

Additional Information

No response

UTDZac commented 7 months ago

Fixed https://github.com/besteon/Ironmon-Tracker/commit/230e1ecdb5130e0d9eb72214a80ad98b8fe0edcb