UI text: Fix grammar errors and capitalization issues

Change-Id: Iefb1075cc0b14eb8c0e99b6c96c31a91c2b079f0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Leena Miettinen
2022-06-28 15:22:38 +02:00
parent 84ef111847
commit 14965f5792
7 changed files with 9 additions and 9 deletions

View File

@@ -168,7 +168,7 @@ void CommandBuilderAspect::addToLayout(LayoutBuilder &builder)
if (!d->label) {
d->label = new QLabel(tr("Command Helper:"));
d->label->setToolTip(tr("Select an helper to establish the build command."));
d->label->setToolTip(tr("Select a helper to establish the build command."));
}
// On first creation of the step, attempt to detect and migrate from preceding steps

View File

@@ -1867,13 +1867,13 @@ void ClientPrivate::initializeCallback(const InitializeRequest::Response &initRe
if (const optional<InitializeResult> &result = initResponse.result()) {
if (!result->isValid()) { // continue on ill formed result
q->log(QJsonDocument(*result).toJson(QJsonDocument::Indented) + '\n'
+ tr("Initialize result is not valid"));
+ tr("Initialize result is invalid."));
}
const Utils::optional<ServerInfo> serverInfo = result->serverInfo();
if (serverInfo) {
if (!serverInfo->isValid()) {
q->log(QJsonDocument(*result).toJson(QJsonDocument::Indented) + '\n'
+ tr("Server Info is not valid"));
+ tr("Server Info is invalid."));
} else {
m_serverName = serverInfo->name();
if (const Utils::optional<QString> version = serverInfo->version())

View File

@@ -93,7 +93,7 @@ void BaseClientInterface::parseCurrentMessage()
if (m_currentMessage.mimeType == JsonRpcMessage::jsonRpcMimeType()) {
emit messageReceived(JsonRpcMessage(m_currentMessage));
} else {
emit error(tr("Cannot handle mimetype of message %1")
emit error(tr("Cannot handle MIME type of message %1")
.arg(QString::fromUtf8(m_currentMessage.mimeType)));
}
m_currentMessage = BaseMessage();

View File

@@ -1299,8 +1299,8 @@ public:
layout->setContentsMargins(0, 0, 0, 0);
m_tripleLineEdit.setEnabled(false);
m_overrideCheckBox.setText(tr("Override for code model"));
m_overrideCheckBox.setToolTip(tr("Check this button in the rare case that the code model\n"
"fails because clang does not understand the target architecture."));
m_overrideCheckBox.setToolTip(tr("Enable in the rare case that the code model\n"
"fails because Clang does not understand the target architecture."));
layout->addWidget(&m_tripleLineEdit, 1);
layout->addWidget(&m_overrideCheckBox);
layout->addStretch(1);

View File

@@ -170,7 +170,7 @@ SimpleProjectWizard::SimpleProjectWizard()
setSupportedProjectTypes({QmakeProjectManager::Constants::QMAKEPROJECT_ID,
CMakeProjectManager::Constants::CMAKE_PROJECT_ID});
setIcon(ProjectExplorer::Icons::WIZARD_IMPORT_AS_PROJECT.icon());
setDisplayName(tr("Import as qmake or cmake Project (Limited Functionality)"));
setDisplayName(tr("Import as qmake or CMake Project (Limited Functionality)"));
setId("Z.DummyProFile");
setDescription(tr("Imports existing projects that do not use qmake, CMake, Qbs, Meson, or Autotools.<p>"
"This creates a project file that allows you to use %1 as a code editor "

View File

@@ -218,7 +218,7 @@ InterpreterOptionsWidget::InterpreterOptionsWidget(const QList<Interpreter> &int
m_cleanButton = new QPushButton(PythonSettings::tr("&Clean Up"));
connect(m_cleanButton, &QPushButton::pressed, this, &InterpreterOptionsWidget::cleanUp);
m_cleanButton->setToolTip(
PythonSettings::tr("Remove all python interpreters without a valid executable."));
PythonSettings::tr("Remove all Python interpreters without a valid executable."));
updateCleanButton();

View File

@@ -169,7 +169,7 @@ public:
m_ui.autoFormatOnSave->setChecked(s.autoFormatOnSave());
m_ui.autoFormatOnlyCurrentProject->setChecked(s.autoFormatOnlyCurrentProject());
m_ui.foldAuxDataCheckBox->setChecked(s.foldAuxData());
m_ui.uiQmlOpenComboBox->addItem(tr("Always ask"), "");
m_ui.uiQmlOpenComboBox->addItem(tr("Always Ask"), "");
m_ui.uiQmlOpenComboBox->addItem(tr("Qt Design Studio"), Core::Constants::MODE_DESIGN);
m_ui.uiQmlOpenComboBox->addItem(tr("Qt Creator"), Core::Constants::MODE_EDIT);
int comboIndex = m_ui.uiQmlOpenComboBox->findData(s.uiQmlOpenMode());