forked from qt-creator/qt-creator
Some more tr fixes
- avoid manual line breaks - fix plural - add some translator comments - explicitly name an output pane - use imperative for placeholder text - it is a Markdown editor nowadays, not a viewer Change-Id: I8418cfe0294c028b7d873305db0af4c25bc1097f Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -417,9 +417,11 @@ public:
|
||||
QObject::connect(useCustomAnalyzer, &QCheckBox::stateChanged, this, [this](int checked){
|
||||
analyzerMessagesView->setEnabled(checked != Qt::Unchecked);
|
||||
});
|
||||
analyzerMessagesView->setToolTip(Tr::tr("Enabled checks can be disabled for non Qt Quick UI"
|
||||
" files,\nbut disabled checks cannot get explicitly"
|
||||
" enabled for non Qt Quick UI files."));
|
||||
analyzerMessagesView->setToolTip(
|
||||
"<html>"
|
||||
+ Tr::tr("Enabled checks can be disabled for non Qt Quick UI"
|
||||
" files, but disabled checks cannot get explicitly"
|
||||
" enabled for non Qt Quick UI files."));
|
||||
analyzerMessagesView->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
connect(analyzerMessagesView, &QTreeView::customContextMenuRequested,
|
||||
this, &QmlJsEditingSettingsPageWidget::showContextMenu);
|
||||
|
||||
Reference in New Issue
Block a user