[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: Calligra Author and translations
From: Burkhard =?iso-8859-1?q?L=FCck?= <lueck () hube-lueck ! de>
Date: 2012-09-21 8:53:40
Message-ID: 201209211053.40844.lueck () hube-lueck ! de
[Download RAW message or body]
Am Freitag, 21. September 2012 09:25:58 schrieb Yuri Chornoivan:
> > Am Donnerstag, 20. September 2012 21:26:42 schrieb Yuri Chornoivan:
> > > Hi,
> > >
> > > The new Calligra Author component works as a part on top of Words
> > > (/words/part/author in Calligra repository) but does not load any
> > > Calligra translations so looks absolutely untranslated.
> > >
> > > Is there any easy way (or maybe hard way ;) ) to fix this?
> >
> > Easy way :
> > words/part/author/CAuAboutData.h
> > - KAboutData * aboutData = new KAboutData("author", 0, ki18nc(...
> > + KAboutData * aboutData = new KAboutData("author", "words",
> > ki18nc(...
>
> Thanks for the solution. It works and it was pushed into master.
>
> But developers still think that KGlobal solution is cleaner (and they do
> not remember how it is done ;) ).
Afaik appName!=catalogName is the use case the second parameter of \
KAboutData was designed for.
> Any hints where to read about this?
>
http://techbase.kde.org/Development/Tutorials/Localization/i18n_Build_Systems#Special_cases_.28plugins.2C_multiple_catalogs.2C_etc..29
Examples for usage of
http://lxr.kde.org/search?filestring=&string=setmaincatalog
Thanks
--
Burkhard Lück
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic