diff options
author | Leena Miettinen <[email protected]> | 2022-10-19 18:25:20 +0200 |
---|---|---|
committer | Leena Miettinen <[email protected]> | 2022-10-20 07:38:32 +0000 |
commit | 7c9d1ef51665384bee11c073b24977ce35899130 (patch) | |
tree | 59199d2be337430d36046768ba5c0004da9e5a29 /src | |
parent | b9e45d7b30423d4270f2da29ce5d5f90d0270509 (diff) |
UI text: Fix UI text to follow the guidelines
- Fix typos
- Replace "options" with "preferences"
- Fix capitalization
- Remove "please"
- Do not use contractions
Task-number: QTCREATORBUG-28334
Change-Id: Ie029eae435634aa2fb354e173fa107af72f7b025
Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src')
11 files changed, 16 insertions, 16 deletions
diff --git a/src/libs/utils/namevaluesdialog.cpp b/src/libs/utils/namevaluesdialog.cpp index 195871e5059..2c9fae7e574 100644 --- a/src/libs/utils/namevaluesdialog.cpp +++ b/src/libs/utils/namevaluesdialog.cpp @@ -74,7 +74,7 @@ NameValuesDialog::NameValuesDialog(const QString &windowTitle, const QString &he auto box = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, Qt::Horizontal, this); - box->button(QDialogButtonBox::Ok)->setText(tr("&Ok")); + box->button(QDialogButtonBox::Ok)->setText(tr("&OK")); box->button(QDialogButtonBox::Cancel)->setText(tr("&Cancel")); connect(box, &QDialogButtonBox::accepted, this, &QDialog::accept); connect(box, &QDialogButtonBox::rejected, this, &QDialog::reject); diff --git a/src/libs/utils/terminalprocess.cpp b/src/libs/utils/terminalprocess.cpp index 32beff6c35f..575b8562f2e 100644 --- a/src/libs/utils/terminalprocess.cpp +++ b/src/libs/utils/terminalprocess.cpp @@ -397,7 +397,7 @@ void TerminalImpl::start() d->m_process.start(); if (!d->m_process.waitForStarted()) { const QString msg = QtcProcess::tr("Cannot start the terminal emulator \"%1\", change the " - "setting in the Environment options. (%2)") + "setting in the Environment preferences. (%2)") .arg(terminal.command).arg(d->m_process.errorString()); cleanupAfterStartFailure(msg); return; diff --git a/src/plugins/android/androiddevice.cpp b/src/plugins/android/androiddevice.cpp index 7600c9fd096..c65db2ec181 100644 --- a/src/plugins/android/androiddevice.cpp +++ b/src/plugins/android/androiddevice.cpp @@ -169,7 +169,7 @@ void AndroidDevice::addActionsIfNotFound() static const QString startAvdAction = Tr::tr("Start AVD"); static const QString eraseAvdAction = Tr::tr("Erase AVD"); static const QString avdArgumentsAction = Tr::tr("AVD Arguments"); - static const QString setupWifi = Tr::tr("Setup Wi-Fi"); + static const QString setupWifi = Tr::tr("Set up Wi-Fi"); bool hasStartAction = false; bool hasEraseAction = false; @@ -543,7 +543,7 @@ void AndroidDeviceManager::setupWifiForDevice(const IDevice::Ptr &device, QWidge const SdkToolResult connectRes = AndroidManager::runAdbCommand(args); if (!connectRes.success()) { AndroidDeviceWidget::criticalDialog( - Tr::tr("Connecting to to the device IP \"%1\" failed.").arg(ip), + Tr::tr("Connecting to the device IP \"%1\" failed.").arg(ip), parent); return; } diff --git a/src/plugins/cmakeprojectmanager/fileapiparser.cpp b/src/plugins/cmakeprojectmanager/fileapiparser.cpp index adf05be72ea..0d6eefe6346 100644 --- a/src/plugins/cmakeprojectmanager/fileapiparser.cpp +++ b/src/plugins/cmakeprojectmanager/fileapiparser.cpp @@ -838,7 +838,7 @@ FileApiData FileApiParser::parseData(QFutureInterface<std::shared_ptr<FileApiQtc const auto cancelCheck = [&fi, &errorMessage]() -> bool { if (fi.isCanceled()) { - errorMessage = Tr::tr("CMake parsing was cancelled."); + errorMessage = Tr::tr("CMake parsing was canceled."); return true; } return false; diff --git a/src/plugins/coreplugin/locator/externaltoolsfilter.cpp b/src/plugins/coreplugin/locator/externaltoolsfilter.cpp index db1a35c3dda..df9cb14243a 100644 --- a/src/plugins/coreplugin/locator/externaltoolsfilter.cpp +++ b/src/plugins/coreplugin/locator/externaltoolsfilter.cpp @@ -17,7 +17,7 @@ ExternalToolsFilter::ExternalToolsFilter() { setId("Run external tool"); setDisplayName(tr("Run External Tool")); - setDescription(tr("Runs an external tool that you have set up in the options (Environment > " + setDescription(tr("Runs an external tool that you have set up in the preferences (Environment > " "External Tools).")); setDefaultShortcutString("x"); setPriority(Medium); diff --git a/src/plugins/cppeditor/cppeditorplugin.cpp b/src/plugins/cppeditor/cppeditorplugin.cpp index 3bf52d996df..867223e15c1 100644 --- a/src/plugins/cppeditor/cppeditorplugin.cpp +++ b/src/plugins/cppeditor/cppeditorplugin.cpp @@ -369,7 +369,7 @@ bool CppEditorPlugin::initialize(const QStringList & /*arguments*/, QString *err contextMenu->addAction(cmd, Constants::G_CONTEXT_FIRST); cppToolsMenu->addAction(cmd); QAction * const followSymbolToTypeInNextSplit = - new QAction(tr("Follow Symbol To Type in Next Split"), this); + new QAction(tr("Follow Symbol to Type in Next Split"), this); cmd = ActionManager::registerAction(followSymbolToTypeInNextSplit, Constants::FOLLOW_SYMBOL_TO_TYPE_IN_NEXT_SPLIT, context, true); cmd->setDefaultKeySequence(QKeySequence(HostOsInfo::isMacHost() diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp index 05560351597..ca378158897 100644 --- a/src/plugins/debugger/cdb/cdbengine.cpp +++ b/src/plugins/debugger/cdb/cdbengine.cpp @@ -2245,9 +2245,9 @@ void CdbEngine::checkQtSdkPdbFiles(const QString &module) const QString message = Tr::tr("The installed %1 is missing debug information files.\n" - "Locals and Expression might not be able to display all Qt Types in a " + "Locals and Expression might not be able to display all Qt types in a " "human readable format.\n\n" - "Please install the \"Qt Debug Information Files\" Package from the " + "Install the \"Qt Debug Information Files\" Package from the " "Maintenance Tool for this Qt installation to get all relevant " "symbols for the debugger.") .arg(qtName); diff --git a/src/plugins/docker/dockerdevicewidget.cpp b/src/plugins/docker/dockerdevicewidget.cpp index ce88373306a..6105b107ba2 100644 --- a/src/plugins/docker/dockerdevicewidget.cpp +++ b/src/plugins/docker/dockerdevicewidget.cpp @@ -65,9 +65,9 @@ DockerDeviceWidget::DockerDeviceWidget(const IDevice::Ptr &device) DockerApi::recheckDockerDaemon(); }); - m_keepEntryPoint = new QCheckBox(Tr::tr("Don't modify entry point")); + m_keepEntryPoint = new QCheckBox(Tr::tr("Do not modify entry point")); m_keepEntryPoint->setToolTip( - Tr::tr("If checked, the entry point of the image will not be modified. Only use this if " + Tr::tr("Prevents modifying the entry point of the image. Enable only if " "the image starts into a shell.")); m_keepEntryPoint->setChecked(m_data.keepEntryPoint); m_keepEntryPoint->setEnabled(true); diff --git a/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp b/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp index 2377a8d0e0c..105c7c09198 100644 --- a/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp +++ b/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp @@ -672,7 +672,7 @@ public: ActionTemplate *removeSignalHandlerAction = new ActionTemplate( (propertyName + "RemoveSignalHandlerId").toLatin1(), - QString(QT_TRANSLATE_NOOP("QmlDesignerContextMenu", "Remove this handler")), + QString(QT_TRANSLATE_NOOP("QmlDesignerContextMenu", "Remove This Handler")), [signalHandler](const SelectionContext &) { signalHandler.parentModelNode().view()->executeInTransaction( "ConnectionsModelNodeActionGroup::" @@ -691,7 +691,7 @@ public: //singular add connection: QMenu *addConnection = new QMenu(QString(QT_TRANSLATE_NOOP("QmlDesignerContextMenu", - "Add signal handler")), + "Add Signal Handler")), menu()); for (const auto &signalStr : signalsList) { diff --git a/src/plugins/qmldesigner/components/navigator/choosefrompropertylistdialog.cpp b/src/plugins/qmldesigner/components/navigator/choosefrompropertylistdialog.cpp index 61de509af3d..03586161a32 100644 --- a/src/plugins/qmldesigner/components/navigator/choosefrompropertylistdialog.cpp +++ b/src/plugins/qmldesigner/components/navigator/choosefrompropertylistdialog.cpp @@ -103,7 +103,7 @@ ChooseFromPropertyListDialog::ChooseFromPropertyListDialog(const QStringList &pr return; } m_ui->setupUi(this); - setWindowTitle(tr("Select property")); + setWindowTitle(tr("Select Property")); m_ui->label->setText(tr("Bind to property:")); m_ui->label->setToolTip(tr("Binds this component to the parent's selected property.")); setFixedSize(size()); diff --git a/src/plugins/squish/deletesymbolicnamedialog.cpp b/src/plugins/squish/deletesymbolicnamedialog.cpp index 7bb17156b3c..5f54fae7aa2 100644 --- a/src/plugins/squish/deletesymbolicnamedialog.cpp +++ b/src/plugins/squish/deletesymbolicnamedialog.cpp @@ -106,8 +106,8 @@ void DeleteSymbolicNameDialog::updateDetailsLabel(const QString &nameToDelete) { const char *detailsText = QT_TR_NOOP( "The Symbolic Name <span style='white-space: nowrap'>\"%1\"</span> you " - "want to remove is used in Multi Property Names. Please decide what to do " - "with the references in these Multi Property Names."); + "want to remove is used in Multi Property Names. Select the action to " + "apply to references in these Multi Property Names."); m_detailsLabel->setText(tr(detailsText).arg(nameToDelete)); } |