[Kde-pim] i18n bug in akonadi kcal resource
Burkhard Lück
lueck at hube-lueck.de
Fri Jul 10 19:39:06 BST 2009
Am Donnerstag 09 Juli 2009 13:19:25 schrieb Burkhard Lück:
> Hi,
>
> kdepim/akonadi/resources/kcal/kcalresource.cpp includes
> resources/kabc/kresourceassistant with 14 messages.
>
> These messages are extracted to the catalog akonadi_kabc_resource and not
> to the catalog akonadi_kcal_resource, so they are untranslated in the GUI
> of kcal.
>
> How to fix this bug?
>
> - extract the messages from kresourceassistant to a new catalog and insert
> this new catalog into kcalresource and kabcresource?
Is this the right place to add the new catalog via insertCatalog() call, it
just works here?
$ svn diff kdepim/akonadi/
Index: kdepim/akonadi/resources/kabc/kabcresource.cpp
===================================================================
--- kdepim/akonadi/resources/kabc/kabcresource.cpp (Revision 994269)
+++ kdepim/akonadi/resources/kabc/kabcresource.cpp (Arbeitskopie)
@@ -104,6 +104,7 @@
mDelayedSaveTimer->setSingleShot( true );
mContactGroupMimeChecker->addWantedMimeType( KABC::ContactGroup::mimeType()
);
+ KGlobal::locale()->insertCatalog("kresourceassistant");
}
KABCResource::~KABCResource()
Index: kdepim/akonadi/resources/kcal/kcalresource.cpp
===================================================================
--- kdepim/akonadi/resources/kcal/kcalresource.cpp (Revision 994269)
+++ kdepim/akonadi/resources/kcal/kcalresource.cpp (Arbeitskopie)
@@ -66,6 +66,7 @@
changeRecorder()->fetchCollection( true );
mDelayedSaveTimer->setSingleShot( true );
+ KGlobal::locale()->insertCatalog("kresourceassistant");
}
KCalResource::~KCalResource()
--
Burkhard Lück
_______________________________________________
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