From a5f3edc89393f869bfc6cbcadff5b727562df88a Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Sat, 19 Jun 2010 02:03:19 +0200 Subject: Added translators hint and a german locale for the date/time formating of recordings provided by Dominic Evans. --- pages/recordings.ecpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'pages/recordings.ecpp') diff --git a/pages/recordings.ecpp b/pages/recordings.ecpp index 060c847..7b57c11 100644 --- a/pages/recordings.ecpp +++ b/pages/recordings.ecpp @@ -220,10 +220,15 @@ for (iter = recordingsTree->begin(path); iter != end; ++iter) { string shortDescr; string archived; +<%cpp> + // TRANSLATORS: strftime format string for recording start info: day, date, hour. + // xgettext:no-c-format + char const * recFormatStr( tr("%a %x %X") ); +
<%cpp> reply.out() << StringRepeat(level + 1, "\"\""); <%cpp> if (!archived.empty()) { " alt="on_dvd" <& tooltip.hint text=(archived) &> /><%cpp> } else { " alt="movie" /><%cpp> }
-
<$ FormatDateTime(tr("%a %x %X"), startTime) $>
+
<$ FormatDateTime(recFormatStr, startTime) $>
(<$ duration $>)
@@ -233,7 +238,7 @@ for (iter = recordingsTree->begin(path); iter != end; ++iter) { <& recordings.rec_tools id=(id) title=(name)&> <%cpp> - } + } else { -- cgit v1.2.3