fixes #2287 add a new language key

This commit is contained in:
Linty 2024-12-19 16:40:38 +01:00
parent fc5bc47bc3
commit 0645372570
3 changed files with 4 additions and 1 deletions

View file

@ -1068,9 +1068,10 @@ function pwg_generate_set_password_mail($username, $set_password_link, $gallery_
unset_make_full_url(); unset_make_full_url();
$message = trigger_change('render_lost_password_mail_content', $message); $message = trigger_change('render_lost_password_mail_content', $message);
$subject = l10n('Welcome to %s', $gallery_title);
return array( return array(
'subject' => l10n('Welcome to ') . '['.$gallery_title.']', 'subject' => $subject,
'content' => $message, 'content' => $message,
'content_format' => 'text/html', 'content_format' => 'text/html',
); );

View file

@ -1406,4 +1406,5 @@ $lang['Ok, got it!'] = 'Ok, got it!';
$lang['This link is valid for %s. After this time, you will need to request a new link.'] = 'This link is valid for %s. After this time, you will need to request a new link.'; $lang['This link is valid for %s. After this time, you will need to request a new link.'] = 'This link is valid for %s. After this time, you will need to request a new link.';
$lang['To set your password, visit the following address:'] = 'To set your password, visit the following address:'; $lang['To set your password, visit the following address:'] = 'To set your password, visit the following address:';
$lang['A photo library administrator has created the following account for you:'] = 'A photo library administrator has created the following account for you:'; $lang['A photo library administrator has created the following account for you:'] = 'A photo library administrator has created the following account for you:';
$lang['Welcome to %s'] = 'Welcome to %s';
// Leave this line empty // Leave this line empty

View file

@ -1408,4 +1408,5 @@ $lang['Ok, got it!'] = 'Ok, j\'ai compris!';
$lang['This link is valid for %s. After this time, you will need to request a new link.'] = 'Ce lien est valide pendant %s. Passé ce délai, vous devrez demander un nouveau lien.'; $lang['This link is valid for %s. After this time, you will need to request a new link.'] = 'Ce lien est valide pendant %s. Passé ce délai, vous devrez demander un nouveau lien.';
$lang['To set your password, visit the following address:'] = 'Pour définir votre mot de passe, rendez-vous à l\'adresse suivante :'; $lang['To set your password, visit the following address:'] = 'Pour définir votre mot de passe, rendez-vous à l\'adresse suivante :';
$lang['A photo library administrator has created the following account for you:'] = 'Un administrateur de la photothèque vous a créé le compte suivant :'; $lang['A photo library administrator has created the following account for you:'] = 'Un administrateur de la photothèque vous a créé le compte suivant :';
$lang['Welcome to %s'] = 'Bienvenue sur %s';
// Leave this line empty // Leave this line empty