Skip to content

Commit

Permalink
Make translatable MythTranscode strings which should have been
Browse files Browse the repository at this point in the history
translatable.

Closes #10972

PS: The other problems are local.
  • Loading branch information
Nicolas Riendeau committed Aug 7, 2012
1 parent 739d456 commit 7b81b2a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mythtv/programs/mythtranscode/main.cpp
Expand Up @@ -826,7 +826,7 @@ static void CompleteJob(int jobID, ProgramInfo *pginfo, bool useCutlist,
if (!pginfo)
{
JobQueue::ChangeJobStatus(jobID, JOB_ERRORED,
"Job errored, unable to find Program Info for job");
QObject::tr("Job errored, unable to find Program Info for job"));
return;
}

Expand Down Expand Up @@ -1055,12 +1055,13 @@ static void CompleteJob(int jobID, ProgramInfo *pginfo, bool useCutlist,
unlink(fname_map.constData());

if (status == JOB_ABORTING) // Stop command was sent
JobQueue::ChangeJobStatus(jobID, JOB_ABORTED, "Job Aborted");
JobQueue::ChangeJobStatus(jobID, JOB_ABORTED,
QObject::tr("Job Aborted"));
else if (status != JOB_ERRORING) // Recoverable error
resultCode = GENERIC_EXIT_RESTART;
else // Unrecoverable error
JobQueue::ChangeJobStatus(jobID, JOB_ERRORED,
"Unrecoverable error");
QObject::tr("Unrecoverable error"));
}
}
/* vim: set expandtab tabstop=4 shiftwidth=4: */

0 comments on commit 7b81b2a

Please sign in to comment.