KLocalizedString regression
Thiago Macieira
thiago at kde.org
Fri Mar 25 15:06:11 GMT 2011
Em sexta-feira, 25 de março de 2011, às 14:39:22, John Tapsell escreveu:
> I have a widget, KSignalPlotter, which plots data points.
>
> The usage is:
>
> KSignalPlotter plotter;
> plotter.setUnit( ki18ncp("Units", "%1 second", "%1 seconds") );
> plotter.addBeam(Qt::red);
> plotter.addSample( QList<qreal>() << 2 );
>
> For example.
>
> The axis will then be labelled using the "unit" string. The precision
> will be calculated automatically.
So you might have a graph showing 1, 2, and 3 where the unit is "2.2e4
seconds" ?
Shouldn't you show instead 2.2e4, 4.4e4 and 6.6e4 with a unit of "seconds" ?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110325/ab2295b6/attachment.sig>
More information about the kde-core-devel
mailing list