mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-23 07:28:24 -08:00
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
This commit is contained in:
@@ -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 an 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 an URL address that will be download 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -482,7 +481,7 @@ void SaveSetsPage::retranslateUi()
|
|||||||
{
|
{
|
||||||
setTitle(tr("Sets imported"));
|
setTitle(tr("Sets imported"));
|
||||||
setSubTitle(tr("The following sets has been 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)"));
|
defaultPathCheckBox->setText(tr("Save to the default path (recommended)"));
|
||||||
}
|
}
|
||||||
@@ -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 an URL address that will be download 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -692,7 +691,7 @@ void SaveTokensPage::retranslateUi()
|
|||||||
{
|
{
|
||||||
setTitle(tr("Tokens imported"));
|
setTitle(tr("Tokens imported"));
|
||||||
setSubTitle(tr("The tokens has been 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)"));
|
defaultPathCheckBox->setText(tr("Save to the default path (recommended)"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user