From: Hanno Z. <ab...@ha...> - 2015-01-29 14:51:27
|
Hi, > You can use the .init callback to add a textdomain for your > translation. Use bindtextdomain() and bind_textdomain_codeset() as > appropriate. I hope that would help. Doesn't look like it does. <http://git.lxde.org/gitweb/?p=lxde/lxpanel.git;a=blob;f=src/plugin.h;h=bf8428de280e7516985ff02c0bab3ddd3417c054;hb=5943e25c59090abb31e7e5353aac194f5e25e3f7#l47> "Callback @init is called on module loading, only once per application lifetime." The gettext call for the description is here: <http://git.lxde.org/gitweb/?p=lxde/lxpanel.git;a=blob;f=src/configurator.c;h=8e815b1bfb85e23e243098fe6b66ef2d55ce596d;hb=5943e25c59090abb31e7e5353aac194f5e25e3f7#l538> There is no way I can put a a change in the gettext package in there. So that would require adding a "gettext_package" constant to the struct in LXPanelPluginInit, right? Apparently, lxpanel is not prepared to have plugin binaries that do not come bundled with lxpanel itself? Regards, Hanno |