forked from qt-creator/qt-creator
BlackBerry: fix UI text capitalization and punctuation
Reword an info message to fix a language issue. Change-Id: I42719b2c407c42aad811370dbde8e9d422b7a4bb Reviewed-by: Alejandro Exojo Piqueras <suy@badopi.org> Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
This commit is contained in:
@@ -310,7 +310,7 @@ bool BlackBerryConfiguration::activate()
|
||||
if (m_isAutoDetected)
|
||||
return false;
|
||||
|
||||
QString errorMessage = tr("The following errors occurred while activating Target: %1").arg(m_targetName);
|
||||
QString errorMessage = tr("The following errors occurred while activating target: %1").arg(m_targetName);
|
||||
if (m_qmake4BinaryFile.isEmpty() && m_qmake5BinaryFile.isEmpty())
|
||||
errorMessage += QLatin1Char('\n') + tr("- No Qt version found.");
|
||||
|
||||
|
||||
@@ -216,7 +216,7 @@ bool BlackBerryConfigurationManager::addConfiguration(BlackBerryConfiguration *c
|
||||
if (c->ndkPath() == config->ndkPath()
|
||||
&& c->targetName() == config->targetName()) {
|
||||
if (!config->isAutoDetected())
|
||||
QMessageBox::warning(0, tr("NDK Already known"),
|
||||
QMessageBox::warning(0, tr("NDK Already Known"),
|
||||
tr("The NDK already has a configuration."), QMessageBox::Ok);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -172,20 +172,20 @@ void BlackBerryCreateCertificateDialog::certificateCreated(int status)
|
||||
accept();
|
||||
return;
|
||||
case BlackBerryCertificate::Busy:
|
||||
errorMessage = tr("The blackberry-keytool process is already running");
|
||||
errorMessage = tr("The blackberry-keytool process is already running.");
|
||||
break;
|
||||
case BlackBerryCertificate::WrongPassword:
|
||||
errorMessage = tr("The password entered is invalid");
|
||||
errorMessage = tr("The password entered is invalid.");
|
||||
break;
|
||||
case BlackBerryCertificate::PasswordTooSmall:
|
||||
errorMessage = tr("The password entered is too small");
|
||||
errorMessage = tr("The password entered is too short.");
|
||||
break;
|
||||
case BlackBerryCertificate::InvalidOutputFormat:
|
||||
errorMessage = tr("Invalid output format");
|
||||
errorMessage = tr("Invalid output format.");
|
||||
break;
|
||||
case BlackBerryCertificate::Error:
|
||||
default:
|
||||
errorMessage = tr("An unknown error occurred");
|
||||
errorMessage = tr("An unknown error occurred.");
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Debug Token is needed for BlackBerry applications deployment to a device.</string>
|
||||
<string>Debug token is needed for deploying applications to BlackBerry devices.</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
@@ -120,7 +120,7 @@
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="text">
|
||||
<string>Host name/IP:</string>
|
||||
<string>Host name or IP address:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -100,8 +100,8 @@ BlackBerryInstallWizardOptionPage::BlackBerryInstallWizardOptionPage(BlackBerryI
|
||||
|
||||
void BlackBerryInstallWizardOptionPage::initializePage()
|
||||
{
|
||||
m_installButton->setText(tr("Install a new target"));
|
||||
m_addButton->setText(tr("Add an existing target"));
|
||||
m_installButton->setText(tr("Install New Target"));
|
||||
m_addButton->setText(tr("Add Existing Target"));
|
||||
|
||||
if (m_data.mode == BlackBerryInstallerDataHandler::ManuallMode)
|
||||
m_addButton->setChecked(true);
|
||||
|
||||
@@ -156,21 +156,21 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="openCertificateButton">
|
||||
<property name="text">
|
||||
<string>Open certificate</string>
|
||||
<string>Open Certificate</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="clearCertificateButton">
|
||||
<property name="text">
|
||||
<string>Clear certificate</string>
|
||||
<string>Clear Certificate</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="createCertificateButton">
|
||||
<property name="text">
|
||||
<string>Create certificate</string>
|
||||
<string>Create Certificate</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -85,7 +85,7 @@ bool BlackBerrySigningUtils::hasDefaultCertificate()
|
||||
QString BlackBerrySigningUtils::cskPassword()
|
||||
{
|
||||
if (m_cskPassword.isEmpty())
|
||||
m_cskPassword = promptPassword(tr("Please provide your bbidtoken.csk PIN"));
|
||||
m_cskPassword = promptPassword(tr("Please provide your bbidtoken.csk PIN."));
|
||||
|
||||
return m_cskPassword;
|
||||
}
|
||||
@@ -93,7 +93,7 @@ QString BlackBerrySigningUtils::cskPassword()
|
||||
QString BlackBerrySigningUtils::certificatePassword()
|
||||
{
|
||||
if (m_certificatePassword.isEmpty())
|
||||
m_certificatePassword = promptPassword(tr("Please enter your certificate password"));
|
||||
m_certificatePassword = promptPassword(tr("Please enter your certificate password."));
|
||||
|
||||
return m_certificatePassword;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user