forked from qt-creator/qt-creator
Fix missing of some translations
Task-number: QTCREATORBUG-13649 Change-Id: I69f78b3b8d2366003bfce81a2afba0068e716d22 Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -91,7 +91,7 @@ public:
|
||||
{
|
||||
m_iconButton = new IconButton;
|
||||
m_iconButton->setPixmap(QPixmap(QLatin1String(":/core/images/replace.png")));
|
||||
m_iconButton->setToolTip(tr("Insert variable"));
|
||||
m_iconButton->setToolTip(VariableChooser::tr("Insert variable"));
|
||||
m_iconButton->hide();
|
||||
connect(m_iconButton.data(), static_cast<void(QAbstractButton::*)(bool)>(&QAbstractButton::clicked),
|
||||
this, &VariableChooserPrivate::updatePositionAndShow);
|
||||
@@ -197,17 +197,17 @@ void VariableTreeView::contextMenuEvent(QContextMenuEvent *ev)
|
||||
QAction *insertExpandedAction = 0;
|
||||
|
||||
if (unexpandedText.isEmpty()) {
|
||||
insertUnexpandedAction = menu.addAction(tr("Insert unexpanded value"));
|
||||
insertUnexpandedAction = menu.addAction(VariableChooser::tr("Insert unexpanded value"));
|
||||
insertUnexpandedAction->setEnabled(false);
|
||||
} else {
|
||||
insertUnexpandedAction = menu.addAction(tr("Insert \"%1\"").arg(unexpandedText));
|
||||
insertUnexpandedAction = menu.addAction(VariableChooser::tr("Insert \"%1\"").arg(unexpandedText));
|
||||
}
|
||||
|
||||
if (expandedText.isEmpty()) {
|
||||
insertExpandedAction = menu.addAction(tr("Insert expanded value"));
|
||||
insertExpandedAction = menu.addAction(VariableChooser::tr("Insert expanded value"));
|
||||
insertExpandedAction->setEnabled(false);
|
||||
} else {
|
||||
insertExpandedAction = menu.addAction(tr("Insert \"%1\"").arg(expandedText));
|
||||
insertExpandedAction = menu.addAction(VariableChooser::tr("Insert \"%1\"").arg(expandedText));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user