L10n: tr-Fixes.

This commit is contained in:
Friedemann Kleint
2010-09-14 14:57:36 +02:00
parent 0e8c3875ef
commit f4b2a70edc
3 changed files with 13 additions and 17 deletions

View File

@@ -683,12 +683,8 @@ void S60CreatePackageStepConfigWidget::resetPassphrases()
{
QMessageBox msgBox(QMessageBox::Question, tr("Reset passwords"),
tr("Do you want to reset all saved passwords for used keys?"),
QMessageBox::Yes|QMessageBox::No, this);
msgBox.button(QMessageBox::Yes)->setText(tr("Reset"));
msgBox.button(QMessageBox::No)->setText(tr("Cancel"));
msgBox.setDefaultButton(QMessageBox::No);
msgBox.setEscapeButton(QMessageBox::No);
if (msgBox.exec() == QMessageBox::Yes)
QMessageBox::Reset|QMessageBox::Cancel, this);
if (msgBox.exec() == QMessageBox::Reset)
m_signStep->resetPassphrases();
}
@@ -699,8 +695,7 @@ QString S60CreatePackageStepConfigWidget::summaryText() const
text = tr("self-signed");
} else {
text = tr("signed with certificate %1 and key file %2")
.arg(m_signStep->customSignaturePath())
.arg(m_signStep->customKeyPath());
.arg(m_signStep->customSignaturePath(), m_signStep->customKeyPath());
}
if (m_signStep->createsSmartInstaller())
return tr("<b>Create SIS Package:</b> %1, using Smart Installer").arg(text);