From bc2e25be99a8fe7b38b257e80b9f1be82b63efdd Mon Sep 17 00:00:00 2001 From: Molkobain Date: Thu, 19 Aug 2021 14:40:56 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B03918=20-=20Change=20missing=20object=20t?= =?UTF-8?q?ooltip=20text=20to=20"Object=20not=20found"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/attributedef.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php index bf5b23b8c..c8b9e3427 100644 --- a/core/attributedef.class.inc.php +++ b/core/attributedef.class.inc.php @@ -4123,7 +4123,7 @@ class AttributeText extends AttributeString { // Propose a std link to the object $sClassLabel = MetaModel::GetName($sClass); - $sToolTipForHtml = utils::EscapeHtml(Dict::S('Core:UnknownObjectTip')); + $sToolTipForHtml = utils::EscapeHtml(Dict::Format('Core:UnknownObjectLabel', $sClass, $sName)); $sReplacement = "$sClassLabel:$sName" . (!empty($sLabel) ? " ($sLabel)" : "") . ""; $sText = str_replace($aMatches[0], $sReplacement, $sText); // Later: propose a link to create a new object