SCIM help dialogue for scim-skk is in Japanese
Bug #53407 reported by
Peter Maydell
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
scim-skk (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
I'm in an English locale (en_GB, as it happens), but when I bring up the SCIM help dialogue for the SKK input method by pressing the '?' button on the SCIM toolbar the contents of the dialogue box appear in Japanese. For other input methods (eg 'raw code') the help message is correctly localised into English.
(This is a dapper installation.)
Changed in scim-skk: | |
importance: | Undecided → Low |
Changed in scim-skk (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in scim-skk (Ubuntu): | |
status: | Confirmed → Triaged |
status: | Triaged → In Progress |
To post a comment you must log in.
I see this bug is still present in Gutsy.
I'm going to attach a dpatch patchfile which fixes this. (ie a file you can dump in debian/patches and add to the debian/ patches/ 00list) . This patch is against scim-skk 0.5.2-5.
This patch essentially just gettext-izes the help text. The existing Japanese help message is moved unchanged into the ja.po. The English help message is a translation from the Japanese; I believe it to be accurate but may of course have made mistakes. It could probably be more helpful, but I chose to stick to a fairly straight translation rather than trying to improve on it as I went along.
This is my first run-in with the gettext machinery, so it's possible I may have got something wrong. However I have checked that the help text displays the Japanese text in a Japanese locale (ja_JP.UTF-8) and the English text in a UK locale (en_GB.UTF-8) so it all seems to work.
I have copied the URL unchanged from the Japanese help to the English; this is no loss because the URL is a 404 anyway :-) This probably ought to be fixed but that would involve finding a proper description of the input mode in both Japanese and English and referring to it instead. Or such a longer description could go in the help text instead of the current quick-reference information. Either way, I think that's out of the scope of this bug.
You will note that the initial size of the help dialog box is such that bits of the text are cut off on the right hand side. This looks to me like a programming bug -- the dialog box is sized to fit the text except that no account has been taken of the need to allow space for the scrollbar. The Japanese help text has the same problem although by some fluke it only affects a single line of text and that not very badly. Anyway, I think that's a separate issue (for which I have not filed a bug report).
Hope this helps!