Commit ae1fe5ea authored by sikeda's avatar sikeda
Browse files

[-dev] Non-English word "attachement".


git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@12684 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 36c8ee7e
...@@ -11633,7 +11633,7 @@ sub do_viewbounce { ...@@ -11633,7 +11633,7 @@ sub do_viewbounce {
Sympa::Archive::html_format( Sympa::Archive::html_format(
$bounce_message, $bounce_message,
'destination_dir' => $html_dir, 'destination_dir' => $html_dir,
'attachement_url' => '../viewbounce/' . $html_relpath 'attachment_url' => '../viewbounce/' . $html_relpath
) if $bounce_message; ) if $bounce_message;
} }
   
......
...@@ -886,7 +886,7 @@ sub html_format { ...@@ -886,7 +886,7 @@ sub html_format {
my $msg_as_string = $message->as_string; my $msg_as_string = $message->as_string;
my $destination_dir = $opts{'destination_dir'}; my $destination_dir = $opts{'destination_dir'};
my $attachement_url = $opts{'attachement_url'}; my $attachment_url = $opts{'attachment_url'};
my $mhonarc_ressources = my $mhonarc_ressources =
Sympa::search_fullpath($that, 'mhonarc-ressources.tt2'); Sympa::search_fullpath($that, 'mhonarc-ressources.tt2');
...@@ -931,7 +931,7 @@ sub html_format { ...@@ -931,7 +931,7 @@ sub html_format {
), ),
'-outdir' => $destination_dir, '-outdir' => $destination_dir,
'-attachmentdir' => $destination_dir, '-attachmentdir' => $destination_dir,
'-attachmenturl' => $attachement_url, '-attachmenturl' => $attachment_url,
'-umask' => $Conf::Conf{'umask'}, '-umask' => $Conf::Conf{'umask'},
'-stdout' => "$destination_dir/msg00000.html", '-stdout' => "$destination_dir/msg00000.html",
'--', '--',
...@@ -1219,7 +1219,7 @@ I<undef> if something goes wrong. ...@@ -1219,7 +1219,7 @@ I<undef> if something goes wrong.
=item html_format ( $message, =item html_format ( $message,
destination_dir =E<gt> $destination_dir, destination_dir =E<gt> $destination_dir,
attachement_url =E<gt> $attachement_url ) attachment_url =E<gt> $attachment_url )
I<Function>. I<Function>.
Converts a message to HTML. Converts a message to HTML.
...@@ -1239,7 +1239,10 @@ The directory result is stored in. ...@@ -1239,7 +1239,10 @@ The directory result is stored in.
=item $attachment_url =item $attachment_url
Base URL used to link attachements. Base URL used to link attachments.
Note:
On 6.2.13 and earlier, this option was named "C<attachB<e>ment_url>".
=back =back
......
...@@ -421,7 +421,7 @@ sub _new_from_template { ...@@ -421,7 +421,7 @@ sub _new_from_template {
$headers .= "\n"; $headers .= "\n";
} }
## All these data provide mail attachements in service messages # All these data provide mail attachments in service messages.
my @msgs = (); my @msgs = ();
if (ref($data->{'msg_list'}) eq 'ARRAY') { if (ref($data->{'msg_list'}) eq 'ARRAY') {
@msgs = @msgs =
......
...@@ -108,7 +108,7 @@ sub html_store { ...@@ -108,7 +108,7 @@ sub html_store {
$message, $message,
destination_dir => destination_dir =>
join('/', $self->{html_base_directory}, $list_id, $modkey), join('/', $self->{html_base_directory}, $list_id, $modkey),
attachement_url => join('/', '..', 'viewmod', $listname, $modkey) attachment_url => join('/', '..', 'viewmod', $listname, $modkey)
); );
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment