D13172: Add AFNumber_Format and l10n AFSimple_Calculate

Andre Heinecke noreply at phabricator.kde.org
Mon May 28 13:51:28 UTC 2018


aheinecke created this revision.
aheinecke added a reviewer: aacid.
aheinecke added a project: Okular.
Restricted Application added a subscriber: okular-devel.
aheinecke requested review of this revision.

REVISION SUMMARY
  This adds utility functions to util to work with QLocale
  for formatting and Number handling.
  
  At least until we support AFNumber_Keystroke to restrict
  what a user enters in Number input fields it is good
  behavior to expect the user to enter Numbers in the system's
  Locale.
  
  AFNumber_Format is new for formatting and uses the
  Locale util functions.

TEST PLAN
  Needs unit test

REPOSITORY
  R223 Okular

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

AFFECTED FILES
  core/script/builtin.js
  core/script/kjs_util.cpp

To: aheinecke, aacid
Cc: okular-devel, ngraham, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20180528/06ef4267/attachment.html>


More information about the Okular-devel mailing list