</layout>
</item>
<item>
- <widget class="QLabel" name="label">
+ <widget class="QLabel" name="addressDescriptionLabel">
<property name="text">
- <string>This is the link to your Nextcloud web interface when you open it in the browser.<br/> It looks like https://cloud.example.com or https://example.com/cloud</string>
+ <string>This is the link to your %1 web interface when you open it in the browser.<br/>It looks like https://cloud.example.com or https://example.com/cloud</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</size>
</property>
<property name="text">
- <string>Log in to your Nextcloud</string>
+ <string>Log in to your %1</string>
</property>
<property name="autoDefault">
<bool>false</bool>
<header>wizard/slideshow.h</header>
</customwidget>
</customwidgets>
- <resources>
- <include location="../../../theme.qrc"/>
- </resources>
+ <resources/>
<connections/>
</ui>
_ui.slideShow->hide();
#endif
+ const auto appName = Theme::instance()->appNameGUI();
+ _ui.loginButton->setText(tr("Log in to your %1").arg(appName));
+ _ui.addressDescriptionLabel->setText(tr("This is the link to your %1 web interface when you open it in the browser.<br/>"
+ "It looks like https://cloud.example.com or https://example.com/cloud").arg(appName));
+
customizeStyle();
}