From c8533d041794df6df058c19b4b07e7d16ae073cd Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Sat, 3 Aug 2019 17:29:23 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20Fix=20english=20sentences?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/Lufi/Controller/Invitation.pm | 2 +- themes/default/lib/Lufi/I18N/lufi.pot | 4 ++-- themes/default/templates/invitations/invite.mail.ep | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Lufi/Controller/Invitation.pm b/lib/Lufi/Controller/Invitation.pm index a3a4a25..29049e4 100644 --- a/lib/Lufi/Controller/Invitation.pm +++ b/lib/Lufi/Controller/Invitation.pm @@ -147,7 +147,7 @@ sub resend_invitations { ->from_token($token); if ($i->files_sent_at) { - push @failures, $c->l('The invitation %1 can’t be resend: %2 has already sent files.
Please create a new invitation.', $i->token, $i->guest_mail); + push @failures, $c->l('The invitation %1 can’t be resent: %2 has already sent files.
Please create a new invitation.', $i->token, $i->guest_mail); } else { if ($c->config('invitations')->{'extend_invitation_expiration_on_resend'}) { $i->expire_at(time + $i->expire_at - $i->created_at) diff --git a/themes/default/lib/Lufi/I18N/lufi.pot b/themes/default/lib/Lufi/I18N/lufi.pot index 4a17dc8..59a7369 100644 --- a/themes/default/lib/Lufi/I18N/lufi.pot +++ b/themes/default/lib/Lufi/I18N/lufi.pot @@ -583,7 +583,7 @@ msgstr "" #. ($i->token, $i->guest_mail) #: lib/Lufi/Controller/Invitation.pm:150 -msgid "The invitation %1 can’t be resend: %2 has already sent files.
Please create a new invitation." +msgid "The invitation %1 can’t be resent: %2 has already sent files.
Please create a new invitation." msgstr "" #. ($i->token) @@ -607,7 +607,7 @@ msgstr "" #. (stash('ldap_user') #: themes/default/templates/invitations/invite.mail.ep:11 -msgid "The links of your file(s) will automatically be send by mail to %1." +msgid "The links of your file(s) will automatically be sent by mail to %1." msgstr "" #: lib/Lufi/Controller/Mail.pm:97 diff --git a/themes/default/templates/invitations/invite.mail.ep b/themes/default/templates/invitations/invite.mail.ep index 2aa8e0c..6eb1f4a 100644 --- a/themes/default/templates/invitations/invite.mail.ep +++ b/themes/default/templates/invitations/invite.mail.ep @@ -8,7 +8,7 @@ %= l('Click on the following URL to upload files on Lufi:') %== stash('url') -%= l('The links of your file(s) will automatically be send by mail to %1.', stash('ldap_user')) +%= l('The links of your file(s) will automatically be sent by mail to %1.', stash('ldap_user')) %= l('This invitation is valid until %1.', stash('expires'))