Fixed document title issue..

This commit is contained in:
Cüneyt Şentürk
2021-06-27 17:54:05 +03:00
parent e803b4a2f0
commit 3ba29262be
2 changed files with 14 additions and 14 deletions

View File

@ -279,7 +279,7 @@ abstract class DocumentTemplate extends Base
return setting($type . '.title');
}
$translation = $this->getTextFromConfig($type, 'document_title', Str::plural($type));
$translation = $this->getTextFromConfig($type, 'document_title', Str::plural($type), 'trans_choice');
if (!empty($translation)) {
return trans_choice($translation, 1);