mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Fixed a timer changed message
This commit is contained in:
parent
263a734a0d
commit
bcf2ce757c
@ -3,7 +3,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: vdr-tvguide 0.0.1\n"
|
"Project-Id-Version: vdr-tvguide 0.0.1\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2019-11-03 12:37+0100\n"
|
"POT-Creation-Date: 2020-01-06 14:31+0100\n"
|
||||||
"PO-Revision-Date: 2013-09-21 17:49+0200\n"
|
"PO-Revision-Date: 2013-09-21 17:49+0200\n"
|
||||||
"Last-Translator: My friend <Sampep> Thanks David <Gabychan> <gbonich@gmail.com>\n"
|
"Last-Translator: My friend <Sampep> Thanks David <Gabychan> <gbonich@gmail.com>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@ -138,6 +138,9 @@ msgstr "Cerca a les gravacions"
|
|||||||
msgid "Set Folder for"
|
msgid "Set Folder for"
|
||||||
msgstr "Programa carpeta per"
|
msgstr "Programa carpeta per"
|
||||||
|
|
||||||
|
msgid "Timer changed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Timer created"
|
msgid "Timer created"
|
||||||
msgstr "Temporitzador creat"
|
msgstr "Temporitzador creat"
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: vdr-tvguide 0.0.1\n"
|
"Project-Id-Version: vdr-tvguide 0.0.1\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2019-11-03 12:37+0100\n"
|
"POT-Creation-Date: 2020-01-06 14:31+0100\n"
|
||||||
"PO-Revision-Date: 2012-08-25 17:49+0200\n"
|
"PO-Revision-Date: 2012-08-25 17:49+0200\n"
|
||||||
"Last-Translator: Horst\n"
|
"Last-Translator: Horst\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@ -135,6 +135,9 @@ msgstr "In Aufnahmen suchen"
|
|||||||
msgid "Set Folder for"
|
msgid "Set Folder for"
|
||||||
msgstr "Verzeichnis festlegen für"
|
msgstr "Verzeichnis festlegen für"
|
||||||
|
|
||||||
|
msgid "Timer changed"
|
||||||
|
msgstr "Timer geändert"
|
||||||
|
|
||||||
msgid "Timer created"
|
msgid "Timer created"
|
||||||
msgstr "Timer angelegt"
|
msgstr "Timer angelegt"
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: vdr-tvguide 0.0.1\n"
|
"Project-Id-Version: vdr-tvguide 0.0.1\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2019-11-03 12:37+0100\n"
|
"POT-Creation-Date: 2020-01-06 14:31+0100\n"
|
||||||
"PO-Revision-Date: 2012-08-25 17:49+0200\n"
|
"PO-Revision-Date: 2012-08-25 17:49+0200\n"
|
||||||
"Last-Translator: fiveten_59\n"
|
"Last-Translator: fiveten_59\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@ -135,6 +135,9 @@ msgstr "Cerca nelle registrazioni"
|
|||||||
msgid "Set Folder for"
|
msgid "Set Folder for"
|
||||||
msgstr "Crea cartella per"
|
msgstr "Crea cartella per"
|
||||||
|
|
||||||
|
msgid "Timer changed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Timer created"
|
msgid "Timer created"
|
||||||
msgstr "Timer creato"
|
msgstr "Timer creato"
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: vdr-tvguide 1.0.0\n"
|
"Project-Id-Version: vdr-tvguide 1.0.0\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2019-11-03 12:37+0100\n"
|
"POT-Creation-Date: 2020-01-06 14:31+0100\n"
|
||||||
"PO-Revision-Date: 2013-09-25 17:49+0400\n"
|
"PO-Revision-Date: 2013-09-25 17:49+0400\n"
|
||||||
"Last-Translator: AmiD, ilya\n"
|
"Last-Translator: AmiD, ilya\n"
|
||||||
"Language-Team: Russia-Cherepovets(wm.amid@gmail.com)\n"
|
"Language-Team: Russia-Cherepovets(wm.amid@gmail.com)\n"
|
||||||
@ -135,6 +135,9 @@ msgstr "Искать в записях"
|
|||||||
msgid "Set Folder for"
|
msgid "Set Folder for"
|
||||||
msgstr "Укажите каталог для"
|
msgstr "Укажите каталог для"
|
||||||
|
|
||||||
|
msgid "Timer changed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Timer created"
|
msgid "Timer created"
|
||||||
msgstr "Таймер создан"
|
msgstr "Таймер создан"
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: vdr-tvguide 1.1.0\n"
|
"Project-Id-Version: vdr-tvguide 1.1.0\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2019-11-03 12:37+0100\n"
|
"POT-Creation-Date: 2020-01-06 14:31+0100\n"
|
||||||
"PO-Revision-Date: 2013-09-15 00:12+0100\n"
|
"PO-Revision-Date: 2013-09-15 00:12+0100\n"
|
||||||
"Last-Translator: Milan Hrala <hrala.milan@gmail.com>\n"
|
"Last-Translator: Milan Hrala <hrala.milan@gmail.com>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@ -135,6 +135,9 @@ msgstr "Vyh
|
|||||||
msgid "Set Folder for"
|
msgid "Set Folder for"
|
||||||
msgstr "Nastavi» adresár pre"
|
msgstr "Nastavi» adresár pre"
|
||||||
|
|
||||||
|
msgid "Timer changed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Timer created"
|
msgid "Timer created"
|
||||||
msgstr "Plán vytvorený"
|
msgstr "Plán vytvorený"
|
||||||
|
|
||||||
|
11
recmenus.c
11
recmenus.c
@ -103,7 +103,7 @@ std::string cRecMenuAskFolder::GetFolder(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// --- cRecMenuConfirmTimer ---------------------------------------------------------
|
// --- cRecMenuConfirmTimer ---------------------------------------------------------
|
||||||
cRecMenuConfirmTimer::cRecMenuConfirmTimer(const cEvent *event) {
|
cRecMenuConfirmTimer::cRecMenuConfirmTimer(const cEvent *event, bool timerChanged) {
|
||||||
SetWidthPercent(50);
|
SetWidthPercent(50);
|
||||||
#if VDRVERSNUM >= 20301
|
#if VDRVERSNUM >= 20301
|
||||||
LOCK_CHANNELS_READ;
|
LOCK_CHANNELS_READ;
|
||||||
@ -111,7 +111,6 @@ cRecMenuConfirmTimer::cRecMenuConfirmTimer(const cEvent *event) {
|
|||||||
#else
|
#else
|
||||||
const cString channelName = Channels.GetByChannelID(event->ChannelID())->Name();
|
const cString channelName = Channels.GetByChannelID(event->ChannelID())->Name();
|
||||||
#endif
|
#endif
|
||||||
cString message;
|
|
||||||
bool eventHasTimer = false;
|
bool eventHasTimer = false;
|
||||||
if (config.useRemoteTimers && pRemoteTimers) {
|
if (config.useRemoteTimers && pRemoteTimers) {
|
||||||
RemoteTimers_GetMatch_v1_0 rtMatch;
|
RemoteTimers_GetMatch_v1_0 rtMatch;
|
||||||
@ -123,11 +122,9 @@ cRecMenuConfirmTimer::cRecMenuConfirmTimer(const cEvent *event) {
|
|||||||
} else {
|
} else {
|
||||||
eventHasTimer = event->HasTimer();
|
eventHasTimer = event->HasTimer();
|
||||||
}
|
}
|
||||||
if (eventHasTimer) {
|
const cString message = (eventHasTimer) ? (timerChanged) ? tr("Timer changed")
|
||||||
message = tr("Timer created");
|
: tr("Timer created")
|
||||||
} else {
|
: tr("Timer NOT created");
|
||||||
message = tr("Timer NOT created");
|
|
||||||
}
|
|
||||||
cString text = cString::sprintf("%s\n%s\n%s %s - %s\n%s",
|
cString text = cString::sprintf("%s\n%s\n%s %s - %s\n%s",
|
||||||
*message,
|
*message,
|
||||||
*channelName,
|
*channelName,
|
||||||
|
@ -47,7 +47,7 @@ public:
|
|||||||
// --- cRecMenuConfirmTimer ---------------------------------------------------------
|
// --- cRecMenuConfirmTimer ---------------------------------------------------------
|
||||||
class cRecMenuConfirmTimer: public cRecMenu {
|
class cRecMenuConfirmTimer: public cRecMenu {
|
||||||
public:
|
public:
|
||||||
cRecMenuConfirmTimer(const cEvent *event);
|
cRecMenuConfirmTimer(const cEvent *event, bool timerChanged = false);
|
||||||
virtual ~cRecMenuConfirmTimer(void) {};
|
virtual ~cRecMenuConfirmTimer(void) {};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -290,7 +290,7 @@ eOSState cRecMenuView::StateMachine(eRecMenuState nextState) {
|
|||||||
recManager->SaveTimer(originalTimer, timerModified);
|
recManager->SaveTimer(originalTimer, timerModified);
|
||||||
delete activeMenu;
|
delete activeMenu;
|
||||||
if (!DisplayTimerConflict(originalTimer)) {
|
if (!DisplayTimerConflict(originalTimer)) {
|
||||||
activeMenu = new cRecMenuConfirmTimer(event);
|
activeMenu = new cRecMenuConfirmTimer(originalTimer->Event(), true);
|
||||||
activeMenu->Display();
|
activeMenu->Display();
|
||||||
}
|
}
|
||||||
break; }
|
break; }
|
||||||
|
Loading…
Reference in New Issue
Block a user