mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
i18n: fix broken translation in CommandList
This commit is contained in:
parent
f954496acf
commit
c71385e93f
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue