From 280dd205d9d24eb67ea584eccbc1062a515c073d Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Fri, 11 Jan 2013 17:10:31 +0100 Subject: [PATCH] setup wizard: Improve wording and context --- src/mirall/owncloudwizard.cpp | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/mirall/owncloudwizard.cpp b/src/mirall/owncloudwizard.cpp index c35531fa20..c1d4b7be79 100644 --- a/src/mirall/owncloudwizard.cpp +++ b/src/mirall/owncloudwizard.cpp @@ -65,10 +65,17 @@ OwncloudWelcomePage::OwncloudWelcomePage() content->setAlignment(Qt::AlignTop); content->setTextFormat(Qt::RichText); content->setWordWrap(true); - content->setText(tr("

In order to connect to your %1 server, you need to provide the server address " - "as well as your credentials.

This wizard will guide you through the process.

" - "

If you have not received this information, please contact your %1 hosting provider.

") - .arg(Theme::instance()->appName())); + Theme *theme = Theme::instance(); + if (theme->overrideServerUrl().isEmpty()) { + content->setText(tr("

In order to connect to your %1 server, you need to provide the server address " + "as well as your credentials.

This wizard will guide you through the process.

" + "

If you have not received this information, please contact your %1 provider.

") + .arg(theme->appName())); + } else { + content->setText(tr("

In order to connect to your %1 server, you need to provide " + "your credentials.

This wizard will guide you through " + "the setup process.

").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)));