fix extra whitespace

This commit is contained in:
Jean-Christian Denis 2021-11-01 22:24:53 +01:00
parent 58b60f0b17
commit 60960c2f01
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -735,9 +735,9 @@ class dcTranslaterModule
$content = ''; $content = '';
if ($this->translater->parse_comment) { if ($this->translater->parse_comment) {
$content .= $content .=
'// Language: ' . $lang->name . " \n" . '// Language: ' . $lang->name . "\n" .
'// Module: ' . $this->id . " - " . $this->verison . "\n" . '// Module: ' . $this->id . " - " . $this->verison . "\n" .
'// Date: ' . dt::str('%Y-%m-%d %H:%M:%S') . " \n"; '// Date: ' . dt::str('%Y-%m-%d %H:%M:%S') . "\n";
if ($this->translater->parse_user && !empty($this->translater->parse_userinfo)) { if ($this->translater->parse_user && !empty($this->translater->parse_userinfo)) {
$search = dcTranslater::$allowed_user_informations; $search = dcTranslater::$allowed_user_informations;
@ -750,7 +750,7 @@ class dcTranslaterModule
} }
} }
$content .= $content .=
'// Translated with dcTranslater - ' . $this->core->plugins->moduleInfo('translater', 'version') . " \n\n"; '// Translated with dcTranslater - ' . $this->core->plugins->moduleInfo('translater', 'version') . "\n\n";
} }
l10n::generatePhpFileFromPo($this->locales . '/' . $lang->code . '/' . $group, $content); l10n::generatePhpFileFromPo($this->locales . '/' . $lang->code . '/' . $group, $content);