Revision 846595

Go back to digest for 17th August 2008

Other in KDE Base

Albert Astals Cid committed changes in /trunk/KDE/kdelibs:

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

File Changes

Modified 3 files
  • /trunk/KDE/kdelibs
  •   /kdecore/localization/klocale.cpp
  •   /kdecore/localization/klocale.h
  •   /kdeui/jobs/kwidgetjobtracker.cpp
3 files changed in total