summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swift/QtUI/QtVCardWidget/QtVCardWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtVCardWidget/QtVCardWidget.cpp b/Swift/QtUI/QtVCardWidget/QtVCardWidget.cpp
index ac087ed..9092e08 100644
--- a/Swift/QtUI/QtVCardWidget/QtVCardWidget.cpp
+++ b/Swift/QtUI/QtVCardWidget/QtVCardWidget.cpp
@@ -343,7 +343,7 @@ void QtVCardWidget::removeField(QtVCardGeneralField *field) {
void QtVCardWidget::addFieldType(QMenu* menu, boost::shared_ptr<QtVCardFieldInfo> fieldType) {
if (!fieldType->getMenuName().isEmpty()) {
- QAction* action = new QAction(tr("Add ") + fieldType->getMenuName(), this);
+ QAction* action = new QAction(tr("Add %1").arg(fieldType->getMenuName()), this);
actionFieldInfo[action] = fieldType;
connect(action, SIGNAL(triggered()), this, SLOT(addField()));
menu->addAction(action);