mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Refactor cRecMenuSearchTimer
This commit is contained in:
parent
cf9250e50b
commit
30fc49af0c
@ -282,8 +282,8 @@ msgstr "Inici"
|
||||
msgid "Stop"
|
||||
msgstr "Final"
|
||||
|
||||
msgid "Configure Search Timer based on"
|
||||
msgstr "Configura cerca de temporitzadors segons"
|
||||
msgid "Configure Search Timer based on:"
|
||||
msgstr "Configura cerca de temporitzadors segons:"
|
||||
|
||||
msgid "Search Expression:"
|
||||
msgstr "Cerca expressió:"
|
||||
|
@ -279,8 +279,8 @@ msgstr "Start"
|
||||
msgid "Stop"
|
||||
msgstr "Stop"
|
||||
|
||||
msgid "Configure Search Timer based on"
|
||||
msgstr "Suchtimer konfigurieren basierend auf"
|
||||
msgid "Configure Search Timer based on:"
|
||||
msgstr "Suchtimer konfigurieren basierend auf:"
|
||||
|
||||
msgid "Search Expression:"
|
||||
msgstr "Suchausdruck:"
|
||||
|
@ -279,8 +279,8 @@ msgstr "Avvio"
|
||||
msgid "Stop"
|
||||
msgstr "Ferma"
|
||||
|
||||
msgid "Configure Search Timer based on"
|
||||
msgstr "Configura il Search Timer in serie basato su"
|
||||
msgid "Configure Search Timer based on:"
|
||||
msgstr "Configura il Search Timer in serie basato su:"
|
||||
|
||||
msgid "Search Expression:"
|
||||
msgstr "Cerca espressione:"
|
||||
|
@ -279,8 +279,8 @@ msgstr "Старт"
|
||||
msgid "Stop"
|
||||
msgstr "Стоп"
|
||||
|
||||
msgid "Configure Search Timer based on"
|
||||
msgstr "Настроить поисковый таймер"
|
||||
msgid "Configure Search Timer based on:"
|
||||
msgstr "Настроить поисковый таймер:"
|
||||
|
||||
msgid "Search Expression:"
|
||||
msgstr "Искать выражение:"
|
||||
|
@ -279,8 +279,8 @@ msgstr "
|
||||
msgid "Stop"
|
||||
msgstr "Stop"
|
||||
|
||||
msgid "Configure Search Timer based on"
|
||||
msgstr "Vyhľadávanie plánu nastaviť na základe"
|
||||
msgid "Configure Search Timer based on:"
|
||||
msgstr "Vyhľadávanie plánu nastaviť na základe:"
|
||||
|
||||
msgid "Search Expression:"
|
||||
msgstr "Hµadaný výraz:"
|
||||
|
16
recmenus.c
16
recmenus.c
@ -599,16 +599,18 @@ cRecMenuConfirmSeriesTimer::cRecMenuConfirmSeriesTimer(cTimer *seriesTimer) { //
|
||||
******************************************************************************************/
|
||||
|
||||
// --- cRecMenuSearchTimer ---------------------------------------------------------
|
||||
cRecMenuSearchTimer::cRecMenuSearchTimer(const cEvent *event) {
|
||||
cRecMenuSearchTimer::cRecMenuSearchTimer(const cEvent *event) { // OK
|
||||
SetWidthPercent(70);
|
||||
cString message = tr("Configure Search Timer based on");
|
||||
cString infoText = cString::sprintf("%s:\n\"%s\"", *message, event->Title());
|
||||
cRecMenuItemInfo *infoItem = new cRecMenuItemInfo(*infoText, true);
|
||||
infoItem->CalculateHeight(width - 2 * border);
|
||||
SetHeader(infoItem);
|
||||
|
||||
const cString line1 = tr("Configure Search Timer based on:");
|
||||
const cString line2 = cString::sprintf("\"%s\"", event->Title());
|
||||
|
||||
AddHeader(new cRecMenuItemInfo(*line1, 2, *line2, "", "", width - 2 * border, true));
|
||||
AddFooter(new cRecMenuItemButtonYesNo(tr("Continue"), tr("Cancel"), rmsSearchTimerOptions, rmsClose, true));
|
||||
|
||||
strncpy(searchString, event->Title(), TEXTINPUTLENGTH);
|
||||
AddMenuItemInitial(new cRecMenuItemText(tr("Search Expression:"), TEXTINPUTLENGTH, false, searchString));
|
||||
AddMenuItemInitial(new cRecMenuItemButtonYesNo(tr("Continue"), tr("Cancel"), rmsSearchTimerOptions, rmsClose, true));
|
||||
|
||||
CalculateHeight();
|
||||
CreatePixmap();
|
||||
Arrange();
|
||||
|
Loading…
Reference in New Issue
Block a user