mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Ensure we use the app name in the GUI
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
parent
7efaa2ed68
commit
ca57221b74
2 changed files with 9 additions and 6 deletions
|
@ -240,9 +240,9 @@
|
|||
</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>
|
||||
|
@ -378,7 +378,7 @@
|
|||
</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>
|
||||
|
@ -488,8 +488,6 @@
|
|||
<header>wizard/slideshow.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="../../../theme.qrc"/>
|
||||
</resources>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
|
|
@ -91,6 +91,11 @@ OwncloudSetupPage::OwncloudSetupPage(QWidget *parent)
|
|||
_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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue