forked from qt-creator/qt-creator
Adapt to move of options to Edit > Preferences
Change-Id: I6881f658db9eec5059b434bce12093667535d5ac Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -51,10 +51,11 @@ QTCREATOR_UTILS_EXPORT ReloadPromptAnswer reloadPrompt(const FilePath &fileName,
|
||||
msg = QCoreApplication::translate("Utils::reloadPrompt",
|
||||
"The file <i>%1</i> has been changed on disk. Do you want to reload it?");
|
||||
}
|
||||
msg = "<p>" + msg.arg(fileName.fileName()) + "</p><p>" +
|
||||
QCoreApplication::translate("Utils::reloadPrompt",
|
||||
"The default behavior can be set in Tools > Options > Environment > System.")
|
||||
+ "</p>";
|
||||
msg = "<p>" + msg.arg(fileName.fileName()) + "</p><p>"
|
||||
+ QCoreApplication::translate(
|
||||
"Utils::reloadPrompt",
|
||||
"The default behavior can be set in Edit > Preferences > Environment > System.")
|
||||
+ "</p>";
|
||||
return reloadPrompt(title, msg, fileName.toUserOutput(), enableDiffOption, parent);
|
||||
}
|
||||
|
||||
|
||||
@@ -385,7 +385,7 @@ QWidget *AndroidBuildApkWidget::createAdditionalLibrariesGroup()
|
||||
|
||||
m_openSslCheckBox = new QCheckBox(tr("Include prebuilt OpenSSL libraries"));
|
||||
m_openSslCheckBox->setToolTip(tr("This is useful for apps that use SSL operations. The path "
|
||||
"can be defined in Tools > Options > Devices > Android."));
|
||||
"can be defined in Edit > Preferences > Devices > Android."));
|
||||
connect(m_openSslCheckBox, &QAbstractButton::clicked, this,
|
||||
&AndroidBuildApkWidget::onOpenSslCheckBoxChanged);
|
||||
|
||||
|
||||
@@ -194,7 +194,7 @@ void AndroidPlugin::askUserAboutAndroidSetup()
|
||||
info(kSetupAndroidSetting,
|
||||
tr("Would you like to configure Android options? This will ensure "
|
||||
"Android kits can be usable and all essential packages are installed. "
|
||||
"To do it later, select Options > Devices > Android."),
|
||||
"To do it later, select Edit > Preferences > Devices > Android."),
|
||||
Utils::InfoBarEntry::GlobalSuppression::Enabled);
|
||||
info.addCustomButton(tr("Configure Android"), [this] {
|
||||
Core::ICore::infoBar()->removeInfo(kSetupAndroidSetting);
|
||||
|
||||
@@ -411,7 +411,7 @@ void CorePlugin::warnAboutCrashReporing()
|
||||
Core::Constants::IDE_DISPLAY_NAME + tr(" > Preferences > Environment > System"));
|
||||
} else {
|
||||
warnStr = warnStr.arg(QLatin1String(Core::Constants::IDE_DISPLAY_NAME),
|
||||
tr("Tools > Options > Environment > System"));
|
||||
tr("Edit > Preferences > Environment > System"));
|
||||
}
|
||||
|
||||
Utils::InfoBarEntry info(kWarnCrashReportingSetting, warnStr,
|
||||
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
// This is typically the case for files that have not been opened yet,
|
||||
// but can also happen later after they have been opened.
|
||||
// The related setting for this is found in:
|
||||
// Options > Environment > System > Auto-suspend unmodified files
|
||||
// Edit > Preferences > Environment > System > Auto-suspend unmodified files
|
||||
bool isSuspended;
|
||||
// The entry has been pinned, which means that it should stick to
|
||||
// the top of any lists of open files, and that any actions that close
|
||||
|
||||
@@ -470,17 +470,18 @@ void createAutomaticKits(const SettingsHandler::Ptr &settingsHandler)
|
||||
}
|
||||
case McuAbstractPackage::Status::InvalidPath: {
|
||||
printMessage(McuPackage::tr(
|
||||
"Path %1 does not exist. Add the path in Tools > Options > "
|
||||
"Path %1 does not exist. Add the path in Edit > Preferences > "
|
||||
"Devices > MCU.")
|
||||
.arg(qtForMCUsPackage->path().toUserOutput()),
|
||||
true);
|
||||
break;
|
||||
}
|
||||
case McuAbstractPackage::Status::EmptyPath: {
|
||||
printMessage(McuPackage::tr(
|
||||
"Missing %1. Add the path in Tools > Options > Devices > MCU.")
|
||||
.arg(qtForMCUsPackage->detectionPath().toUserOutput()),
|
||||
true);
|
||||
printMessage(
|
||||
McuPackage::tr(
|
||||
"Missing %1. Add the path in Edit > Preferences > Devices > MCU.")
|
||||
.arg(qtForMCUsPackage->detectionPath().toUserOutput()),
|
||||
true);
|
||||
return;
|
||||
}
|
||||
default:
|
||||
@@ -492,7 +493,7 @@ void createAutomaticKits(const SettingsHandler::Ptr &settingsHandler)
|
||||
if (CMakeProjectManager::CMakeToolManager::cmakeTools().isEmpty()) {
|
||||
printMessage(
|
||||
McuPackage::tr(
|
||||
"No CMake tool was detected. Add a CMake tool in Tools > Options > "
|
||||
"No CMake tool was detected. Add a CMake tool in Edit > Preferences > "
|
||||
"Kits > CMake."),
|
||||
true);
|
||||
return;
|
||||
|
||||
@@ -128,7 +128,7 @@ void McuSupportPlugin::askUserAboutMcuSupportKitsSetup()
|
||||
|
||||
Utils::InfoBarEntry info(setupMcuSupportKits,
|
||||
tr("Create Kits for Qt for MCUs? "
|
||||
"To do it later, select Options > Devices > MCU."),
|
||||
"To do it later, select Edit > Preferences > Devices > MCU."),
|
||||
Utils::InfoBarEntry::GlobalSuppression::Enabled);
|
||||
// clazy:excludeall=connect-3arg-lambda
|
||||
info.addCustomButton(tr("Create Kits for Qt for MCUs"), [] {
|
||||
|
||||
@@ -119,7 +119,7 @@ static void askAboutQtInstallation()
|
||||
kLinkWithQtInstallationSetting,
|
||||
QtSupportPlugin::tr(
|
||||
"Link with a Qt installation to automatically register Qt versions and kits? To do "
|
||||
"this later, select Options > Kits > Qt Versions > Link with Qt."),
|
||||
"this later, select Edit > Preferences > Kits > Qt Versions > Link with Qt."),
|
||||
Utils::InfoBarEntry::GlobalSuppression::Enabled);
|
||||
info.addCustomButton(QtSupportPlugin::tr("Link with Qt"), [] {
|
||||
ICore::infoBar()->removeInfo(kLinkWithQtInstallationSetting);
|
||||
|
||||
@@ -106,7 +106,7 @@ void WebAssemblyPlugin::askUserAboutEmSdkSetup()
|
||||
|
||||
InfoBarEntry info(setupWebAssemblyEmSdk,
|
||||
tr("Setup Emscripten SDK for WebAssembly? "
|
||||
"To do it later, select Options > Devices > WebAssembly."),
|
||||
"To do it later, select Edit > Preferences > Devices > WebAssembly."),
|
||||
InfoBarEntry::GlobalSuppression::Enabled);
|
||||
info.addCustomButton(tr("Setup Emscripten SDK"), [setupWebAssemblyEmSdk] {
|
||||
ICore::infoBar()->removeInfo(setupWebAssemblyEmSdk);
|
||||
|
||||
Reference in New Issue
Block a user