diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2021-03-18 11:58:22 +0100 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2021-03-18 16:50:50 +0000 |
commit | 6d66b47b3200df628786c69c1eec6311ad03e8b6 (patch) | |
tree | e31db1da1b4af5fa5181aaf4e593b0d15ff9bc7a /src/plugins/qmldesigner/assetexporterplugin/assetexporter.cpp | |
parent | 31e4356b527a61d0a652f83338174d4a73550419 (diff) | |
download | qt-creator-6d66b47b3200df628786c69c1eec6311ad03e8b6.tar.gz |
QDS: Check terms in Assert Exporter Plugin
Remove "QML" or replace it with something else.
Change-Id: I897e0c217fff705f3f5e045e532e2114f85d83bc
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/assetexporterplugin/assetexporter.cpp')
-rw-r--r-- | src/plugins/qmldesigner/assetexporterplugin/assetexporter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/qmldesigner/assetexporterplugin/assetexporter.cpp b/src/plugins/qmldesigner/assetexporterplugin/assetexporter.cpp index d782425232..9b74b3471f 100644 --- a/src/plugins/qmldesigner/assetexporterplugin/assetexporter.cpp +++ b/src/plugins/qmldesigner/assetexporterplugin/assetexporter.cpp @@ -158,7 +158,7 @@ void AssetExporter::beginExport() void AssetExporter::cancel() { if (!m_cancelled) { - ExportNotification::addInfo(tr("Cancelling export.")); + ExportNotification::addInfo(tr("Canceling export.")); m_assetDumper.reset(); m_cancelled = true; } @@ -227,13 +227,13 @@ void AssetExporter::notifyLoadError(AssetExporterView::LoadState state) errorStr = tr("Loading file is taking too long."); break; case AssetExporterView::LoadState::QmlErrorState: - errorStr = tr("Cannot parse. QML file has errors."); + errorStr = tr("Cannot parse. The file contains coding errors."); break; default: return; } qCDebug(loggerError) << "QML load error:" << errorStr; - ExportNotification::addError(tr("Loading QML failed. %1").arg(errorStr)); + ExportNotification::addError(tr("Loading components failed. %1").arg(errorStr)); } void AssetExporter::notifyProgress(double value) const @@ -250,13 +250,13 @@ void AssetExporter::onQmlFileLoaded() ->documentManager() .currentDesignDocument(); if (designDocument->hasQmlParseErrors()) { - ExportNotification::addError(tr("Cannot export QML. Document \"%1\" have parsing errors.") + ExportNotification::addError(tr("Cannot export component. Document \"%1\" has parsing errors.") .arg(designDocument->displayName())); } else { exportComponent(m_view->rootModelNode()); QString error; if (!m_view->saveQmlFile(&error)) { - ExportNotification::addError(tr("Error saving QML file. %1") + ExportNotification::addError(tr("Error saving component file. %1") .arg(error.isEmpty()? tr("Unknown") : error)); } } |