mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-23 01:55:10 -07:00
Have spacing between value and unit
This commit is contained in:
parent
0f003eabf9
commit
dfa844a83d
1 changed files with 4 additions and 4 deletions
|
|
@ -260,7 +260,7 @@ bool LoadSetsPage::validatePage()
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
progressLabel->setText(tr("Downloading (0MB)"));
|
progressLabel->setText(tr("Downloading (0 MB)"));
|
||||||
// show an infinite progressbar
|
// show an infinite progressbar
|
||||||
progressBar->setMaximum(0);
|
progressBar->setMaximum(0);
|
||||||
progressBar->setMinimum(0);
|
progressBar->setMinimum(0);
|
||||||
|
|
@ -343,7 +343,7 @@ void LoadSetsPage::actDownloadProgressSetsFile(qint64 received, qint64 total)
|
||||||
progressBar->setMaximum(static_cast<int>(total));
|
progressBar->setMaximum(static_cast<int>(total));
|
||||||
progressBar->setValue(static_cast<int>(received));
|
progressBar->setValue(static_cast<int>(received));
|
||||||
}
|
}
|
||||||
progressLabel->setText(tr("Downloading (%1MB)").arg((int)received / (1024 * 1024)));
|
progressLabel->setText(tr("Downloading (%1 MB)").arg((int)received / (1024 * 1024)));
|
||||||
}
|
}
|
||||||
|
|
||||||
void LoadSetsPage::actDownloadFinishedSetsFile()
|
void LoadSetsPage::actDownloadFinishedSetsFile()
|
||||||
|
|
@ -577,7 +577,7 @@ void SaveSetsPage::retranslateUi()
|
||||||
{
|
{
|
||||||
setTitle(tr("Sets imported"));
|
setTitle(tr("Sets imported"));
|
||||||
if (wizard()->downloadedPlainXml) {
|
if (wizard()->downloadedPlainXml) {
|
||||||
setSubTitle(tr("A cockatrice database file of %1 MB has been downloaded.")
|
setSubTitle(tr("A Cockatrice card database file of %1 MB has been downloaded.")
|
||||||
.arg(qRound(wizard()->xmlData.size() / 1000000.0)));
|
.arg(qRound(wizard()->xmlData.size() / 1000000.0)));
|
||||||
} else {
|
} else {
|
||||||
setSubTitle(tr("The following sets have been found:"));
|
setSubTitle(tr("The following sets have been found:"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue