forked from qt-creator/qt-creator
QML Designer: Fix UI text
Fix capitalization of strings and the wording of tooltips. Task-number: QTCREATORBUG-27055 Change-Id: Id8e324b44574b9cf0d1522ae204b452cea6193cd Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
@@ -129,7 +129,7 @@ void AssetExporter::exportQml(const Utils::FilePaths &qmlFiles, const Utils::Fil
|
||||
.arg(exportAssets? tr("Yes") : tr("No")));
|
||||
|
||||
if (m_perComponentExport)
|
||||
ExportNotification::addInfo(tr("Each component is exported separately"));
|
||||
ExportNotification::addInfo(tr("Each component is exported separately."));
|
||||
|
||||
notifyProgress(0.0);
|
||||
m_exportFiles = qmlFiles;
|
||||
@@ -394,7 +394,7 @@ void AssetExporter::writeMetadata() const
|
||||
{
|
||||
if (m_cancelled) {
|
||||
notifyProgress(1.0);
|
||||
ExportNotification::addInfo(tr("Export cancelled."));
|
||||
ExportNotification::addInfo(tr("Export canceled."));
|
||||
m_currentState.change(ParsingState::ExportingDone);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -150,7 +150,7 @@ Edit3DWidget::Edit3DWidget(Edit3DView *view) :
|
||||
tr("Your file does not import Qt Quick 3D.<br><br>"
|
||||
"To create a 3D view, add the QtQuick3D module in the Library view. Or click"
|
||||
" <a href=\"#add_import\"><span style=\"text-decoration:none;color:%1\">here</span></a> "
|
||||
"here to add it immediately.<br><br>"
|
||||
"to add it immediately.<br><br>"
|
||||
"To import 3D assets from another tool, click the \"Add New Assets...\" button in the Assets tab of the Library view.");
|
||||
m_onboardingLabel->setText(labelText.arg(Utils::creatorTheme()->color(Utils::Theme::TextColorLink).name()));
|
||||
m_onboardingLabel->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
|
||||
|
||||
@@ -768,7 +768,7 @@ void NavigatorTreeModel::handleItemLibraryItemDrop(const QMimeData *mimeData, in
|
||||
"NavigatorTreeModel",
|
||||
"Inserting materials under imported 3D component nodes is not supported. "
|
||||
"Materials used in imported 3D components have to be modified inside the component itself.\n\n"
|
||||
"Would you like to go into component '%1'?")
|
||||
"Would you like to go into component \"%1\"?")
|
||||
.arg(targetProperty.parentModelNode().id()),
|
||||
QMessageBox::Yes | QMessageBox::No,
|
||||
QMessageBox::No);
|
||||
|
||||
@@ -301,7 +301,7 @@ ModelNode TransitionEditorView::addNewTransition()
|
||||
if (!properties.isEmpty())
|
||||
properties.chop(2);
|
||||
Core::AsynchronousMessageBox::warning(
|
||||
tr("No properties to animate found."),
|
||||
tr("No Property Changes to Animate"),
|
||||
tr("To add transitions, first change the properties that you want to animate in states (%1).")
|
||||
.arg(properties));
|
||||
}
|
||||
|
||||
@@ -257,9 +257,9 @@ bool QmlDesignerPlugin::initialize(const QStringList & /*arguments*/, QString *e
|
||||
designerActionManager().addDesignerAction(startNanotraceAction);
|
||||
|
||||
auto shutDownNanotraceAction = new ModelNodeAction("ShutDown Nanotrace",
|
||||
QObject::tr("ShutDown Nanotrace"),
|
||||
QObject::tr("Shut Down Nanotrace"),
|
||||
shutdownNanotraceIcon(),
|
||||
QObject::tr("ShutDown Nanotrace"),
|
||||
QObject::tr("Shut Down Nanotrace"),
|
||||
ComponentCoreConstants::eventListCategory,
|
||||
QKeySequence(),
|
||||
220,
|
||||
|
||||
@@ -76,8 +76,7 @@ QmlMultiLanguageAspect::QmlMultiLanguageAspect(ProjectExplorer::Target *target)
|
||||
setVisible(isMultilanguagePresent());
|
||||
setSettingsKey(Constants::USE_MULTILANGUAGE_KEY);
|
||||
setLabel(tr("Use MultiLanguage in Form Editor."), BoolAspect::LabelPlacement::AtCheckBox);
|
||||
setToolTip(tr("By enabling this Form Editor can read translations\n"
|
||||
"from MultiLanguage plugin."));
|
||||
setToolTip(tr("Reads translations from MultiLanguage plugin."));
|
||||
|
||||
setDefaultValue(!databaseFilePath().isEmpty());
|
||||
QVariantMap getDefaultValues;
|
||||
|
||||
Reference in New Issue
Block a user