Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

[FIXED] Multilinguality with AddActionsFromList

Found a bug in EventGhost? Report it here.
Post Reply
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

[FIXED] Multilinguality with AddActionsFromList

Post 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
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Multilinguality with AddActionsFromList

Post 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.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: [OPEN] Multilinguality with AddActionsFromList

Post 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.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: [OPEN] Multilinguality with AddActionsFromList

Post by Pako »

Working well !
Thank you very much !

Pako
Post Reply