[Kde-pim] i18n bug in akonadi kcal resource

Kevin Krammer kevin.krammer at gmx.at
Sat Jul 11 15:09:02 BST 2009


On Friday, 2009-07-10, Burkhard Lück wrote:
> 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()

Yes, or right at the beginning of the constructor.

Thanks for looking into this!

Cheers,
Kevin


-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20090711/0f5e77b5/attachment.sig>
-------------- 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