[netinstall] Use tr() infrastructure for config-translations
This commit is contained in:
parent
0ef28f6a50
commit
a03394f177
@ -199,10 +199,10 @@ NetInstallViewStep::setConfigurationMap( const QVariantMap& configurationMap )
|
|||||||
|
|
||||||
if ( label.contains( "sidebar" ) )
|
if ( label.contains( "sidebar" ) )
|
||||||
{
|
{
|
||||||
m_sidebarLabel = new CalamaresUtils::Locale::TranslatedString( label, "sidebar" );
|
m_sidebarLabel = new CalamaresUtils::Locale::TranslatedString( label, "sidebar", metaObject()->className() );
|
||||||
}
|
}
|
||||||
if ( label.contains( "title" ) )
|
if ( label.contains( "title" ) )
|
||||||
{
|
{
|
||||||
m_widget->setPageTitle( new CalamaresUtils::Locale::TranslatedString( label, "title" ) );
|
m_widget->setPageTitle( new CalamaresUtils::Locale::TranslatedString( label, "title", metaObject()->className() ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user