N°5981 - Change links Add button tooltip dict entry / value

This commit is contained in:
Stephen Abello
2023-04-13 10:41:34 +02:00
parent 4bab32264b
commit 615a38cfe3
15 changed files with 15 additions and 15 deletions

View File

@@ -194,7 +194,7 @@ class BlockIndirectLinkSetEditTable extends UIContentBlock
$oToolbar->AddSubBlock($oActionButtonUnlink);
$oActionButtonLink = ButtonUIBlockFactory::MakeNeutral(Dict::S('UI:Button:Add'));
$oActionButtonLink->SetTooltip(Dict::Format('UI:AddAnExisting_Class', MetaModel::GetName($this->oAttributeLinkedSetIndirect->GetLinkedClass())))
$oActionButtonLink->SetTooltip(Dict::Format('UI:AddLinkedObjectsOf_Class', MetaModel::GetName($this->oAttributeLinkedSetIndirect->GetLinkedClass())))
->SetOnClickJsCode("oWidget{$this->oUILinksWidget->GetInputId()}.AddObjects();")
->AddDataAttribute('action', 'add');
$oToolbar->AddSubBlock($oActionButtonLink);