Bug 147573 - HTML tags are missing from translation files
Summary: HTML tags are missing from translation files
Status: RESOLVED FIXED
Alias: None
Product: kblackbox
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Robert Cimrman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-05 13:59 UTC by Yukiko Bando
Modified: 2007-07-25 16:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yukiko Bando 2007-07-05 13:59:53 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Instructions in the tutorial like "Now shoot the marked laser to discover the first kind of interaction" are displayed in bold italic.  It's not suitable for Japanese characters which are square and often very complicated, at least in a regular font size.  So I want to remove <b> and <i> tags but they are not included in the pot file.

Also, messages shown after solving the game like "Your final score is: %1. You did really well!" are displayed in a minuscule font.  It's hard to read even in English.  Would it be possible to include <font size> tags in the pot file too?  

I'm using kdegames revision 682394.

Thank you.
Comment 1 Nicolas Roffet 2007-07-06 17:26:13 UTC
I removed the "<i>" tag with the revision #684390. Is it OK if I don't remove the "<b>" tag?

For the second problem mit the small message, I'm aware of it and working on it...
Comment 2 Yukiko Bando 2007-07-07 08:28:04 UTC
No, it's not OK for Japanese. Some characters look really ugly in bold...

However, I don't want to spoil your original design, which is fine in most languages.  Can I work around the problem like this, by putting a </b> and a </i> at the beginning of each instruction message? :)

#: kbbtutorial.cpp:217 kbbtutorial.cpp:226
msgid "Click on \"Next\"."
msgstr "</b></i>「次」をクリックしてください。"
Comment 3 Nicolas Roffet 2007-07-11 10:24:05 UTC
OK, putting a "</b>" at the beginning of the message and a "<b>" at the end is 
a good idea. :)
(I removed the <i> for every languages and I think it's OK like this).
Comment 4 Nicolas Roffet 2007-07-25 16:59:38 UTC
Solved with the commit #690209:
I reduced the size of the graphic elements by 50% so that the pop-up message 
(KGamePopupItem) is now in comparison 50% bigger and always good readable.
I had also to removed the icon from the pop-up message because it was not 
looking good, because the size of the scene (QGraphicsScene) usually differs 
from the size of the view (QGraphicsView) and the icon is a QPixmap (not 
scalable). And changing this behaviour would be a huge rework and would also 
have some drawbacks... so I don't want to change this. I think it's looking 
nice now. :)
Anyway, this should solve the last point of the reported bug. Thanks!