[kde-community] Cervisia?
Burkhard Lück
lueck at hube-lueck.de
Sun Jun 5 15:21:15 BST 2016
Am Sonntag, 5. Juni 2016, 14:08:39 CEST schrieb Martin Koller:
> On Sunday 05 June 2016 09:14:42 Burkhard Lück wrote:
> > Am Samstag, 4. Juni 2016, 22:45:49 CEST schrieb Martin Koller:
> > > On Friday 16 October 2015 06:53:19 Jeremy Whiting wrote:
> > > > Awesome! Keep it up. Porting to Qt5/KF5 can happen on a branch and be
> > > > done a small bit at a time if you like. There are also some scripts in
> > > > kdesdk/kde-dev-scripts/kf5 that can help with the trivial changes.
> > > > Most are executed like find -iname *.cpp | xargs scriptname, but if
> > > > not they will say in a comment at the top of the script how to execute
> > > > them.
> > > >
> > > > On Thu, Oct 15, 2015 at 8:02 PM, Martin Koller <kollix at aon.at> wrote:
> > > > > On Thursday 15 October 2015 15:49:32 Jeremy Whiting wrote:
> > > > >> Michael, Martin,
> > > > >>
> > > > >> Any progress on the cervisia front? Is there anything I can do to
> > > > >> help?
> > > > >
> > > > > yes, a lot of progress!
> > > > > We have already ported away from Qt3/KDE3 support classes.
> > > > > This is already in master and I'm testing it by using it on a daily
> > > > > basis.
> > > > >
> > > > > The next step would now be to start the port to KF5 - this has not
> > > > > been
> > > > > started yet.
> > >
> > > Just for your information: I have now completed the KF5 port and master
> > > now
> > > holds this version
> >
> > So you want Scripty to track master to trunk_kf5 and Applications/16.04 to
> > l10n stable, right?
>
> Ermm. don't understand.
>
You want this:
http://commits.kde.org/sysadmin/repo-metadata/
c2645d1fd170b50e5ff249c3844120dbfdac863a
> > Some i18n issues:
> >
> > It is a QApplication so you have to add the translators tab manually with
> > aboutData.setTranslator
>
> ok. what shall I write there (names, emails ?)
>
Nothing, false alarm
> Isn't that a limited approach to name the translators in the sourcecode,
> since every new translation added will need a source change ?
>
> > no setApplicationDomain("cervisia"), so no translations of KXmlGui (.rc)
> > files and KConfigXT (.kcfg) files, see
> > https://api.kde.org/frameworks/ki18n/html/ prg_guide.html
>
> What I have in the cmake file is
> add_definitions(-DTRANSLATION_DOMAIN="cervisia")
> Is that not enough ?
>
> Note that cervisia is also built as a KPart.
>
Yes you need add_definitions(-DTRANSLATION_DOMAIN="cervisia") for that,
> I put now
> KLocalizedString::setApplicationDomain("cervisia");
> in kdemain()
Now cervisia is fully translated, but has an outdated and untranslatable man
page, I'll file an RR for that issue.
--
Burkhard Lück
More information about the kde-community
mailing list