Skip to content

Commit

Permalink
Translation context changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Riendeau committed Aug 9, 2013
1 parent 2f6fa49 commit 3a7ebe3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mythtv/programs/mythfrontend/exitprompt.cpp
Expand Up @@ -202,13 +202,13 @@ void ExitPrompter::handleExit()
quit();
}

dlg->AddButton(tr("No"));
dlg->AddButton(QCoreApplication::translate("(Common)", "No"));
if (allowExit)
dlg->AddButton(QObject::tr("Yes, Exit now"), SLOT(quit()));
dlg->AddButton(tr("Yes, Exit now"), SLOT(quit()));
if (allowReboot)
dlg->AddButton(QObject::tr("Yes, Exit and Reboot"), SLOT(reboot()));
dlg->AddButton(tr("Yes, Exit and Reboot"), SLOT(reboot()));
if (allowShutdown)
dlg->AddButton(QObject::tr("Yes, Exit and Shutdown"), SLOT(halt()));
dlg->AddButton(tr("Yes, Exit and Shutdown"), SLOT(halt()));

// This is a hack so that the button clicks target the correct slot:
dlg->SetReturnEvent(this, QString());
Expand Down

0 comments on commit 3a7ebe3

Please sign in to comment.