I managed to reproduce this here, using:

    LANGUAGE= LANG=de_DE.UTF-8 beast

The duplicate entries are due to a mixture of translated labels used in the 
menu paths. I.e. in one place we create a menu item "_Audio Quellen" from 
"/_Audio Sources/", in another place we refer to that menu entry as "/Audio 
Sources/XtalStrings". Some module names are translated, others not, and then 
the menu logic can not always properly join items, becuase the paths aren't 
translated piecewise.

Basically, there's no good way to fix this, other than redoing the path 
specifications during our next module migration. We need to split up the 
segments, so joining, translation and accelerator creation can be properly 
segmented. E.g.:

    -Info    category   = _("/Enhance/ArtsCompressor");
    +Info    menu_category   = "Enhance";
    +Info    module_title        = _("ArtsCompressor");

And *maybe* (just maybe), we shouldn't be translating the module names at all, 
since those are names after all. Or have a secondary title, to help beginners, 
e.g.:

    -Info    category  = _("/Audio Sources/DavOrgan");
    +Info    menu_category   = _("Audio Sources");    // DE: "Audio Quellen"
    +Info    module_name     = "DavOrgan";
    +Info    module_title        = _("synthetic organ");    // DE: 
"Synthetische Orgel";

Which becomes:

    EN: → Audio Sources → DavOrgan (synthetic organ)
    DE: → Audio Quellen → DavOrgan (Synthetische Orgel)

I'm happy to take patches towards implementing this. Short of someone else 
hacking on this, I'll probably address this at a later point when the plugin 
idl files need to be migrated.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tim-janik/beast/issues/20#issuecomment-417517303
_______________________________________________
beast mailing list
beast@gnome.org
https://mail.gnome.org/mailman/listinfo/beast

Reply via email to