[libcalamaresui] Improve warning when branding has no translation

This commit is contained in:
Adriaan de Groot 2018-03-08 08:14:04 -05:00
parent c1bb5e708b
commit f8bc195fb4

View File

@ -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() )