D14778: Disable loading of translations when using 'C' locale

2018-08-14 Thread Ralf Habacker
habacker abandoned this revision. habacker added a comment. How to handle single/plural form then ? QString KFormatPrivate::formatDecimalDuration(quint64 msecs, int decimalPlaces) const { ... //: @item:intext %1 is a whole number //~ singular %n millisecond //~ plural %

D14778: Disable loading of translations when using 'C' locale

2018-08-14 Thread Albert Astals Cid
aacid added a comment. Honestly i think that test in kformattest is wrong and that it should contain it's own small minitranslation so that stuff works fine and then it should be QCOMPARE(format.formatDecimalDuration(10), QStringLiteral("10 milliseconds")); instead of QCOMP