[libcalamaresui] Improve warning when branding has no translation
This commit is contained in:
parent
c1bb5e708b
commit
f8bc195fb4
@ -184,7 +184,7 @@ Branding::Branding( const QString& brandingFilePath,
|
|||||||
|
|
||||||
QDir translationsDir( componentDir.filePath( "lang" ) );
|
QDir translationsDir( componentDir.filePath( "lang" ) );
|
||||||
if ( !translationsDir.exists() )
|
if ( !translationsDir.exists() )
|
||||||
cWarning() << "the selected branding component does not ship translations.";
|
cWarning() << "the branding component" << componentDir.absolutePath() << "does not ship translations.";
|
||||||
m_translationsPathPrefix = translationsDir.absolutePath();
|
m_translationsPathPrefix = translationsDir.absolutePath();
|
||||||
m_translationsPathPrefix.append( QString( "%1calamares-%2" )
|
m_translationsPathPrefix.append( QString( "%1calamares-%2" )
|
||||||
.arg( QDir::separator() )
|
.arg( QDir::separator() )
|
||||||
|
Loading…
Reference in New Issue
Block a user