Merge pull request #1428 from tooomm/patch-1

text adjustments in oracle
This commit is contained in:
Zach 2015-08-27 12:39:00 -04:00
commit e6a8fa59e3

View file

@ -171,11 +171,10 @@ void IntroPage::languageBoxChanged(int index)
void IntroPage::retranslateUi() void IntroPage::retranslateUi()
{ {
setTitle(tr("Introduction")); setTitle(tr("Introduction"));
label->setText(tr("This wizard will import the list of sets and cards " label->setText(tr("This wizard will import the list of sets, cards, and tokens "
"that will be used by Cockatrice.<br/>You will need to " "that will be used by Cockatrice."
"specify an url or a filename that will be used as a " "\nYou will need to specify a URL or a filename that "
"source, and then choose the wanted sets from the list " "will be used as a source."));
"of the available ones."));
languageLabel->setText(tr("Language:")); languageLabel->setText(tr("Language:"));
} }
@ -226,12 +225,12 @@ void LoadSetsPage::retranslateUi()
{ {
setTitle(tr("Source selection")); setTitle(tr("Source selection"));
setSubTitle(tr("Please specify a source for the list of sets and cards. " 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 a URL address that will be downloaded or "
"use an existing file from your computer.")); "use an existing file from your computer."));
urlRadioButton->setText(tr("Download url:")); urlRadioButton->setText(tr("Download URL:"));
fileRadioButton->setText(tr("Local file:")); fileRadioButton->setText(tr("Local file:"));
urlButton->setText(tr("Restore default url")); urlButton->setText(tr("Restore default URL"));
fileButton->setText(tr("Choose file...")); fileButton->setText(tr("Choose file..."));
} }
@ -272,7 +271,7 @@ bool LoadSetsPage::validatePage()
QUrl url = QUrl::fromUserInput(urlLineEdit->text()); QUrl url = QUrl::fromUserInput(urlLineEdit->text());
if(!url.isValid()) 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; return false;
} }
@ -585,11 +584,11 @@ void LoadTokensPage::retranslateUi()
{ {
setTitle(tr("Tokens source selection")); setTitle(tr("Tokens source selection"));
setSubTitle(tr("Please specify a source for the list of tokens. " setSubTitle(tr("Please specify a source for the list of tokens. "
"You can specify an url address that will be download or " "You can specify a URL address that will be downloaded or "
"use an existing file from your computer.")); "use an existing file from your computer."));
urlLabel->setText(tr("Download url:")); urlLabel->setText(tr("Download URL:"));
urlButton->setText(tr("Restore default url")); urlButton->setText(tr("Restore default URL"));
} }
void LoadTokensPage::actRestoreDefaultUrl() void LoadTokensPage::actRestoreDefaultUrl()
@ -606,7 +605,7 @@ bool LoadTokensPage::validatePage()
QUrl url = QUrl::fromUserInput(urlLineEdit->text()); QUrl url = QUrl::fromUserInput(urlLineEdit->text());
if(!url.isValid()) 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; return false;
} }