Skip to content

Commit

Permalink
MythArchive translation context change
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Riendeau committed Jul 16, 2013
1 parent 66b31c6 commit 2bb7a90
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mythplugins/mytharchive/mytharchive/archiveutil.cpp
Expand Up @@ -13,6 +13,7 @@ using namespace std;
// qt
#include <QDomDocument>
#include <QDir>
#include <QCoreApplication>

// myth
#include <mythcontext.h>
Expand Down Expand Up @@ -76,9 +77,10 @@ QString getTempDirectory(bool showError)
QString tempDir = gCoreContext->GetSetting("MythArchiveTempDir", "");

if (tempDir == "" && showError)
ShowOkPopup(QObject::tr("Cannot find the MythArchive work directory.\n"
"Have you set the correct path in the settings?"),
NULL, NULL);
ShowOkPopup(QCoreApplication::translate("(ArchiveUtils)",
"Cannot find the MythArchive work directory.\n"
"Have you set the correct path in the settings?"),
NULL, NULL);

if (tempDir == "")
return "";
Expand Down

0 comments on commit 2bb7a90

Please sign in to comment.