Author Topic: Implement word wrap for Loading Screen Hints  (Read 821 times)

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
Implement word wrap for Loading Screen Hints
« on: 8 December 2014, 13:33:54 »
At the moment, line breaks for the Loading Screen Hints are done manualy with \n.

Maybe there is a way to reuse the code for dialog boxes to have them wordwrapped instead?

I just had one of them overflowing the screen in my translation and I don't remember which one it is, so it is hard to identify which string to fix.

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Re: Implement word wrap for Loading Screen Hints
« Reply #1 on: 8 December 2014, 19:30:33 »
I agree, I remember when I had a problem with this.
Sometimes really useful may be to see hints' file on eye. hint_gaelic.lng

When you know at least one hint which looks perfectly then you can compare rest of them to this one and find issues. It still isn't easy but better than nothing.

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
Re: Implement word wrap for Loading Screen Hints
« Reply #2 on: 8 December 2014, 20:56:24 »
The view on Transifex is better, because they parse the \n at least. I must have tabbed past the problematic entry, because there's 45 of them.