If you are willing to translate LameXP to your language or to complete an existing translation, please refer to: " + LINK("http://mulder.brhack.net/public/doc/lamexp_translate.html") + " "));
+ //
}
//Check for expiration
@@ -947,8 +952,8 @@ void MainWindow::windowShown(void)
if(m_settings->slowStartup() && m_settings->antivirNotificationsEnabled())
{
QString message;
- message += QString("%1 ").arg(tr("It seems that a bogus anti-virus software is slowing down the startup of LameXP.").replace("-", "−"));
- message += QString("%1 ").arg(tr("Please refer to the %1 document for details and solutions!").replace("-", "−").arg("F.A.Q."));
+ message += NOBR(tr("It seems that a bogus anti-virus software is slowing down the startup of LameXP."));
+ message += NOBR(tr("Please refer to the %1 document for details and solutions!")).arg("F.A.Q.");
if(QMessageBox::warning(this, tr("Slow Startup"), message, tr("Discard"), tr("Don't Show Again")) == 1)
{
m_settings->antivirNotificationsEnabled(false);
@@ -960,7 +965,7 @@ void MainWindow::windowShown(void)
if(QDate::currentDate() >= lamexp_version_date().addYears(1))
{
qWarning("Binary is more than a year old, time to update!");
- if(QMessageBox::warning(this, tr("Urgent Update"), QString("%1").arg(tr("Your version of LameXP is more than a year old. Time for an update!")).replace("-", "−"), tr("Check for Updates"), tr("Exit Program")) == 0)
+ if(QMessageBox::warning(this, tr("Urgent Update"), NOBR(tr("Your version of LameXP is more than a year old. Time for an update!")), tr("Check for Updates"), tr("Exit Program")) == 0)
{
if(checkForUpdates())
{
@@ -998,10 +1003,10 @@ void MainWindow::windowShown(void)
if(lamexp_tool_version("neroAacEnc.exe") < lamexp_toolver_neroaac())
{
QString messageText;
- messageText += QString("%1 ").arg(tr("LameXP detected that your version of the Nero AAC encoder is outdated!"));
- messageText += QString("%1
").arg(tr("The current version available is %1 (or later), but you still have version %2 installed.").arg(lamexp_version2string("?.?.?.?", lamexp_toolver_neroaac(), tr("n/a")), lamexp_version2string("?.?.?.?", lamexp_tool_version("neroAacEnc.exe"), tr("n/a"))));
- messageText += QString("%1 ").arg(tr("You can download the latest version of the Nero AAC encoder from the Nero website at:"));
- messageText += "" + LINK(AboutDialog::neroAacUrl) + " ";
+ messageText += NOBR(tr("LameXP detected that your version of the Nero AAC encoder is outdated!")).append(" ");
+ messageText += NOBR(tr("The current version available is %1 (or later), but you still have version %2 installed.").arg(lamexp_version2string("?.?.?.?", lamexp_toolver_neroaac(), tr("n/a")), lamexp_version2string("?.?.?.?", lamexp_tool_version("neroAacEnc.exe"), tr("n/a")))).append("
");
+ messageText += NOBR(tr("You can download the latest version of the Nero AAC encoder from the Nero website at:")).append(" ");
+ messageText += "" + LINK(AboutDialog::neroAacUrl) + " ";
QMessageBox::information(this, tr("AAC Encoder Outdated"), messageText);
}
}
@@ -1013,12 +1018,12 @@ void MainWindow::windowShown(void)
QString appPath = QDir(QCoreApplication::applicationDirPath()).canonicalPath();
if(appPath.isEmpty()) appPath = QCoreApplication::applicationDirPath();
QString messageText;
- messageText += QString("%1 ").arg(tr("The Nero AAC encoder could not be found. AAC encoding support will be disabled.").replace("-", "−"));
- messageText += QString("%1
").arg(tr("Please put 'neroAacEnc.exe', 'neroAacDec.exe' and 'neroAacTag.exe' into the LameXP directory!").replace("-", "−"));
- messageText += QString("%1 ").arg(tr("Your LameXP directory is located here:").replace("-", "−"));
- messageText += QString("%2
").arg(QDir::toNativeSeparators(appPath), QDir::toNativeSeparators(appPath).replace("-", "−"));
- messageText += QString("%1 ").arg(tr("You can download the Nero AAC encoder for free from the official Nero website at:").replace("-", "−"));
- messageText += "" + LINK(AboutDialog::neroAacUrl) + " ";
+ messageText += NOBR(tr("The Nero AAC encoder could not be found. AAC encoding support will be disabled.")).append(" ");
+ messageText += NOBR(tr("Please put 'neroAacEnc.exe', 'neroAacDec.exe' and 'neroAacTag.exe' into the LameXP directory!")).append("
");
+ messageText += NOBR(tr("Your LameXP directory is located here:")).append(" ");
+ messageText += QString("%2