forked from qt-creator/qt-creator
QmlDesigner: Rename component editing actions
Go into Component -> Edit Component Make Component -> Create Component Fixes: QDS-8848 Change-Id: I3dfd6536fc5e27c66e1cef4006ab2687a75066e9 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -151,7 +151,7 @@ Item {
|
||||
}
|
||||
StudioControls.MenuItem {
|
||||
id: openSourceItem
|
||||
text: qsTr("Go into Component")
|
||||
text: qsTr("Edit Component")
|
||||
visible: itemsView.componentSource
|
||||
height: visible ? implicitHeight : 0
|
||||
onTriggered: rootView.goIntoComponent(itemsView.componentSource)
|
||||
|
@@ -119,10 +119,10 @@ const char resetPositionDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMen
|
||||
const char copyFormatDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", "Copy Formatting");
|
||||
const char applyFormatDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", "Apply Formatting");
|
||||
|
||||
const char enterComponentDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", "Enter Component");
|
||||
const char enterComponentDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", "Edit Component");
|
||||
const char mergeTemplateDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", "Merge with Template");
|
||||
const char goToImplementationDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", "Go to Implementation");
|
||||
const char makeComponentDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", "Make Component");
|
||||
const char makeComponentDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", "Create Component");
|
||||
const char editMaterialDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", "Edit Material");
|
||||
const char editAnnotationsDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", "Edit Annotations");
|
||||
const char addMouseAreaFillDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", "Add Mouse Area");
|
||||
|
Reference in New Issue
Block a user