mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
[libcalamaresui] Improve warning when branding has no translation
This commit is contained in:
parent
c1bb5e708b
commit
f8bc195fb4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue