Cervisia?

Martin Koller kollix at aon.at
Sun Jun 5 13:08:39 BST 2016


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.
 
> 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 ?)

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.

I put now
    KLocalizedString::setApplicationDomain("cervisia");
in kdemain()

-- 
Best regards/Schöne Grüße

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\                        - against proprietary attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at




More information about the kde-core-devel mailing list