forked from qt-creator/qt-creator
QmlDesigner: Rename "Component" to "Bundle" in import/export bundles
Change-Id: I728d496f9ac47f53ca601850c043c10daef47810 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Shrief Gabr <shrief.gabr@qt.io> Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
This commit is contained in:
@@ -167,9 +167,9 @@ inline constexpr char editMaterialDisplayName[] = QT_TRANSLATE_NOOP("QmlDesigner
|
||||
inline constexpr char addToContentLibraryDisplayName[] = QT_TRANSLATE_NOOP(
|
||||
"QmlDesignerContextMenu", "Add to Content Library");
|
||||
inline constexpr char importComponentDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu",
|
||||
"Import Component");
|
||||
"Import Bundle");
|
||||
inline constexpr char exportComponentDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu",
|
||||
"Export Component");
|
||||
"Export Bundle");
|
||||
inline constexpr char editAnnotationsDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu",
|
||||
"Edit Annotations");
|
||||
inline constexpr char addMouseAreaFillDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu",
|
||||
|
@@ -378,13 +378,13 @@ void Edit3DWidget::createContextMenu()
|
||||
|
||||
m_importBundleAction = m_contextMenu->addAction(
|
||||
contextIcon(DesignerIcons::CreateIcon), // TODO: placeholder icon
|
||||
tr("Import Component"), [&] {
|
||||
tr("Import Bundle"), [&] {
|
||||
m_bundleHelper->importBundleToProject();
|
||||
});
|
||||
|
||||
m_exportBundleAction = m_contextMenu->addAction(
|
||||
contextIcon(DesignerIcons::CreateIcon), // TODO: placeholder icon
|
||||
tr("Export Component"), [&] {
|
||||
tr("Export Bundle"), [&] {
|
||||
m_bundleHelper->exportBundle(m_view->selectedModelNodes());
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user