Revision 974cec2...

Go back to digest for 7th July 2013

Optimization in KDE-PIM

Albert Astals Cid committed changes in [kdepim-runtime] /newmailnotifier:

Remove useless call and rename the catalog to the proper name

What you were doing seemed like it should work but it doesn't, i'll explain why

The thing is that when a program starts, it checks if its main catalog is
translated into the languages the user wants or not, so for example
in this case i say "I want ca" and then KLocale goes and checks if
the akonadi_newmailnotifier_agent catalog exists in catalan, and as it does not
it says "ok, no catalan translation, so we'll have to use default english for the whole program".

Then you go and insert the newmailnotifieragent that is indeed avaiable in Catalan
but it's too late, KLocale has decided already that since the main catalog is not
available it doesn't make sense to use "secondary" catalogs

File Changes

Modified 2 files
  • /newmailnotifier
  •   agents/Messages.sh
  •   agentsagent.cpp
2 files changed in total