aacid added a comment.

  In D14940#313853 <https://phabricator.kde.org/D14940#313853>, @habacker wrote:
  
  > I see - Qt lacks support for choosing the correct translation string for 
floating point values like this:
  >
  >   qreal value = 1.0;
  >    tr("%n second(s)", nullptr, value).
  >
  > which should return **1.0 second**
  
  
  Are you sure about that? Most answer i find online say 1.0 seconds is the 
right way to write it, basically, because if you write 1.0 seconds is because 
you know it's not 1 second, but something that rounds to 1.0 seconds, i.e in 
the 0.96 to 1.04 range with a precision of one digit.

REPOSITORY
  R244 KCoreAddons

REVISION DETAIL
  https://phabricator.kde.org/D14940

To: habacker, aacid
Cc: kde-frameworks-devel, michaelh, ngraham, bruns

Reply via email to