Extension doesn't work when language is set to en_GB.utf8

Bug #313332 reported by Mario Kemper (Romario)
2
Affects Status Importance Assigned to Milestone
Easy Menu
Won't Fix
Low
Unassigned
ubuntuusers Menu
Fix Released
High
JaiBee

Bug Description

I've used your extension for a long time (german system language) and it worked great.

Because of testing purposes I've switched to English and your extension isn't working anymore. The Menu entry is missing and there is an empty entry in the tools section of the menubar (see attached screenshot for a detailed view).
Additionally there are some JavaScript links/functions that stopped working as well:

Visit: http://nachrichten.t-online.de/c/17/27/07/40/17270740.html and try to open the thumbnail showing Mr. Sarkozy for example ;-)

When i deactivate your extension or switch back to german, everything works just fine.

Thanks for your help in advance.
Mario

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :
JaiBee (jaibee)
Changed in ubuntuusers-menu:
assignee: nobody → jaibee
importance: Undecided → High
status: New → Confirmed
Revision history for this message
JaiBee (jaibee) wrote :

found bug

Changed in ubuntuusers-menu:
status: Confirmed → In Progress
Revision history for this message
JaiBee (jaibee) wrote :

I will probably release a fixed version of "ubuntuusers Menu" tomorow.

Because the "bug" (it's not really one) is connected with EasyMenu I will give you some more informations:
If you use tooltips you have to translate them into all used languages. Otherwise the extension doesn't work properly.

Example (used languages: English, German]:
<tooltiptext locale="de-DE">German text</tooltiptext>
   -> Extension doesn't work when language is set to en_GB.utf8

<tooltiptext locale="en-US">English text</tooltiptext>
   -> Extension doesn't work when language is set to de_DE.utf8

<tooltiptext locale="de-DE">German text</tooltiptext>
<tooltiptext locale="en-US">English text</tooltiptext>
   -> Extension works when language is set to en_GB.utf8 or de_DE.utf8

Best regards,
JaiBee

Revision history for this message
Mario Kemper (Romario) (mario-kemper) wrote :

Thanks for your quick response.

Greetings
Mario

Revision history for this message
Volans (volans) wrote : Re: [Bug 313332] Re: Extension doesn't work when language is set to en_GB.utf8

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

JaiBee wrote:
> I will probably release a fixed version of "ubuntuusers Menu" tomorow.
>
> Because the "bug" (it's not really one) is connected with EasyMenu I will give you some more informations:
> If you use tooltips you have to translate them into all used languages. Otherwise the extension doesn't work properly.
>
> Example (used languages: English, German]:
> <tooltiptext locale="de-DE">German text</tooltiptext>
> -> Extension doesn't work when language is set to en_GB.utf8
>
> <tooltiptext locale="en-US">English text</tooltiptext>
> -> Extension doesn't work when language is set to de_DE.utf8
>
> <tooltiptext locale="de-DE">German text</tooltiptext>
> <tooltiptext locale="en-US">English text</tooltiptext>
> -> Extension works when language is set to en_GB.utf8 or de_DE.utf8
>
> Best regards,
> JaiBee
>

Thanks for the quick reply.
So really is not a "strict" EasyMenu bug because at the moment there
isn't a check if a string is present in all the locale used, is in the
todo list...

I have corrected a little bug in the tutorial page of easymenu (
http://easymenu.googlepages.com/tutorial ) and better explained this
poin the tooltiptext tag description:

[OPTIONAL TAG] The localized menu/item tooltiptext to be shown with the
relative locale. This tag is optional but if used, one tag for each
locale must be provided. This tag can be child of many different tags,
but his meaning is always the same.

In any case I will reply now to the LP bug and set the status for the
EasyMenu side of the bug.

Thanks for the report,
Volans (Riccardo)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklhMa4ACgkQnVwWuapVExbOkQCgzvGQoYREJb/633lD2kZ64C1+
FSEAn3BALuu7p5R6g0nzsK1I1vLTlV5E
=+iPR
-----END PGP SIGNATURE-----

Revision history for this message
Volans (volans) wrote :

Ooops, I have replied to the bug email instead of JaiBee directly, sorry for the mistake.

Fortunately the content is the same, I set the status in EasyMenu as Won't Fix (at this time) because in order to do this check an entire section of the program must be completely revisited. Hoping to do this in future release.

Changed in easymenu:
importance: Undecided → Low
status: New → Won't Fix
Revision history for this message
JaiBee (jaibee) wrote :

I have released the fixed version: 0.1.7 (see links on https://launchpad.net/ubuntuusers-menu).

Thank you Mario for the report and Volans for the response. I knew that it was not a real bug in EasyMenu by the way ;-)

Best regards,
JaiBee

Changed in ubuntuusers-menu:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.