N°5625 Fix crash when opening DocumentFile in ES language

Regression introduced in 3.0.1 with a merge : 67fa156c
The % was removed in 530ec111 but we kept the call to Dict::Format, and the merge restored the % in ES dict

A larger fix will be done later with N°5491
This commit is contained in:
Pierre Goiffon
2022-10-20 16:46:37 +02:00
parent 87db88254b
commit 4b670cfa90
3 changed files with 4 additions and 4 deletions

View File

@@ -3667,7 +3667,7 @@ HTML;
$sDisplayLabel = Dict::S('UI:OpenDocumentInNewWindow_');
$sDisplayUrl = $oDocument->GetDisplayURL(get_class($this), $this->GetKey(), $sAttCode);
$sDownloadLabel = Dict::Format('UI:DownloadDocument_');
$sDownloadLabel = Dict::S('UI:DownloadDocument_');
$sDownloadUrl = $oDocument->GetDownloadURL(get_class($this), $this->GetKey(), $sAttCode);
$sDisplayValue = <<<HTML