Fix trans key code

This commit is contained in:
Laurent Destailleur 2024-03-18 14:44:18 +01:00
parent de4933f814
commit 034ce8cb98
2 changed files with 3 additions and 3 deletions

View file

@ -43,10 +43,10 @@ function getHtmlOfLayout($name)
} else {
$out .= '<img alt="Gray rectangle" width="100px" height="100px" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABkCAIAAABM5OhcAAABGklEQVR4nO3SwQ3AIBDAsNLJb3SWIEJC9gR5ZM3MB6f9twN4k7FIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIuEsUgYi4SxSBiLhLFIGIvEBtxYAkgpLmAeAAAAAElFTkSuQmCC" />';
}
$out .= '</div>
$out .= '</div>
<h2>'.$langs->trans('TitleOfMailHolder').'</h2>
<div class="email-template-text">
<p>'.$langs->trans('ContentOfMailHOlder').'</p>
<p>'.$langs->trans('ContentOfMailHolder').'</p>
</div>';
if (!(empty($user->signature))) {
$out .= '<h4><strong>'.dol_htmlentities($user->signature).'</strong></h4>';

View file

@ -192,4 +192,4 @@ YouCanMakeSomeInstructionForEmail=You can make some instructions for your Email
ModelTemplate=Email template
YouCanChooseAModelForYouMailContent= You can choose one of template models or generate one with AI
TitleOfMailHolder=Title of the e-mail goes here
ContentOfMailHOlder=Content of email goes here...
ContentOfMailHolder=Content of email goes here...