Notification email with link problem when used with translation

Created on 1 October 2007, over 17 years ago
Updated 14 December 2023, about 1 year ago

hi,
I am using Drupal 5.2 with Postcard 5.x-1.1
I am also using the spanish translation.

When I get the email notification, the email link is put over the next word like that:

I have put in bold the link, which includes the "(Si" in the URL too.

Estimad@ John!Martin te mando una tarjeta electrónica.Puedes verla dando un clic en la siguiente liga:http://acropolis.org.mx/index.php?q=postcard/160/2kFnn79dN7w(Si tu email no te permite ver la liga activa, simplemente copiala y pegala en el campo de URL del navegador.)Cualquier queja relativa a esta tarjeta debe reportarse a -----------@--------.org.mx . La tarjeta fue mandada por el sitio Nueva Acrópolis

I haven´t changed the original code which is the following:

function _postcard_letter() {
  $output = t("Dear %recipient!\n\n%sender made an e-postcard for you.\nAt any time you may see your card by clicking this link:\n\n%card_url\n\n(if your email client doesn't allow you to click on the site link,\nthen just copy and paste the URL into your browser)\n\nAny complaints about this e-postcard service please send to %site_mail\n\n-- \nThis postcard was sent through %site");
  return $output;
}

Also, most of the phrases do not have spaces between then. How can I correct that?

Thanks much.

Michael Boudey

💬 Support request
Status

Fixed

Version

1.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024