Merge pull request #2865 from Diapolo/fix_intro_translation

fix string in intro.cpp, which is untranslatable on Transifex
This commit is contained in:
Gavin Andresen 2013-08-05 00:24:49 -07:00
commit d687aaa311

View File

@ -80,9 +80,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.");