Grouping Desktop moved to kdereview

Albert Astals Cid aacid at kde.org
Wed Jul 28 20:18:34 BST 2010


A Dimecres, 28 de juliol de 2010, Giulio Camuffo va escriure:
> On Wednesday 28 July 2010 10:35:20 Burkhard Lück wrote:
> > The code is broken i18n-wise, it does not seem to load the right
> > translation catalogs:
> > groupingpanel.cpp:307:K_EXPORT_PLASMA_APPLET(groupingpanel,
> > GroupingPanel) -> this loads the catalog plasma_applet_groupingpanel
> > 
> > groupingdesktop.cpp:22:K_EXPORT_PLASMA_APPLET(groupingdesktop,
> > GroupingDesktop)
> > -> this loads the catalog plasma_applet_groupingdesktop
> > 
> > Both catalogs don't exist, because you have extracted the translations to
> > a catalog named plasma_containment_groupingdesktop.pot
> 
> Actually i've yet to exactly understand how the Messages.sh works. 

And when were you going to ask?

> Since,
> other that the two containments, there is a lib, do i have to create a
> catalog for the lib too, or maybe extract the same translations to both
> the containments's catalogs?

It is your responsibility as developer making sure i18n messages are 
properly extracted (that is having a proper Messages.sh file) and make sure 
that translations are loaded correctly either by using a correct catalog name 
in KAboutData/ExportNames or by using insertCatalog calls when needed.

Now, if you ask me, having the messages extracted twice doesn't seem like a 
good ideas because translators will complain they have double the work.

Albert




More information about the kde-core-devel mailing list