D14779: Fix 'kformattest fails with installed kcoreaddons language package'

Ralf Habacker noreply at phabricator.kde.org
Fri Aug 17 12:54:11 BST 2018


habacker added a comment.


  In D14779#310116 <https://phabricator.kde.org/D14779#310116>, @aacid wrote:
  
  > Did you have that problem when you made ecm not create a translator?
  
  
  no,  therefore I created D14778 <https://phabricator.kde.org/D14778>
  
  > 
  > 
  >> What is the drawback to not load any translation in the ECM qm file loader with using QLocale::C as default locale ?
  > 
  > I've seen some systems that default to C locale,
  
  Can you give a pointer to that system ?
  
  > and I would prefer them to still have the english translation working.
  
  but then there need to be a different way to disable translation for this test because this
  
  >   QCOMPARE(format.formatSpelloutDuration(3610000), QStringLiteral("1 hour(s)"));
  
  and similar lines are not designed to use any translation.

REPOSITORY
  R244 KCoreAddons

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

To: habacker, #frameworks
Cc: aacid, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180817/2794a0af/attachment.html>


More information about the Kde-frameworks-devel mailing list