summaryrefslogtreecommitdiff
path: root/src/plugins/scxmleditor
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2017-12-27 13:56:54 +0100
committerRobert Loehning <robert.loehning@qt.io>2018-01-22 11:56:01 +0000
commit63e47f903ff494870ad0a97e0e82409f96ee66f3 (patch)
treea22d4f006d3f579a1338f98128fd0dd1adf1a3f0 /src/plugins/scxmleditor
parent034f0209b01c3c774995e790c099bf7e422953e6 (diff)
downloadqt-creator-63e47f903ff494870ad0a97e0e82409f96ee66f3.tar.gz
Improve translated strings and make them consistent
Change-Id: I88a6e6ceaa44b22539449037faa788caa9f349fc Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/plugins/scxmleditor')
-rw-r--r--src/plugins/scxmleditor/plugin_interface/idwarningitem.cpp2
-rw-r--r--src/plugins/scxmleditor/plugin_interface/stateitem.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/scxmleditor/plugin_interface/idwarningitem.cpp b/src/plugins/scxmleditor/plugin_interface/idwarningitem.cpp
index 7376192581..6422c22292 100644
--- a/src/plugins/scxmleditor/plugin_interface/idwarningitem.cpp
+++ b/src/plugins/scxmleditor/plugin_interface/idwarningitem.cpp
@@ -34,7 +34,7 @@ IdWarningItem::IdWarningItem(QGraphicsItem *parent)
setSeverity(OutputPane::Warning::ErrorType);
setTypeName(tr("State"));
setDescription(tr("Each state must have a unique ID."));
- setReason(tr("Missing ID"));
+ setReason(tr("Missing ID."));
setX(-boundingRect().width());
}
diff --git a/src/plugins/scxmleditor/plugin_interface/stateitem.cpp b/src/plugins/scxmleditor/plugin_interface/stateitem.cpp
index edc2562ccf..01fd5a994b 100644
--- a/src/plugins/scxmleditor/plugin_interface/stateitem.cpp
+++ b/src/plugins/scxmleditor/plugin_interface/stateitem.cpp
@@ -350,7 +350,7 @@ void StateItem::selectedMenuAction(const QAction *action)
break;
}
case TagUtils::Relayout: {
- document->undoStack()->beginMacro(tr("Relayout"));
+ document->undoStack()->beginMacro(tr("Re-Layout"));
doLayout(depth());
document->undoStack()->endMacro();
break;