C++: fixed translatable quick-fix strings.

This commit is contained in:
Erik Verbruggen
2010-10-06 16:33:49 +02:00
parent 192ca70649
commit 7334ed9ec4
3 changed files with 5 additions and 15 deletions

View File

@@ -71,7 +71,7 @@ public:
}
setDescription(QCoreApplication::translate("CppEditor::InsertDeclOperation",
"Add %1 declaration").arg(type));
"Add %1 Declaration").arg(type));
}
void performChanges(CppRefactoringFile *, CppRefactoringChanges *refactoring)
@@ -219,7 +219,7 @@ public:
const QString declFile = QString::fromUtf8(decl->fileName(), decl->fileNameLength());
const QDir dir = QFileInfo(declFile).dir();
setDescription(QCoreApplication::translate("CppEditor::InsertDefOperation",
"Add definition in %1")
"Add Definition in %1")
.arg(dir.relativeFilePath(m_loc.fileName())));
}