Openrct2: Keyboard shortcuts window isn't large enough (for some languages)

Created on 3 Mar 2017  路  9Comments  路  Source: OpenRCT2/OpenRCT2

OS: Any
Version: 0.0.7
Commit/Build: 8167ff9678c6020983404f33d5627b87cb118fba

The "keyboard shortcuts" window is too small in terms of width size, this gives me problem when translating PR #5200 to French as even with a lot of abbreviations it starts to be painful to read the window's content due to overlapping. The screenshot below explains way better what I mean.

  • [ ] Reproducible in RCT2 (vanilla)?
  • [ ] Multiplayer?

Steps to reproduce:

  1. Change the game language to "French (France)"
  2. Go to "Keyboard shortcuts" (Raccourcis clavier)
  3. Scroll down until you see "Afficher/masquer fen锚tre de d茅bogage du dessin", if you bind a key there (or you already have one), it's gonna overlap thus making reading harder.

Screenshots / Video:
Oopsie!!!

bug

Most helpful comment

Can you also make it resizable?

All 9 comments

We'll enlarge it a bit, we can spare the screen space in 2017. ;-)

Can you also make it resizable?

@gymnasiast I know you self assigned it, but could I do this? I really enjoy working with the window system.

By me doing it I mean making it resizable.

Sure! I'm glad you want to pick it up.

@JoelTroch STR_2781 contains a MOVE_X instruction, followed by {195}. Try increasing that number. I'm currently working on making the window wider and resizable (building on wolfreak99's work).

@Gymnasiast I tried the {MOVE_X} command with the following values: 64, 128 and 255. It doesn't help, sometimes it would make it look worse.

Here is an idea: me or @RobinBossart can limit the damage by changing the strings to use abbreviations and by doing a little sacrifice on the quality of the translation (in terms of grammar). Here are some examples:

Construction de man猫ge - Tourner 脿 gauche -> Construct. man猫ge - Tourner 脿 gauche
Construction de man猫ge - Utiliser la voie par d茅faut -> Construct. man猫ge - Utiliser voie par d茅faut
Construction de man猫ge -> Construct. man猫ge - Basculer 茅chelle

I'll say it again that it won't fix this issue entirely but limit the damage.

If you are against the option above, then increasing the window's width and make it resizable is the only remaining option.

I'd prefer just giving the descriptions more room. 195 pixels makes sense for English and 640x480 screens, not so much for French or Dutch and the screens we use today. I'll look into it further. Don't change anything to the French translations just yet.

The window is now bigger and resizable. Languages can edit string 2781 to give the descriptions more space. I have already modified UK English, Dutch and French, but for some languages 195 pixels (the old value) will actually work better - Chinese and Korean spring to mind.

Was this page helpful?
0 / 5 - 0 ratings