i18n: fix broken translation in CommandList
This commit is contained in:
parent
f954496acf
commit
c71385e93f
@ -25,6 +25,7 @@
|
|||||||
#include "utils/CalamaresUtilsSystem.h"
|
#include "utils/CalamaresUtilsSystem.h"
|
||||||
#include "utils/Logger.h"
|
#include "utils/Logger.h"
|
||||||
|
|
||||||
|
#include <QCoreApplication>
|
||||||
#include <QVariantList>
|
#include <QVariantList>
|
||||||
|
|
||||||
namespace CalamaresUtils
|
namespace CalamaresUtils
|
||||||
@ -109,8 +110,8 @@ Calamares::JobResult CommandList::run( const QObject* parent )
|
|||||||
if ( !gs || !gs->contains( "rootMountPoint" ) )
|
if ( !gs || !gs->contains( "rootMountPoint" ) )
|
||||||
{
|
{
|
||||||
cDebug() << "ERROR: No rootMountPoint defined.";
|
cDebug() << "ERROR: No rootMountPoint defined.";
|
||||||
return Calamares::JobResult::error( parent->tr( "Could not run command." ),
|
return Calamares::JobResult::error( QCoreApplication::translate( "CommandList", "Could not run command." ),
|
||||||
parent->tr( "No rootMountPoint is defined, so command cannot be run in the target environment." ) );
|
QCoreApplication::translate( "CommandList", "No rootMountPoint is defined, so command cannot be run in the target environment." ) );
|
||||||
}
|
}
|
||||||
root = gs->value( "rootMountPoint" ).toString();
|
root = gs->value( "rootMountPoint" ).toString();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user