fix string in intro.cpp, which is untranslatable on Transifex

- seems the code tags in the original string cause errors, when using the
  Transifex site for translation
This commit is contained in:
Philip Kaufmann 2013-07-29 16:09:15 +02:00
parent c4316fefa5
commit bef9f573b5

View file

@ -72,9 +72,9 @@ void FreespaceChecker::check()
{
if(fs::is_directory(dataDir))
{
QString separator = QDir::toNativeSeparators("/");
QString separator = "<code>" + QDir::toNativeSeparators("/") + tr("name") + "</code>";
replyStatus = ST_OK;
replyMessage = tr("Directory already exists. Add <code>%1name</code> if you intend to create a new directory here.").arg(separator);
replyMessage = tr("Directory already exists. Add %1 if you intend to create a new directory here.").arg(separator);
} else {
replyStatus = ST_ERROR;
replyMessage = tr("Path already exists, and is not a directory.");