[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: nihui <shuizhuyuanluo () 126 ! com>
Date: 2012-04-14 4:27:12
Message-ID: 1dce7609.16b3d.136af1ad182.Coremail.shuizhuyuanluo () 126 ! com
[Download RAW message or body]
The attachment is my source
The configuration widget is used to adjust color settings.
I prepare to make another release[1] once the i18n issue resolved.
regards,
nihui
[1] http://kde-apps.org/content/show.php/KDE+PO+Thumbnailer?content=142036
At 2012-04-13 00:33:33,"Albert Astals Cid" <aacid@kde.org> wrote:
>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
[Attachment #3 (text/html)]
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">The \
attachment is my source<br>The configuration widget is used to adjust color \
settings.<br><br>I prepare to make another release[1] once the i18n issue \
resolved.<br><br>regards,<br>nihui<br><div></div><div \
id="divNeteaseMailCard"></div><br> [1] \
http://kde-apps.org/content/show.php/KDE+PO+Thumbnailer?content=142036<pre><br>At  \
;2012-04-13 00:33:33,"Albert Astals Cid" <aacid@kde.org> wrote:
>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
</pre></div><br><br><span title="neteasefooter"><span \
id="netease_mail_footer"></span></span>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic