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()
{
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 a 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 a URL address that will be downloaded 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;
}
@ -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 "
"You can specify a URL address that will be downloaded 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;
}