mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Display errors in search recordings
This commit is contained in:
parent
6af3193b02
commit
936db4a087
11
po/ca_ES.po
11
po/ca_ES.po
@ -3,7 +3,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-tvguide 0.0.1\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2020-08-04 14:15+0200\n"
|
||||
"POT-Creation-Date: 2021-12-15 15:05+0100\n"
|
||||
"PO-Revision-Date: 2013-09-21 17:49+0200\n"
|
||||
"Last-Translator: My friend <Sampep> Thanks David <Gabychan> <gbonich@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
@ -75,6 +75,15 @@ msgstr "tots els canals"
|
||||
msgid "unknown channel"
|
||||
msgstr "canal desconegut"
|
||||
|
||||
msgid "with"
|
||||
msgstr ""
|
||||
|
||||
msgid "errors"
|
||||
msgstr ""
|
||||
|
||||
msgid "error"
|
||||
msgstr ""
|
||||
|
||||
msgid "Duration"
|
||||
msgstr "Durada"
|
||||
|
||||
|
11
po/de_DE.po
11
po/de_DE.po
@ -3,7 +3,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-tvguide 0.0.1\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2020-08-04 14:15+0200\n"
|
||||
"POT-Creation-Date: 2021-12-15 15:05+0100\n"
|
||||
"PO-Revision-Date: 2012-08-25 17:49+0200\n"
|
||||
"Last-Translator: Horst\n"
|
||||
"Language-Team: \n"
|
||||
@ -72,6 +72,15 @@ msgstr "alle Kanäle"
|
||||
msgid "unknown channel"
|
||||
msgstr "unbekannter Kanal"
|
||||
|
||||
msgid "with"
|
||||
msgstr "mit"
|
||||
|
||||
msgid "errors"
|
||||
msgstr "Fehler"
|
||||
|
||||
msgid "error"
|
||||
msgstr "Fehler"
|
||||
|
||||
msgid "Duration"
|
||||
msgstr "Dauer"
|
||||
|
||||
|
11
po/it_IT.po
11
po/it_IT.po
@ -3,7 +3,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-tvguide 0.0.1\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2020-08-04 14:15+0200\n"
|
||||
"POT-Creation-Date: 2021-12-15 15:05+0100\n"
|
||||
"PO-Revision-Date: 2012-08-25 17:49+0200\n"
|
||||
"Last-Translator: fiveten_59\n"
|
||||
"Language-Team: \n"
|
||||
@ -72,6 +72,15 @@ msgstr "Tutti i Canali"
|
||||
msgid "unknown channel"
|
||||
msgstr "Canale sconosciuto"
|
||||
|
||||
msgid "with"
|
||||
msgstr ""
|
||||
|
||||
msgid "errors"
|
||||
msgstr ""
|
||||
|
||||
msgid "error"
|
||||
msgstr ""
|
||||
|
||||
msgid "Duration"
|
||||
msgstr "Durata"
|
||||
|
||||
|
11
po/ru_RU.po
11
po/ru_RU.po
@ -3,7 +3,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-tvguide 1.0.0\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2020-08-04 14:15+0200\n"
|
||||
"POT-Creation-Date: 2021-12-15 15:05+0100\n"
|
||||
"PO-Revision-Date: 2013-09-25 17:49+0400\n"
|
||||
"Last-Translator: AmiD, ilya\n"
|
||||
"Language-Team: Russia-Cherepovets(wm.amid@gmail.com)\n"
|
||||
@ -72,6 +72,15 @@ msgstr "все каналы"
|
||||
msgid "unknown channel"
|
||||
msgstr "неизвестный канал"
|
||||
|
||||
msgid "with"
|
||||
msgstr ""
|
||||
|
||||
msgid "errors"
|
||||
msgstr ""
|
||||
|
||||
msgid "error"
|
||||
msgstr ""
|
||||
|
||||
msgid "Duration"
|
||||
msgstr "Продолжительность"
|
||||
|
||||
|
11
po/sk_SK.po
11
po/sk_SK.po
@ -3,7 +3,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-tvguide 1.1.0\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2020-08-04 14:15+0200\n"
|
||||
"POT-Creation-Date: 2021-12-15 15:05+0100\n"
|
||||
"PO-Revision-Date: 2013-09-15 00:12+0100\n"
|
||||
"Last-Translator: Milan Hrala <hrala.milan@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
@ -72,6 +72,15 @@ msgstr "v
|
||||
msgid "unknown channel"
|
||||
msgstr "neznámy Kanal"
|
||||
|
||||
msgid "with"
|
||||
msgstr ""
|
||||
|
||||
msgid "errors"
|
||||
msgstr ""
|
||||
|
||||
msgid "error"
|
||||
msgstr ""
|
||||
|
||||
msgid "Duration"
|
||||
msgstr "Då¾ka"
|
||||
|
||||
|
@ -2298,10 +2298,18 @@ void cRecMenuItemRecording::Draw(void) {
|
||||
}
|
||||
cString name = recording->Name();
|
||||
cString dateTime = cString::sprintf("%s, %s", *DateString(recording->Start()), *TimeString(recording->Start()));
|
||||
|
||||
|
||||
int recDuration = recording->LengthInSeconds() / 60;
|
||||
|
||||
cString recDetails = cString::sprintf("%s: %d %s, %s %s %s \"%s\"", tr("Duration"), recDuration, tr("min"), tr("recorded at"), *dateTime, tr("from"), *channelName);
|
||||
|
||||
cString recDetails = "";
|
||||
#if (APIVERSNUM >= 20505)
|
||||
cString error = "";
|
||||
if (recInfo->Errors() >= 0) {
|
||||
error = cString::sprintf("%s %d %s ", tr("with"), recInfo->Errors(), (recInfo->Errors() >= 2) ? tr("errors") : tr("error"));
|
||||
recDetails = cString::sprintf("%s: %d %s, %s %s %s \"%s\" %s", tr("Duration"), recDuration, tr("min"), tr("recorded at"), *dateTime, tr("from"), *channelName, *error);
|
||||
} else
|
||||
#endif
|
||||
recDetails = cString::sprintf("%s: %d %s, %s %s %s \"%s\"", tr("Duration"), recDuration, tr("min"), tr("recorded at"), *dateTime, tr("from"), *channelName);
|
||||
recDetails = CutText(*recDetails, width - 40, fontSmall).c_str();
|
||||
int text1Y = (height/2 - font->Height()) / 2 + 5;
|
||||
int text2Y = height/2 + (height/2 - fontSmall->Height())/2 - 5;
|
||||
|
Loading…
Reference in New Issue
Block a user