N°6154 Fix some classes names hardcoded in dict entries and calls MetaModel GetName instead of hardcoded dict entry

This commit is contained in:
Stephen Abello
2023-05-10 10:03:02 +02:00
parent 4695511b46
commit 5219541b74
4 changed files with 11 additions and 10 deletions

View File

@@ -492,10 +492,10 @@ JS
$aRowActions = array();
$sRemoveButtonTooltip = $this->oAttributeLinkedSetIndirect->SearchSpecificLabel('UI:Links:Remove:Button+', '', true,
Dict::S("Class:{$this->oAttributeLinkedSetIndirect->GetHostClass()}"),
MetaModel::GetName($this->oAttributeLinkedSetIndirect->GetHostClass()),
$oHostObject->Get('friendlyname'),
$this->oAttributeLinkedSetIndirect->GetLabel(),
Dict::S("Class:{$this->oUILinksWidget->GetRemoteClass()}"));
MetaModel::GetName($this->oUILinksWidget->GetRemoteClass()));
if ($this->bIsAllowDelete) {
$aRowActions[] = array(