[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: i18n for thumbnailer plugin configuration widget
From: Albert Astals Cid <aacid () kde ! org>
Date: 2012-04-12 16:33:33
Message-ID: 3346606.7uZNaqPz4C () xps
[Download RAW message or body]
El Dijous, 12 d'abril de 2012, a les 13:37:40, nihui va escriure:
> hi all
Hi
> I have implemented a configuration ui for my po thumbnailer plugin, but I
> found that it is impossible to get the ui translated. the thumbnailer
> plugin does not use kde export plugin macro, but uses a function symbol
> KDE_EXPORT ThumbCreator* new_creator()
>
> let's say my po file named pothumbnail.po, and generated as pothumbail.mo
> installed to the proper destination directory. I tried
> KDE_EXPORT ThumbCreator* new_creator() {
> KLocale::setMainCatalog( "pothumbnail" );
> return new PoCreator;
> }
> without success.
It should work, show me the code and i'll fix it for you.
Cheers,
Albert
>
> Besides, I found that the jpeg thumbnailer configuration ui was not
> translated either. so i wonder how to make the plugin take account i18n, or
> does it means some bug in plugin loader ?
>
> thanks in advance
>
> regards,
> nihui
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic