Page 1 of 1

[FIXED] Multilinguality with AddActionsFromList

Posted: Thu Jul 17, 2008 1:28 pm
by Pako
Nowadays I want use "AddActionsFromList".
I'm however find out, that there isn't possibility make translation names and descriptions of groups !
It is intention, or bug ?
Pako

Re: Multilinguality with AddActionsFromList

Posted: Thu Jul 17, 2008 4:56 pm
by Bitmonster
Yes, this is a design flaw. We need to add an identifier to the group entry, so the group can be added to the translation class.

I move this topic to bug reports, so I can remember it better.

Re: [OPEN] Multilinguality with AddActionsFromList

Posted: Thu Jul 17, 2008 8:11 pm
by Bitmonster
Ok, I've changed AddActionsFromList in 0.3.6.1449. If the first item of a tuple is now eg.ActionGroup, it is expected that the second item is a valid Python identifier string for the insertion of the name and description parameters in the plugin's translation for the group.

I've modified the following plugins in the trunk to follow this scheme:
- Media Player Classic
- MyTheatre
- GOMPlayer

So you can look at them to see how it has to be done now.

Re: [OPEN] Multilinguality with AddActionsFromList

Posted: Fri Jul 18, 2008 6:57 am
by Pako
Working well !
Thank you very much !

Pako