Commit f18f136d authored by tooomm's avatar tooomm
Browse files

text adjustments

- removed some info text since oracle imports all cards now and no longer offers sets selection
- added info about token
- `<br/>` --> `\n`
- capitalized `URL` --> http://www.oxforddictionaries.com/definition/english/URL
parent 311536d1
......@@ -171,11 +171,10 @@ void IntroPage::languageBoxChanged(int index)
void IntroPage::retranslateUi()
{
setTitle(tr("Introduction"));
label->setText(tr("This wizard will import the list of sets and cards "
"that will be used by Cockatrice.<br/>You will need to "
"specify an url or a filename that will be used as a "
"source, and then choose the wanted sets from the list "
"of the available ones."));
label->setText(tr("This wizard will import the list of sets, cards and tokens "
"that will be used by Cockatrice."
"\nYou will need to specify an URL or a filename that "
"will be used as a source."));
languageLabel->setText(tr("Language:"));
}
......@@ -226,12 +225,12 @@ void LoadSetsPage::retranslateUi()
{
setTitle(tr("Source selection"));
setSubTitle(tr("Please specify a source for the list of sets and cards. "
"You can specify an url address that will be download or "
"You can specify an URL address that will be download or "
"use an existing file from your computer."));
urlRadioButton->setText(tr("Download url:"));
urlRadioButton->setText(tr("Download URL:"));
fileRadioButton->setText(tr("Local file:"));
urlButton->setText(tr("Restore default url"));
urlButton->setText(tr("Restore default URL"));
fileButton->setText(tr("Choose file..."));
}
......@@ -272,7 +271,7 @@ bool LoadSetsPage::validatePage()
QUrl url = QUrl::fromUserInput(urlLineEdit->text());
if(!url.isValid())
{
QMessageBox::critical(this, tr("Error"), tr("The provided url is not valid."));
QMessageBox::critical(this, tr("Error"), tr("The provided URL is not valid."));
return false;
}
......@@ -482,7 +481,7 @@ void SaveSetsPage::retranslateUi()
{
setTitle(tr("Sets imported"));
setSubTitle(tr("The following sets has been imported. "
"Press \"Save\" to save the imported cards to the Cockatrice database."));
"Press \"Save\" to save the imported cards to the Cockatrice database."));
defaultPathCheckBox->setText(tr("Save to the default path (recommended)"));
}
......@@ -585,11 +584,11 @@ void LoadTokensPage::retranslateUi()
{
setTitle(tr("Tokens source selection"));
setSubTitle(tr("Please specify a source for the list of tokens. "
"You can specify an url address that will be download or "
"use an existing file from your computer."));
"You can specify an URL address that will be download or "
"use an existing file from your computer."));
urlLabel->setText(tr("Download url:"));
urlButton->setText(tr("Restore default url"));
urlLabel->setText(tr("Download URL:"));
urlButton->setText(tr("Restore default URL"));
}
void LoadTokensPage::actRestoreDefaultUrl()
......@@ -606,7 +605,7 @@ bool LoadTokensPage::validatePage()
QUrl url = QUrl::fromUserInput(urlLineEdit->text());
if(!url.isValid())
{
QMessageBox::critical(this, tr("Error"), tr("The provided url is not valid."));
QMessageBox::critical(this, tr("Error"), tr("The provided URL is not valid."));
return false;
}
......@@ -692,7 +691,7 @@ void SaveTokensPage::retranslateUi()
{
setTitle(tr("Tokens imported"));
setSubTitle(tr("The tokens has been imported. "
"Press \"Save\" to save the imported tokens to the Cockatrice tokens database."));
"Press \"Save\" to save the imported tokens to the Cockatrice tokens database."));
defaultPathCheckBox->setText(tr("Save to the default path (recommended)"));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment