translate items of context menu of tree view
This commit is contained in:
parent
1c8734de53
commit
153efa048d
|
@ -711,6 +711,15 @@ void TreeWidget::changeEvent(QEvent *e)
|
|||
if (e->type() == QEvent::LanguageChange) {
|
||||
this->headerItem()->setText(0, tr("Labels & Attributes"));
|
||||
this->rootItem->setText(0, tr("Application"));
|
||||
|
||||
this->createGroupAction->setText(tr("Create group..."));
|
||||
this->createGroupAction->setStatusTip(tr("Create a group"));
|
||||
|
||||
this->relabelObjectAction->setText(tr("Rename"));
|
||||
this->relabelObjectAction->setStatusTip(tr("Rename object"));
|
||||
|
||||
this->finishEditingAction->setText(tr("Finish editing"));
|
||||
this->finishEditingAction->setStatusTip(tr("Finish editing object"));
|
||||
}
|
||||
|
||||
QTreeWidget::changeEvent(e);
|
||||
|
|
Loading…
Reference in New Issue
Block a user