[Kde-pim] i18n bugs in akonadi

Burkhard Lück lueck at hube-lueck.de
Thu Dec 18 13:16:11 GMT 2008


Hi,

the translations for some akonadi stuff in kdepim/kdepimlibs are not used at 
runtime.

1. KControl module in kdepim/akonadi/kcm/
All messages in this directory are extracted to the 
catalog "kcm_akonadi_resources".
In serverconfigmodule.cpp the plugin is exported with the different 
catalogname "kcm_akonadi".

So we will never see any translation at runtime.

Possible solution could be renaming the messages target in Messages.sh  
to "kcm_akonadi".


2. Dialogs in kdepim/akonadi
All messages are extracted to the catalog "libakonadi".

But nothing in kdepim or kdepimlibs uses the translations in this catalog eg 
via .KGlobal::locale()->insertCatalog( "libakonadi" ).

Anyone knows a better way how to fix this than use insertCatalog () in every 
dialog here?

Attached patch for selftestdialog makes the translations in the GUI for this 
dialog visible, but with it the error report is translated too.

-- 
Burkhard Lück

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdepimlibs-akonadi-selftestdialog.diff
Type: text/x-diff
Size: 595 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20081218/a3c4c329/attachment.diff>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list