N°5904 Fix hardcoded strings when existing dict entries were available

This commit is contained in:
Stephen Abello
2023-02-01 09:33:58 +01:00
parent 0b1352fe37
commit 7fb10da013
2 changed files with 3 additions and 2 deletions

View File

@@ -144,7 +144,7 @@ class BlockDirectLinksEditTable extends UIContentBlock
// Panel
$aTablePanel = PanelUIBlockFactory::MakeForClass($this->oUILinksDirectWidget->GetLinkedClass(), $this->oAttributeLinkedSet->GetLabel())
->SetSubTitle(sprintf('Total: %d objects.', count($aRows)))
->SetSubTitle(Dict::Format('UI:Pagination:HeaderNoSelection', count($aRows)))
->SetIcon(MetaModel::GetClassIcon($this->oUILinksDirectWidget->GetLinkedClass(), false))
->AddCSSClass('ibo-datatable-panel');