Note: You will not be able to check in " - "this file without merging the changes (not supported by the " - "plugin)
")); + ui->loadedText->setHtml("" + + tr("Note: You will not be able to check in this file without merging " + "the changes (not supported by the plugin)") + + "
"); m_stream = new QTextStream(message.toLocal8Bit(), QIODevice::ReadOnly | QIODevice::Text); QString line; while (!m_stream->atEnd() && !line.contains(QLatin1String("1) Loaded version"))) diff --git a/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp b/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp index 3a52d6911ce..b59fb5e2353 100644 --- a/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp +++ b/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp @@ -450,9 +450,9 @@ KitInformation::ItemList CMakeGeneratorKitInformation::toUserOutput(const Kit *k } else { message = tr("Generator: %1Specifying the module (base name of the library or executable) " - "for function or file type breakpoints can significantly speed up " - "debugger startup times (CDB, LLDB)."); + "
" + tr("Specifying the module (base name of the library or executable) " + "for function or file type breakpoints can significantly speed up " + "debugger startup times (CDB, LLDB).") + "
"; m_lineEditModule = new QLineEdit(groupBoxAdvanced); m_lineEditModule->setToolTip(moduleToolTip); m_labelModule = new QLabel(tr("&Module:"), groupBoxAdvanced); @@ -457,8 +457,8 @@ BreakpointDialog::BreakpointDialog(Breakpoint b, QWidget *parent) m_labelModule->setToolTip(moduleToolTip); const QString commandsToolTip = - tr("Debugger commands to be executed when the breakpoint is hit. " - "This feature is only available for GDB."); + "
" + tr("Debugger commands to be executed when the breakpoint is hit. " + "This feature is only available for GDB.") + "
"; m_textEditCommands = new SmallTextEdit(groupBoxAdvanced); m_textEditCommands->setToolTip(commandsToolTip); m_labelCommands = new QLabel(tr("&Commands:"), groupBoxAdvanced); diff --git a/src/plugins/debugger/commonoptionspage.cpp b/src/plugins/debugger/commonoptionspage.cpp index 7aeb3a7cb5e..d78e1b89481 100644 --- a/src/plugins/debugger/commonoptionspage.cpp +++ b/src/plugins/debugger/commonoptionspage.cpp @@ -320,10 +320,11 @@ QWidget *LocalsAndExpressionsOptionsPage::widget() auto groupBoxCustomDumperCommands = new QGroupBox(debuggingHelperGroupBox); groupBoxCustomDumperCommands->setTitle(tr("Debugging Helper Customization")); - groupBoxCustomDumperCommands->setToolTip(tr( - "Python commands entered here will be executed after built-in " - "debugging helpers have been loaded and fully initialized. You can load additional " - "debugging helpers or modify existing ones here.
")); + groupBoxCustomDumperCommands->setToolTip("" + + tr("Python commands entered here will be executed after built-in " + "debugging helpers have been loaded and fully initialized. You can " + "load additional debugging helpers or modify existing ones here.") + + "
"); auto textEditCustomDumperCommands = new QTextEdit(groupBoxCustomDumperCommands); textEditCustomDumperCommands->setAcceptRichText(false); diff --git a/src/plugins/debugger/debuggeritemmanager.cpp b/src/plugins/debugger/debuggeritemmanager.cpp index 9f543f01ab7..f78f9807995 100644 --- a/src/plugins/debugger/debuggeritemmanager.cpp +++ b/src/plugins/debugger/debuggeritemmanager.cpp @@ -401,10 +401,11 @@ void DebuggerItemConfigWidget::load(const DebuggerItem *item) const bool is64bit = is64BitWindowsSystem(); const QString versionString = is64bit ? tr("64-bit version") : tr("32-bit version"); //: Label text for path configuration. %2 is "x-bit version". - text = tr("Specify the path to the " - "Windows Console Debugger executable" - " (%2) here.
"""). - arg(QLatin1String(debuggingToolsWikiLinkC), versionString); + text = "" + + tr("Specify the path to the " + "Windows Console Debugger executable" + " (%2) here.").arg(QLatin1String(debuggingToolsWikiLinkC), versionString) + + "
"; versionCommand = QLatin1String("-version"); } else { versionCommand = QLatin1String("--version"); diff --git a/src/plugins/modeleditor/actionhandler.cpp b/src/plugins/modeleditor/actionhandler.cpp index d03730ccfe0..7af2c6c5fbc 100644 --- a/src/plugins/modeleditor/actionhandler.cpp +++ b/src/plugins/modeleditor/actionhandler.cpp @@ -218,7 +218,8 @@ void ActionHandler::createActions() registerCommand(Constants::ACTION_ADD_CANVAS_DIAGRAM, nullptr, Core::Context(), true, tr("Add Canvas Diagram")); d->synchronizeBrowserAction = registerCommand( Constants::ACTION_SYNC_BROWSER, nullptr, Core::Context(), true, - tr("Synchronize Browser and Diagram