Skip to content

Commit

Permalink
Use smart quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Aug 12, 2024
1 parent 7dd0283 commit 334b53b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/services/SendoutsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -400,11 +400,11 @@ public function sendNotification(SendoutElement $sendout): void

if ($sendout->sendStatus == SendoutElement::STATUS_SENT) {
$subject = Craft::t('campaign', 'Sending completed: {title}', $variables);
$htmlBody = Craft::t('campaign', 'Sending of the sendout "<a href="{sendoutUrl}">{title}</a>" has been successfully completed!!', $variables);
$htmlBody = Craft::t('campaign', 'Sending of the sendout <a href="{sendoutUrl}">{title}</a> has been successfully completed!!', $variables);
$plaintextBody = Craft::t('campaign', 'Sending of the sendout “{title}” [{sendoutUrl}] has been successfully completed!!', $variables);
} else {
$subject = Craft::t('campaign', 'Sending failed: {title}', $variables);
$htmlBody = Craft::t('campaign', 'Sending of the sendout "<a href="{sendoutUrl}">{title}</a>" failed after {sendAttempts} send attempt(s). Please check that your <a href="{emailSettingsUrl}">Campaign email settings</a> are correctly configured and check the error in the Craft log.', $variables);
$htmlBody = Craft::t('campaign', 'Sending of the sendout <a href="{sendoutUrl}">{title}</a> failed after {sendAttempts} send attempt(s). Please check that your <a href="{emailSettingsUrl}">Campaign email settings</a> are correctly configured and check the error in the Craft log.', $variables);
$plaintextBody = Craft::t('campaign', 'Sending of the sendout “{title}” [{sendoutUrl}] failed after {sendAttempts} send attempt(s). Please check that your Campaign email settings [{emailSettingsUrl}] are correctly configured and check the error in the Craft log.', $variables);
}

Expand Down
4 changes: 2 additions & 2 deletions src/translations/de/campaign.php
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@
'Sending' => 'Sende',
'Sending of the sendout “{title}” [{sendoutUrl}] failed after {sendAttempts} send attempt(s). Please check that your Campaign email settings [{emailSettingsUrl}] are correctly configured and check the error in the Craft log.' => 'Senden der Sendung “{title}” [{sendoutUrl}] nach {sendAttempts} Versuchen fehlgeschlagen. Bitte stellen Sie sicher, dass Ihre Campaign-E-Mail-Einstellungen [{emailSettingsUrl}] richtig konfiguriert sind und prüfen Sie die Craft-Fehler-Logs.',
'Sending of the sendout “{title}” [{sendoutUrl}] has been successfully completed!!' => 'Senden der Sendung “{title}” [{sendoutUrl}] erfolgreich beendet!!',
'Sending of the sendout "<a href="{sendoutUrl}">{title}</a>" failed after {sendAttempts} send attempt(s). Please check that your <a href="{emailSettingsUrl}">Campaign email settings</a> are correctly configured and check the error in the Craft log.' => 'Senden der Sendung "<a href="{sendoutUrl}">{title}</a>" nach {sendAttempts} Versuchen fehlgeschlagen. Bitte stellen Sie sicher, dass Ihre <a href="{emailSettingsUrl}">Campaign-E-Mail-Einstellungen</a> richtig konfiguriert sind und prüfen Sie die Craft-Fehler-Logs.',
'Sending of the sendout "<a href="{sendoutUrl}">{title}</a>" has been successfully completed!!' => 'Senden der Sendung "<a href="{sendoutUrl}">{title}</a>" erfolgreich beendet!!',
'Sending of the sendout <a href="{sendoutUrl}">{title}</a> failed after {sendAttempts} send attempt(s). Please check that your <a href="{emailSettingsUrl}">Campaign email settings</a> are correctly configured and check the error in the Craft log.' => 'Senden der Sendung <a href="{sendoutUrl}">{title}</a> nach {sendAttempts} Versuchen fehlgeschlagen. Bitte stellen Sie sicher, dass Ihre <a href="{emailSettingsUrl}">Campaign-E-Mail-Einstellungen</a> richtig konfiguriert sind und prüfen Sie die Craft-Fehler-Logs.',
'Sending of the sendout <a href="{sendoutUrl}">{title}</a> has been successfully completed!!' => 'Senden der Sendung <a href="{sendoutUrl}">{title}</a> erfolgreich beendet!!',
'Sendout' => 'Sendung',
'sendout' => 'Sendung',
'Sendout Activated!' => 'Sendung aktiviert!',
Expand Down
4 changes: 2 additions & 2 deletions src/translations/en/campaign.php
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@
'Sending' => '',
'Sending of the sendout “{title}” [{sendoutUrl}] failed after {sendAttempts} send attempt(s). Please check that your Campaign email settings [{emailSettingsUrl}] are correctly configured and check the error in the Craft log.' => '',
'Sending of the sendout “{title}” [{sendoutUrl}] has been successfully completed!!' => '',
'Sending of the sendout "<a href="{sendoutUrl}">{title}</a>" failed after {sendAttempts} send attempt(s). Please check that your <a href="{emailSettingsUrl}">Campaign email settings</a> are correctly configured and check the error in the Craft log.' => '',
'Sending of the sendout "<a href="{sendoutUrl}">{title}</a>" has been successfully completed!!' => '',
'Sending of the sendout <a href="{sendoutUrl}">{title}</a> failed after {sendAttempts} send attempt(s). Please check that your <a href="{emailSettingsUrl}">Campaign email settings</a> are correctly configured and check the error in the Craft log.' => '',
'Sending of the sendout <a href="{sendoutUrl}">{title}</a> has been successfully completed!!' => '',
'Sendout' => '',
'sendout' => '',
'Sendout Activated!' => '',
Expand Down
4 changes: 2 additions & 2 deletions src/translations/fr/campaign.php
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@
'Sending' => 'Envoi en cours',
'Sending of the sendout “{title}” [{sendoutUrl}] failed after {sendAttempts} send attempt(s). Please check that your Campaign email settings [{emailSettingsUrl}] are correctly configured and check the error in the Craft log.' => 'L’envoi de la campagne “{title}” [{sendoutUrl}] a échoué après {sendAttempts} tentative(s) d’envoi. Veuillez vérifier que les réglages de messagerie de votre newsletter [{emailSettingsUrl}] sont correctement configurés et vérifiez l’erreur dans les journaux.',
'Sending of the sendout “{title}” [{sendoutUrl}] has been successfully completed!!' => 'L’envoi de la campagne “{title}” [{sendoutUrl}] est un succès !',
'Sending of the sendout "<a href="{sendoutUrl}">{title}</a>" failed after {sendAttempts} send attempt(s). Please check that your <a href="{emailSettingsUrl}">Campaign email settings</a> are correctly configured and check the error in the Craft log.' => 'L’envoi de la campagne "<a href="{sendoutUrl}">{title}</a>" a échoué après {sendAttempts} tentative(s) d’envoi. Veuillez vérifier que vos <a href="{emailSettingsUrl}">réglages de campagne</a> sont correctement configurés et vérifiez l’erreur dans les journaux.',
'Sending of the sendout "<a href="{sendoutUrl}">{title}</a>" has been successfully completed!!' => 'L’envoi de la campagne "<a href="{sendoutUrl}">{title}</a>" est un succès !',
'Sending of the sendout <a href="{sendoutUrl}">{title}</a> failed after {sendAttempts} send attempt(s). Please check that your <a href="{emailSettingsUrl}">Campaign email settings</a> are correctly configured and check the error in the Craft log.' => 'L’envoi de la campagne <a href="{sendoutUrl}">{title}</a> a échoué après {sendAttempts} tentative(s) d’envoi. Veuillez vérifier que vos <a href="{emailSettingsUrl}">réglages de campagne</a> sont correctement configurés et vérifiez l’erreur dans les journaux.',
'Sending of the sendout <a href="{sendoutUrl}">{title}</a> has been successfully completed!!' => 'L’envoi de la campagne <a href="{sendoutUrl}">{title}</a> est un succès !',
'Sendout' => 'Campagne',
'sendout' => 'campagne',
'Sendout Activated!' => 'L’envoi est en cours',
Expand Down

0 comments on commit 334b53b

Please sign in to comment.