Permalink
Browse files

MythArchive translation context changes

  • Loading branch information...
nriendeau committed Jul 14, 2013
1 parent 70bdd37 commit 5ff82e4e2df1cf0fa9842da06c1b2962c79755ba
Showing with 7 additions and 4 deletions.
  1. +7 −4 mythplugins/mytharchive/mytharchive/main.cpp
@@ -90,8 +90,9 @@ static bool checkLockFile(const QString &lockFile)
// Is the process that created the lock still alive?
if (!checkProcess(lockFile))
{
showWarningDialog(QObject::tr("Found a lock file but the owning process isn't running!\n"
"Removing stale lock file."));
showWarningDialog(qApp->translate("(MythArchiveMain)",
"Found a lock file but the owning process isn't running!\n"
"Removing stale lock file."));
if (!file.remove())
LOG(VB_GENERAL, LOG_ERR,
QString("Failed to remove stale lock file - %1")
@@ -208,13 +209,15 @@ static void runTestDVD(void)
{
if (!gCoreContext->GetSetting("MythArchiveLastRunType").startsWith("DVD"))
{
showWarningDialog(QObject::tr("Last run did not create a playable DVD."));
showWarningDialog(qApp->translate("(MythArchiveMain)",
"Last run did not create a playable DVD."));
return;
}
if (!gCoreContext->GetSetting("MythArchiveLastRunStatus").startsWith("Success"))
{
showWarningDialog(QObject::tr("Last run failed to create a DVD."));
showWarningDialog(qApp->translate("(MythArchiveMain)",
"Last run failed to create a DVD."));
return;
}

0 comments on commit 5ff82e4

Please sign in to comment.