How can I break the tooltips on two lines?
Moderators: jesterKing, stiv
-
- Posts: 0
- Joined: Tue Feb 22, 2005 2:26 pm
How can I break the tooltips on two lines?
I know this is not directly related to the Blender Summer of Docs, but I have a question about translating Blender's UI, and here's the best place:
I translated part of the Blender UI in my language with LaunchPad, but I can't make the long tooltips appear on two lines. They appear ok in LaunchPad (I can get two lines by hitting Enter on the keyboard), but the resulting .mo file ignores the 'row break' -- the tooltips don't "break". There are only two "boxes" where the break should be (unrecognized characters)
Way-too-long tooltips are a pain, so is there a trick or a low-tech manual editing routine that would help? Or is Blender the "guilty party" for not recognizing the row breaks?
bogdan
I translated part of the Blender UI in my language with LaunchPad, but I can't make the long tooltips appear on two lines. They appear ok in LaunchPad (I can get two lines by hitting Enter on the keyboard), but the resulting .mo file ignores the 'row break' -- the tooltips don't "break". There are only two "boxes" where the break should be (unrecognized characters)
Way-too-long tooltips are a pain, so is there a trick or a low-tech manual editing routine that would help? Or is Blender the "guilty party" for not recognizing the row breaks?
bogdan
Last edited by BogdanOancea on Sun Jun 04, 2006 5:33 pm, edited 2 times in total.
-
- Posts: 0
- Joined: Fri Dec 03, 2004 11:02 pm
-
- Posts: 0
- Joined: Tue Feb 22, 2005 2:26 pm
have you seen Campbell Barton's patch? I think that is what you are looking for
-
- Posts: 0
- Joined: Tue Feb 22, 2005 2:26 pm
-
- Posts: 0
- Joined: Tue Feb 22, 2005 2:26 pm
-
- Posts: 0
- Joined: Tue Feb 22, 2005 2:26 pm
Thanks, man, for including the patch. I tested it, and unfortunately it doesn't work, no matter what the UI language is selected in the preferences. On the contrary, it misplaces and pixelates the tooltips as you can see below:




I colored the pointer in red, just to see it clearly.
So it seems the patch is not ready for adoption yet...
Campbell, if you're not too busy, can you see what's wrong?




I colored the pointer in red, just to see it clearly.
So it seems the patch is not ready for adoption yet...

Campbell, if you're not too busy, can you see what's wrong?
-
- Posts: 0
- Joined: Tue Feb 22, 2005 2:26 pm
Oops... the bad pixelation was caused by me unknowingly activating the "Use textured fonts" in the Preferences/Language & Font pane. Now the fonts look perfectly good. Sorry for not being more careful...
So there remains only the:
(1) "unbreakable" tooltips,
(2) misplacing them on the screen
(3) the lack of support for diacritics. I forgot to mention that I have to switch from the .bfont (Bitstream Vera Sans) to Arial to see them.
And something more just to clarify while I'm at it:
Franz told me to use "\n", then Paprmh mentioned using "/n". If you stop by, please clarify.
Anyway, Blender doesn't load .fon files... I suppose that's what you meant by 'bitmap fonts'. Or?...

So there remains only the:
(1) "unbreakable" tooltips,
(2) misplacing them on the screen
(3) the lack of support for diacritics. I forgot to mention that I have to switch from the .bfont (Bitstream Vera Sans) to Arial to see them.
And something more just to clarify while I'm at it:
Franz told me to use "\n", then Paprmh mentioned using "/n". If you stop by, please clarify.
Anyway, Blender doesn't load .fon files... I suppose that's what you meant by 'bitmap fonts'. Or?...