[netinstall] Use tr() infrastructure for config-translations

This commit is contained in:
Adriaan de Groot 2020-02-19 14:09:04 +01:00
parent 0ef28f6a50
commit a03394f177

View File

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