From 0cce58e0cf7e31d063b08bfd4e13b56afdb9a382 Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Wed, 1 Feb 2023 09:40:38 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B05904=20Fix=20hardcoded=20string=20when?= =?UTF-8?q?=20existing=20dict=20entry=20was=20available?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Application/UI/Links/Direct/BlockDirectLinksEditTable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/Application/UI/Links/Direct/BlockDirectLinksEditTable.php b/sources/Application/UI/Links/Direct/BlockDirectLinksEditTable.php index c1b4d00b1..62b02e7ad 100644 --- a/sources/Application/UI/Links/Direct/BlockDirectLinksEditTable.php +++ b/sources/Application/UI/Links/Direct/BlockDirectLinksEditTable.php @@ -168,7 +168,7 @@ class BlockDirectLinksEditTable extends UIContentBlock $this->AddSubBlock($aTablePanel); } catch (\Exception $e) { - $oAlert = AlertUIBlockFactory::MakeForDanger('error', 'error while trying to load datatable'); + $oAlert = AlertUIBlockFactory::MakeForDanger('error', Dict::S('UI:Datatables:Language:Error')); $oAlert->SetIsClosable(false); $oAlert->SetIsCollapsible(false); $this->AddSubBlock($oAlert);