[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: Possible, wrong whatsthis in KAlarm
From: Albert Astals Cid <aacid () kde ! org>
Date: 2009-04-27 22:49:20
Message-ID: 200904280049.22183.aacid () kde ! org
[Download RAW message or body]
A Dimecres, 15 d'abril de 2009, Andrey Cherepanov va escriure:
> 15 апреля 2009, Malcolm Hunter написал(а):
> > -------- Original-Nachricht --------
> >
> > > Datum: Tue, 14 Apr 2009 23:24:11 +0200
> > > Von: Albert Astals Cid <aacid@kde.org>
> > > An: "KDE i18n-doc" <kde-i18n-doc@kde.org>
> > > Betreff: Re: Possible, wrong whatsthis in KAlarm
> > >
> > > A Tuesday, 14 of April de 2009, Andrey Cherepanov va escriure:
> > > > "Whether to display a warning prompt before quitting KAlarm. Enter
> > > > \"yes\"
> > > > to suppress prompt, blank to display prompt." - is it correct for
> > > > "Warn before quitting"?
> > >
> > > Yes, it's correct, is a config file option, so if you write "yes" the
> > > prompt
> > > is not shown it you write a blank, it is shown.
> >
> > It doesn't make sense though. "Warn before quitting" should be yes to
> > warn, blank not to warn. Anyone have a screenshot of this?
>
> There is more strange situation. In KDE 4.2.1 file kalarm.kcfg describe
> setting as:
>
> <entry name="Base_QuitWarn" key="QuitWarn" type="String">
> <label context="@label">Warn before quitting</label>
> <whatsthis context="@info:whatsthis">Whether to display a warning
> prompt before quitting KAlarm. Enter "yes" to suppress prompt, blank to
> display prompt.</whatsthis>
> <default code="true">QString()</default>
> </entry>
>
> But in prefdlg.cpp it describe as
> mQuitWarn = new QCheckBox(i18nc("@option:check", "Warn before quitting"),
> group);
> mQuitWarn->setWhatsThis(i18nc("@info:whatsthis", "Check to display a
> warning prompt before quitting <application>KAlarm</application>."));
>
> As result of this difference:
> 1. Whatsthis message from kalarm.kcfg will be never displayed
> 2. Type of setting differ (String and Bool)
Hmm, right, a checkbox using a String as option in the kcfg file is weird,
i'll ping the KAlarm maintainer.
Albert
> 3. Strange value for disable prompt in config file
>
> Would I post it as bug or change kalarm.kcfg in SVN to correct type and
> whatsthis?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic