$languageId =
$connection->
fetchOne( 'SELECT id FROM `language` WHERE `name` = :name',
['name' => self::GERMAN_LANGUAGE_NAME
] );
if (!\
is_string($languageId)) { return;
} $this->
updateMailTemplateTranslation($connection,
$templateId,
$languageId);
$this->
updateMailTemplateTypeTranslation($connection,
$templateTypeId,
$languageId);
} public function updateDestructive(Connection
$connection): void
{ } private function updateMailTemplateTranslation(Connection
$connection, string
$templateId, string
$languageId): void
{ $connection->
update( 'mail_template_translation',
['subject' => 'Ihre Bestellung bei {{ salesChannel.name }} ist unbestÃĪtigt'
],
[