mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
setup wizard: Improve wording and context
This commit is contained in:
parent
2a722644b2
commit
280dd205d9
@ -65,10 +65,17 @@ OwncloudWelcomePage::OwncloudWelcomePage()
|
||||
content->setAlignment(Qt::AlignTop);
|
||||
content->setTextFormat(Qt::RichText);
|
||||
content->setWordWrap(true);
|
||||
content->setText(tr("<p>In order to connect to your %1 server, you need to provide the server address "
|
||||
"as well as your credentials.</p><p>This wizard will guide you through the process.<p>"
|
||||
"<p>If you have not received this information, please contact your %1 hosting provider.</p>")
|
||||
.arg(Theme::instance()->appName()));
|
||||
Theme *theme = Theme::instance();
|
||||
if (theme->overrideServerUrl().isEmpty()) {
|
||||
content->setText(tr("<p>In order to connect to your %1 server, you need to provide the server address "
|
||||
"as well as your credentials.</p><p>This wizard will guide you through the process.<p>"
|
||||
"<p>If you have not received this information, please contact your %1 provider.</p>")
|
||||
.arg(theme->appName()));
|
||||
} else {
|
||||
content->setText(tr("<p>In order to connect to your %1 server, you need to provide "
|
||||
"your credentials.</p><p>This wizard will guide you through "
|
||||
"the setup process.</p>").arg(theme->appName()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -76,7 +83,7 @@ OwncloudSetupPage::OwncloudSetupPage()
|
||||
{
|
||||
_ui.setupUi(this);
|
||||
|
||||
setTitle(tr("Create the %1 Connection").arg(Theme::instance()->appName()));
|
||||
setTitle(tr("Create Connection to %1").arg(Theme::instance()->appName()));
|
||||
|
||||
connect(_ui.leUrl, SIGNAL(textChanged(QString)), SLOT(handleNewOcUrl(QString)));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user