L10n: tr()-Fixes

This commit is contained in:
Friedemann Kleint
2010-10-05 09:44:33 +02:00
parent 4578e32fe5
commit 520c936a45
8 changed files with 14 additions and 12 deletions

View File

@@ -74,8 +74,8 @@ public:
default: break;
}
setDescription(QCoreApplication::tr("Add %1 declaration",
"CppEditor::DeclFromDef").arg(type));
setDescription(QCoreApplication::translate("CppEditor::InsertDeclOperation",
"Add %1 declaration").arg(type));
}
void performChanges(CppRefactoringFile *, CppRefactoringChanges *refactoring)
@@ -217,8 +217,8 @@ public:
, m_decl(decl)
, m_loc(loc)
{
setDescription(QCoreApplication::tr("Add definition in %1",
"CppEditor::DefFromDecl")
setDescription(QCoreApplication::translate("CppEditor::InsertDefOperation",
"Add definition in %1")
.arg(m_loc.fileName()));
}