diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-07-29 16:09:15 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-07-29 16:56:03 +0200 |
commit | bef9f573b54f6bbba6943559ebef933a025aa5d9 (patch) | |
tree | c03727a55f9353fc5afb2c68b5533e1bdcf6b94a | |
parent | c4316fefa5f56d62eeceb710ee18313bd9be1128 (diff) |
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
-rw-r--r-- | src/qt/intro.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp index 51f3c812e4..d801189533 100644 --- a/src/qt/intro.cpp +++ b/src/qt/intro.cpp @@ -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."); |