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:
Mahmoud Badri
2025-02-27 15:05:15 +02:00
parent 5db5a5bd0d
commit 14b1b5b633
2 changed files with 4 additions and 4 deletions

View File

@@ -167,9 +167,9 @@ inline constexpr char editMaterialDisplayName[] = QT_TRANSLATE_NOOP("QmlDesigner
inline constexpr char addToContentLibraryDisplayName[] = QT_TRANSLATE_NOOP( inline constexpr char addToContentLibraryDisplayName[] = QT_TRANSLATE_NOOP(
"QmlDesignerContextMenu", "Add to Content Library"); "QmlDesignerContextMenu", "Add to Content Library");
inline constexpr char importComponentDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", inline constexpr char importComponentDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu",
"Import Component"); "Import Bundle");
inline constexpr char exportComponentDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", inline constexpr char exportComponentDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu",
"Export Component"); "Export Bundle");
inline constexpr char editAnnotationsDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", inline constexpr char editAnnotationsDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu",
"Edit Annotations"); "Edit Annotations");
inline constexpr char addMouseAreaFillDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu", inline constexpr char addMouseAreaFillDisplayName[] = QT_TRANSLATE_NOOP("QmlDesignerContextMenu",

View File

@@ -378,13 +378,13 @@ void Edit3DWidget::createContextMenu()
m_importBundleAction = m_contextMenu->addAction( m_importBundleAction = m_contextMenu->addAction(
contextIcon(DesignerIcons::CreateIcon), // TODO: placeholder icon contextIcon(DesignerIcons::CreateIcon), // TODO: placeholder icon
tr("Import Component"), [&] { tr("Import Bundle"), [&] {
m_bundleHelper->importBundleToProject(); m_bundleHelper->importBundleToProject();
}); });
m_exportBundleAction = m_contextMenu->addAction( m_exportBundleAction = m_contextMenu->addAction(
contextIcon(DesignerIcons::CreateIcon), // TODO: placeholder icon contextIcon(DesignerIcons::CreateIcon), // TODO: placeholder icon
tr("Export Component"), [&] { tr("Export Bundle"), [&] {
m_bundleHelper->exportBundle(m_view->selectedModelNodes()); m_bundleHelper->exportBundle(m_view->selectedModelNodes());
}); });