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 <eike.ziller@qt.io>
This commit is contained in:
Leena Miettinen
2022-10-19 18:25:20 +02:00
parent b9e45d7b30
commit 7c9d1ef516
19 changed files with 24 additions and 24 deletions

View File

@@ -17906,7 +17906,7 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás
<translation>Shellové příkazy nejsou jako terminálové příkazy přípustné.</translation>
</message>
<message>
<source>Cannot start the terminal emulator &apos;%1&apos;, change the setting in the Environment options.</source>
<source>Cannot start the terminal emulator &apos;%1&apos;, change the setting in the Environment preferences.</source>
<translation>Emulátor terminálu &apos;%1&apos; se nepodařilo spustit. Změňte hodnotu v nastavení prostředí.</translation>
</message>
<message>

View File

@@ -38429,7 +38429,7 @@ Vil blive anvendt på blanktegn i kommentarer og strenge.</translation>
<translation>Terminal-kommando ikke være en skalkommando.</translation>
</message>
<message>
<source>Cannot start the terminal emulator &quot;%1&quot;, change the setting in the Environment options.</source>
<source>Cannot start the terminal emulator &quot;%1&quot;, change the setting in the Environment preferences.</source>
<translation>Kan ikke starte terminalemulatoren &quot;%1&quot;, skifte indstillingen i Miljø-valgmulighederne.</translation>
</message>
<message>

View File

@@ -8099,7 +8099,7 @@ Rename %2 to %3 anyway?</source>
<translation>Shell-Kommandos sind als Terminal-Kommando nicht zulässig.</translation>
</message>
<message>
<source>Cannot start the terminal emulator &quot;%1&quot;, change the setting in the Environment options.</source>
<source>Cannot start the terminal emulator &quot;%1&quot;, change the setting in the Environment preferences.</source>
<translation>Der Terminal-Emulator &quot;%1&quot; konnte nicht gestartet werden, ändern Sie den Wert in den Einstellungen zur Umgebung.</translation>
</message>
<message>

View File

@@ -2387,7 +2387,7 @@ Voulez vous les écraser ?</translation>
<translation>La commande terminal peut ne pas être une commande shell. </translation>
</message>
<message>
<source>Cannot start the terminal emulator &apos;%1&apos;, change the setting in the Environment options.</source>
<source>Cannot start the terminal emulator &apos;%1&apos;, change the setting in the Environment preferences.</source>
<translation>Impossible de démarrer l&apos;émulateur de terminal &quot;%1&quot;, modifiez les paramètres dans les options d&apos;environnement.</translation>
</message>
<message>

View File

@@ -10742,7 +10742,7 @@ with a password, which you can enter below.</source>
<translation></translation>
</message>
<message>
<source>Cannot start the terminal emulator &quot;%1&quot;, change the setting in the Environment options.</source>
<source>Cannot start the terminal emulator &quot;%1&quot;, change the setting in the Environment preferences.</source>
<translation> &quot;%1&quot; </translation>
</message>
<message>

View File

@@ -1785,7 +1785,7 @@ Przyczyna: %3</translation>
<translation>Komenda terminala nie musi być komendą powłoki.</translation>
</message>
<message>
<source>Cannot start the terminal emulator &quot;%1&quot;, change the setting in the Environment options.</source>
<source>Cannot start the terminal emulator &quot;%1&quot;, change the setting in the Environment preferences.</source>
<translation>Nie można uruchomić emulatora terminala &quot;%1&quot;, zmień ustawienie w opcjach środowiska.</translation>
</message>
<message>

View File

@@ -48680,7 +48680,7 @@ in &quot;%2&quot;.
<translation>Терминальная команда, возможно, не является командой оболочки.</translation>
</message>
<message>
<source>Cannot start the terminal emulator &quot;%1&quot;, change the setting in the Environment options.</source>
<source>Cannot start the terminal emulator &quot;%1&quot;, change the setting in the Environment preferences.</source>
<translation>Не удалось запустить эмулятор терминала «%1», смените настройки в параметрах среды.</translation>
</message>
<message>

View File

@@ -22905,7 +22905,7 @@ Will not be applied to whitespace in comments and strings.</source>
<translation>Термінальна команда, можливо, не є командою оболонки.</translation>
</message>
<message>
<source>Cannot start the terminal emulator &quot;%1&quot;, change the setting in the Environment options.</source>
<source>Cannot start the terminal emulator &quot;%1&quot;, change the setting in the Environment preferences.</source>
<translation>Неможливо запустити емулятор терміналу &quot;%1&quot;, змініть налаштування в опціях середовища.</translation>
</message>
<message>

View File

@@ -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);

View File

@@ -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;

View File

@@ -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;
}

View File

@@ -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;

View File

@@ -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);

View File

@@ -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()

View File

@@ -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);

View File

@@ -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);

View File

@@ -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) {

View File

@@ -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());

View File

@@ -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));
}