summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2008-11-23 18:55:47 +0100
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2008-11-23 18:55:47 +0100
commit3120fd09120f40432957e30a5560889badfa10a1 (patch)
tree4f255153431cf305d480e5c6e1b770db563f5db4
parent423b3f2852a891c8f92bad46f349826b7e8abe5f (diff)
downloadvdr-plugin-live-3120fd09120f40432957e30a5560889badfa10a1.tar.gz
vdr-plugin-live-3120fd09120f40432957e30a5560889badfa10a1.tar.bz2
Added nowrap class in styles.css. Time strings are now 'nonwrapable'.
Removed in german translations the 'Uhr' from time formating.
-rw-r--r--css/styles.css4
-rw-r--r--pages/pageelems.ecpp2
-rw-r--r--pages/recordings.ecpp4
-rw-r--r--pages/schedule.ecpp2
-rw-r--r--pages/searchresults.ecpp2
-rw-r--r--pages/timerconflicts.ecpp4
-rw-r--r--pages/timers.ecpp4
-rw-r--r--pages/whats_on.ecpp4
-rw-r--r--po/de_DE.po4
9 files changed, 17 insertions, 13 deletions
diff --git a/css/styles.css b/css/styles.css
index 7c36def..acf5ed0 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -109,6 +109,10 @@ a:active {
display: none;
}
+.nowrap {
+ white-space: nowrap;
+}
+
/* ######################
# Tooltip style for hints
######################
diff --git a/pages/pageelems.ecpp b/pages/pageelems.ecpp
index 90cbaa7..4ced607 100644
--- a/pages/pageelems.ecpp
+++ b/pages/pageelems.ecpp
@@ -331,7 +331,7 @@ int update_status(1);
<& (tools_comp) id=(boxId) archived=(archived) detail=(1) title=(title) &>
</div>
<div class="epg_info">
- <div class="info"><%cpp> if (!archived.empty()) { </%cpp><span class="bold"><$ (archived + " ") $></span><%cpp> } </%cpp><$ (time) $></div>
+ <div class="info nowrap"><%cpp> if (!archived.empty()) { </%cpp><span class="bold"><$ (archived + " ") $></span><%cpp> } </%cpp><$ (time) $></div>
<%cpp>
if (elapsed >= 0) {
</%cpp>
diff --git a/pages/recordings.ecpp b/pages/recordings.ecpp
index ea18800..5789304 100644
--- a/pages/recordings.ecpp
+++ b/pages/recordings.ecpp
@@ -224,8 +224,8 @@ for (iter = recordingsTree->begin(path); iter != end; ++iter) {
<div class="recording_imgs"><%cpp> reply.out() << StringRepeat(level + 1, "<img src=\"img/transparent.png\" alt=\"\" width=\"16px\" height=\"16px\" />"); </%cpp><%cpp> if (!archived.empty()) { </%cpp><img src="<$ LiveSetup().GetThemedLink("img", "on_dvd.png") $>" alt="on_dvd" <& tooltip.hint text=(archived) &> /><%cpp> } else { </%cpp><img src="<$ LiveSetup().GetThemedLink("img", "movie.png") $>" alt="movie" /><%cpp> } </%cpp></div>
<div class="recording_spec">
<div class="recording_day" style="width: <$ dayLen $>"><$ day $></div>
- <div class="recording_date"><$ FormatDateTime(tr("%b %d %y"), startTime) $></div>
- <div class="recording_time"><$ FormatDateTime(tr("%I:%M %p"), startTime) $></div>
+ <div class="recording_date nowrap"><$ FormatDateTime(tr("%b %d %y"), startTime) $></div>
+ <div class="recording_time nowrap"><$ FormatDateTime(tr("%I:%M %p"), startTime) $></div>
<div class="recording_duration"><$ duration $></div>
<div class="recording_name"><a <& tooltip.hint text=(hint) &><& tooltip.display domId=(id) &>><$ name $><br /><%cpp>if ((name != shortDescr) && (!shortDescr.empty())) {</%cpp><span><$ shortDescr $></span><%cpp> } else { </%cpp><span>&nbsp;</span><%cpp> } </%cpp></a></div>
</div>
diff --git a/pages/schedule.ecpp b/pages/schedule.ecpp
index f8623da..544136b 100644
--- a/pages/schedule.ecpp
+++ b/pages/schedule.ecpp
@@ -129,7 +129,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<td class="action leftcol <? lastEventCurrentDay ? "bottomrow" ?>"><& pageelems.event_timer epgid=(epgid) &></td>
<td class="action <? lastEventCurrentDay ? "bottomrow" ?>"><%cpp>if (LiveFeatures<features::epgsearch>().Recent() ) { </%cpp><a href="searchresults.html?searchplain=<$ StringUrlEncode(title) $>"><img src="<$ LiveSetup().GetThemedLink("img", "search.png") $>" alt="" <& tooltip.hint text=(tr("Search for repeats.")) &>></img></a><%cpp> } else { </%cpp><img src="img/transparent.png" width="16" height="16"><%cpp> } </%cpp></td>
<td class="action <? lastEventCurrentDay ? "bottomrow" ?>"><& pageelems.imdb_info_href title=(title) &></td>
- <td class="topaligned <? lastEventCurrentDay ? "bottomrow" ?>"><div class="withmargin"><$ start $> - <$ end $></div></td>
+ <td class="topaligned <? lastEventCurrentDay ? "bottomrow" ?>"><div class="withmargin nowrap"><$ start $> - <$ end $></div></td>
<td class="<? (Event == PresentEvent) ? "current" ?> topaligned rightcol <? lastEventCurrentDay ? "bottomrow" ?>"><div class="more withmargin"><a <& tooltip.hint text=(StringEscapeAndBreak(StringWordTruncate(description, 300, truncated)) + "<br />" + tr("Click to view details.")) &><& tooltip.display domId=(epgEvent->Id()) &>><span class="title"><$ title $></span><br /><span class="short"><%cpp>if (short_description.empty()) { </%cpp>&nbsp;<%cpp> } </%cpp><$ short_description $></span></a></div></td>
</tr>
<%cpp>
diff --git a/pages/searchresults.ecpp b/pages/searchresults.ecpp
index 0cf1e2c..64ae350 100644
--- a/pages/searchresults.ecpp
+++ b/pages/searchresults.ecpp
@@ -97,7 +97,7 @@ bool logged_in(false);
<tr>
<td class="action leftcol <? bottom ? "bottomrow"?>"><& pageelems.event_timer epgid=(epgid) &></td>
<td class="topaligned <? bottom ? "bottomrow"?>"><div class="withmargin"><a href="schedule.html?channel=<$ channelnr $>"><$ channelname $></a></div></td>
- <td class="topaligned <? bottom ? "bottomrow"?>"><div class="withmargin"><$ start $> - <$ end $></div></td>
+ <td class="topaligned <? bottom ? "bottomrow"?>"><div class="withmargin nowrap"><$ start $> - <$ end $></div></td>
<td class="topaligned rightcol <? bottom ? "bottomrow"?>"><div class="more withmargin"><a <& tooltip.hint text=(StringEscapeAndBreak(StringWordTruncate(description, 300, truncated)) + "<br />" + tr("Click to view details.")) &><& tooltip.display domId=(epgid) &>><span class="title"><$ result->Title() $></span><br /><span class="short"><%cpp>if (result->ShortText().empty()) { </%cpp>&nbsp;<%cpp> } </%cpp><$ result->ShortText() $></span></a></div></td>
</tr>
% }
diff --git a/pages/timerconflicts.ecpp b/pages/timerconflicts.ecpp
index b9e3669..c7e18ea 100644
--- a/pages/timerconflicts.ecpp
+++ b/pages/timerconflicts.ecpp
@@ -102,8 +102,8 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<tr>
<td class="leftcol <? bottom ? "bottomrow" ?>"><img src="<$ LiveSetup().GetThemedLink("img", timerStateImg) $>" alt="" <%cpp> if (!timerStateHint.empty()) { </%cpp><& tooltip.hint text=(timerStateHint) &><%cpp> } </%cpp>></img></td>
<td class="<? bottom ? "bottomrow" ?>"><div class="withmargin"><a href="schedule.html?channel=<$ timer->Channel()->Number()$>"><$ timer->Channel()->Name() $></a></div></td>
- <td class="<? bottom ? "bottomrow" ?>"><div class="withmargin"><$ FormatDateTime(tr("%I:%M %p"), timer->StartTime()) $></div></td>
- <td class="<? bottom ? "bottomrow" ?>"><div class="withmargin"><$ FormatDateTime(tr("%I:%M %p"), timer->StopTime()) $></div></td>
+ <td class="<? bottom ? "bottomrow" ?>"><div class="withmargin nowrap"><$ FormatDateTime(tr("%I:%M %p"), timer->StartTime()) $></div></td>
+ <td class="<? bottom ? "bottomrow" ?>"><div class="withmargin nowrap"><$ FormatDateTime(tr("%I:%M %p"), timer->StopTime()) $></div></td>
<td class="<? bottom ? "bottomrow" ?>"><div class="withmargin"><$ timer->Priority() $></div></td>
<td class="<? bottom ? "bottomrow" ?>"><div class="withmargin"><a
% if (!longDescription.empty()) {
diff --git a/pages/timers.ecpp b/pages/timers.ecpp
index 15839a1..93d2e91 100644
--- a/pages/timers.ecpp
+++ b/pages/timers.ecpp
@@ -136,8 +136,8 @@ static const size_t maximumDescriptionLength = 300;
<td class="leftcol <? bottom ? "bottomrow" ?>"><img src="<$ LiveSetup().GetThemedLink("img", timerStateImg) $>" alt="" <%cpp> if (!timerStateHint.empty()) { </%cpp><& tooltip.hint text=(timerStateHint) &><%cpp> } </%cpp>></img></td>
<td class="<? bottom ? "bottomrow" ?>"><div class="withmargin"><a href="schedule.html?channel=<$ timer->Channel()->Number()$>"><$ timer->Channel()->Name() $></a></div></td>
- <td class="<? bottom ? "bottomrow" ?>"><div class="withmargin"><$ FormatDateTime(tr("%I:%M %p"), timer->StartTime()) $></div></td>
- <td class="<? bottom ? "bottomrow" ?>"><div class="withmargin"><$ FormatDateTime(tr("%I:%M %p"), timer->StopTime()) $></div></td>
+ <td class="<? bottom ? "bottomrow" ?>"><div class="withmargin nowrap"><$ FormatDateTime(tr("%I:%M %p"), timer->StartTime()) $></div></td>
+ <td class="<? bottom ? "bottomrow" ?>"><div class="withmargin nowrap"><$ FormatDateTime(tr("%I:%M %p"), timer->StopTime()) $></div></td>
<td class="<? bottom ? "bottomrow" ?>"><div class="withmargin"><a
% if (!longDescription.empty()) {
<& tooltip.hint text=(longDescription) &><& tooltip.display domId=(epgEvent->Id()) &>
diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp
index dc348be..042d08b 100644
--- a/pages/whats_on.ecpp
+++ b/pages/whats_on.ecpp
@@ -189,7 +189,7 @@ if (type == "now") {
<& pageelems.epg_tool_box detail=(1) epgid=(epgEvent->Id()) title=(epgEvent->Title()) startTime=(epgEvent->GetStartTime()) endTime=(epgEvent->GetEndTime()) &>
</div>
<div>
- <div class="info"><$ (timeSpan) $></div>
+ <div class="info nowrap"><$ (timeSpan) $></div>
<div class="progress"><div><& pageelems.progressbar progress=(epgEvent->Elapsed()) duration=(epgEvent->Duration()) &></div></div>
<div class="title withmargin"><$ (epgEvent->Title()) $></div>
<div class="short withmargin"><$ (epgEvent->ShortDescr()) $></div>
@@ -212,7 +212,7 @@ if (type == "now") {
<& pageelems.epg_tool_box detail=(0) epgid=(epgEvent->Id()) title=(epgEvent->Title()) startTime=(epgEvent->GetStartTime()) endTime=(epgEvent->GetEndTime()) lastCurrentChanel=(lastCurrentChanel ? 1 : 0) &>
<td class="topaligned <? lastCurrentChanel ? "bottomrow"?>">
<div class="withmargin">
- <div class="nomargin"><$ (timeSpan) $></div>
+ <div class="nomargin nowrap"><$ (timeSpan) $></div>
<div class="progress"><div><& pageelems.progressbar progress=(epgEvent->Elapsed()) duration=(epgEvent->Duration()) &></div></div>
</div>
</td>
diff --git a/po/de_DE.po b/po/de_DE.po
index 3c464be..712ff44 100644
--- a/po/de_DE.po
+++ b/po/de_DE.po
@@ -102,7 +102,7 @@ msgid "FTA"
msgstr "FTA"
msgid "%I:%M %p"
-msgstr "%H:%M Uhr"
+msgstr "%H:%M"
msgid "EPGSearch version outdated! Please update."
msgstr "EPGSearch-Version zu alt, bitte updaten!"
@@ -400,7 +400,7 @@ msgid "error retrieving status info!"
msgstr "Fehler: Status nicht verfügbar!"
msgid "%I:%M:%S %p"
-msgstr "%H:%M:%S Uhr"
+msgstr "%H:%M:%S"
msgid "Wrong username or password"
msgstr "Falscher Benutzername oder Passwort"