summaryrefslogtreecommitdiff
path: root/pages/recordings.ecpp
diff options
context:
space:
mode:
Diffstat (limited to 'pages/recordings.ecpp')
-rw-r--r--pages/recordings.ecpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/recordings.ecpp b/pages/recordings.ecpp
index fd23b63..ebd57e0 100644
--- a/pages/recordings.ecpp
+++ b/pages/recordings.ecpp
@@ -236,8 +236,8 @@ for (recIter = recItems.begin(); recIter != recItems.end(); ++recIter) {
// xgettext:no-c-format
string day(FormatDateTime(tr("%a,"), recItem->StartTime()));
string dayLen(lexical_cast<string, int>(day.length() - 1) + ".25em;");
- // TRANSLATORS: recording duration format
- string duration(LiveSetup().GetShowRecDuration() ? FormatDuration(tr("(%d')"), recItem->Duration()) : "");
+ // TRANSLATORS: recording duration format HH:MM
+ string duration(recItem->Duration() < 0 ? "" : FormatDuration(tr("(%d:%02d)"), recItem->Duration() / 60, recItem->Duration() % 60));
string shortDescr(recItem->RecInfo()->ShortText() ? recItem->RecInfo()->ShortText() : "");
string description(recItem->RecInfo()->Description() ? recItem->RecInfo()->Description() : "");
string hint(tr("Click to view details."));