selectedButton = 0;
buttonBack.setPosition(30,350);
buttonDelete.setPosition(400,350);
- buttonBack.setText("Back");
+ buttonBack.setText(tr("Back"));
buttonBack.setActive(1);
- buttonDelete.setText("Delete");
+ buttonDelete.setText(tr("Delete"));
add(&buttonBack);
add(&buttonDelete);
ypos = 50;
// Active
- if (recTimer->active) strcpy(buffer, "Yes");
- else strcpy(buffer, "No");
+ if (recTimer->active) strcpy(buffer, tr("Yes"));
+ else strcpy(buffer, tr("No"));
drawText(buffer, xpos, ypos, DrawStyle::LIGHTTEXT); ypos += fontheight;
// Channel
ypos += fontheight;
// Current
- if (recTimer->pending) strcpy(buffer, "Yes");
- else strcpy(buffer, "No");
+ if (recTimer->pending) strcpy(buffer, tr("Yes"));
+ else strcpy(buffer, tr("No"));
drawText(buffer, xpos, ypos, DrawStyle::LIGHTTEXT); ypos += fontheight;
// Recording now
v->setTitleBarColour(DrawStyle::DANGER);
v->setTitleBarOn(1);
v->setBorderOn(1);
- v->setTitleText("Delete timer");
- v->setMainText("Are you sure you want to delete this timer?");
+ v->setTitleText(tr("Delete timer"));
+ v->setMainText(tr("Are you sure you want to delete this timer?"));
v->setDefault(VQuestion::NO);
if (Video::getInstance()->getFormat() == Video::PAL)
v->setPosition(230, 160);