• Skip to content
  • Skip to link menu
The KDE Source Repository
  • KDE Homepage / KDE Source Repository Homepage
  • -Full Width
  • Sitemap
  • Contact Us
 
/[KDE]

Revision 846595


Jump to revision: Previous Next
Author: aacid
Date: Wed Aug 13 18:13:43 2008 UTC (9 years, 5 months ago)
Changed paths: 3
Log Message:
Showing that 1.76 minutes are left sucks a lot, it's much prettier saying "1
minute and 43 seconds"

Introduce KLocale::prettyFormatDuration that gives you a pretty textual
form.

The prettyness comes from only showing the user the meaningful info,
that is, for example, if one day is left, only shown hours, not minutes
nor seconds because you don't actually care for that.

Did this together with ereslibre, got some input from Chusslove


Changed paths:

Path Details
Directorytrunk/KDE/kdelibs/kdecore/localization/klocale.cpp modified , text changed
Directorytrunk/KDE/kdelibs/kdecore/localization/klocale.h modified , text changed
Directorytrunk/KDE/kdelibs/kdeui/jobs/kwidgetjobtracker.cpp modified , text changed
Maintained by the KDE sysadmins
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal