Skip to content

Commit

Permalink
Translation context fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Riendeau committed Jul 9, 2013
1 parent 52af210 commit 1aae82a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mythplugins/mytharchive/mytharchive/logviewer.cpp
Expand Up @@ -6,6 +6,7 @@
#include <QKeyEvent>
#include <QFile>
#include <QTextStream>
#include <QCoreApplication>

// mythtv
#include <mythcontext.h>
Expand Down Expand Up @@ -73,7 +74,8 @@ void showLogViewer(void)
mainStack->AddScreen(viewer);
}
else
showWarningDialog(QObject::tr("Cannot find any logs to show!"));
showWarningDialog(QCoreApplication::translate("LogViewer",
"Cannot find any logs to show!"));
}

LogViewer::LogViewer(MythScreenStack *parent) :
Expand Down Expand Up @@ -211,8 +213,8 @@ void LogViewer::cancelClicked(void)
lockFile.write("Cancel\n\r");
lockFile.close();

ShowOkPopup(QObject::tr("Background creation has been asked to stop.\n"
"This may take a few minutes."));
ShowOkPopup(tr("Background creation has been asked to stop.\n"
"This may take a few minutes."));
}

void LogViewer::updateClicked(void)
Expand Down

0 comments on commit 1aae82a

Please sign in to comment.