D22069: Localize long number strings

Nathaniel Graham noreply at phabricator.kde.org
Mon Jun 24 12:20:35 BST 2019


ngraham added a comment.


  So I'm trying this:
  
  P421 localized  number tests <https://phabricator.kde.org/P421>
  
  But it doesn't seem to work:
  
    FAIL!  : KLocalizedStringTest::correctSubs() Compared values are not the same
       Actual   (ki18n("%1").subs(4.2, 5, 'f', 2).toString()): " 4.20"
       Expected (QString(" 4,20"))                           : " 4,20"
       Loc: [/home/nate/kde/src/ki18n/autotests/klocalizedstringtest.cpp(226)]
  
  What am I doing wrong?

REPOSITORY
  R249 KI18n

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

To: ngraham, #localization, #frameworks, broulik
Cc: aspotashev, ilic, kde-frameworks-devel, broulik, LeGast00n, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190624/c1c1a0c1/attachment.html>


More information about the Kde-frameworks-devel mailing list