MegaGlest Forum

MegaGlest => Feature requests => Topic started by: GunChleoc on 8 December 2014, 13:33:54

Title: Implement word wrap for Loading Screen Hints
Post by: GunChleoc 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.
Title: Re: Implement word wrap for Loading Screen Hints
Post by: filux 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 (https://github.com/MegaGlest/megaglest-data/blob/master/data/lang/hint/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.
Title: Re: Implement word wrap for Loading Screen Hints
Post by: GunChleoc 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.