]> cloud.milkyroute.net Git - dolphin.git/commit
Enable translation scripting for date groups
authorLasse Liehu <lasse.liehu@gmail.com>
Thu, 9 Apr 2015 23:53:05 +0000 (02:53 +0300)
committerLasse Liehu <lasse.liehu@gmail.com>
Thu, 23 Apr 2015 14:40:33 +0000 (17:40 +0300)
commit82bf562c34204d585df67594feab844cf9b599a1
treebaa8f1cbdd6cc77a633147739f6d4f13e59f081c
parentd4475653db4dd57a0534adaa4159067431e56e6b
Enable translation scripting for date groups

This allows to work around limitations in Qt's date formatting.

Examples:

* Uppercasing the first character in a string because it's a title:
  Day of the week and month names returned by QDateTime::toString
  are usually lowercase.
* Correcting the noun case of a month name from "of [month]" to
  "in [month]" in Finnish: "of [month]" is correct when talking
  about a specific day, but wrong when talking about a specific month.

REVIEW: 123278
src/kitemviews/kfileitemmodel.cpp