Commit e39d9c77 authored by olivier.salaun's avatar olivier.salaun
Browse files

Change: all service messages are now UTF8

Also made the templates structure simpler


git-svn-id: https://subversion.renater.fr/sympa/trunk@4150 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent f193731c
From: [% fromlist %]
To: [% to %]
Subject: [% FILTER qencode %][%subject%][%END%]
Mime-version: 1.0
Content-Type: multipart/mixed; charset=[% charset %]; boundary="[% boundary%]"
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
Content-Type: multipart/mixed; boundary="[% boundary%]"
--[% boundary %]
Content-Type: message/rfc822
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
X-Sympa-Attach: yes
......
From: [% fromlist %]
Subject: [% FILTER qencode %][%|loc(list.name)%]Unsubscribed from %1[%END%][%END%]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
[%|loc(user.email,list.name,list.host)%]Your email address (%1) has been removed from list %2@%3[%END%]
[%|loc%]bye ![%END%]
From: SYMPA <[% conf.email %]@[% conf.host %]>
Subject: [% FILTER qencode %][%|loc%]near expiration of your certificate[%END%][%END%]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
[%|loc(expiration_date)%]Your authentification certificate will expire on %1.[%END%]
[%|loc%]The certificate subject is :[%END%]
......
......@@ -2,9 +2,6 @@ From: SYMPA <[% conf.email %]@[% conf.host %]>
To: [% to %]
Subject: [% FILTER qencode %][%|loc%]Results of your commands[%END%][%END%]
X-Loop: [% conf.sympa %]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
[%############################-%]
[%########## SUCCESS #########-%]
......
From: [% fromlist %]
Subject: [% FILTER qencode %][%|loc%]Your document has been installed.[%END%][%END%]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
[%|loc(filename,list.name,list.host,installed_by)%]Your document %1 for list %2@%3
has been installed by %4 list editor.[%END%]
......
From: [% fromlist %]
Subject: [% FILTER qencode %][%|loc%]Your document has been rejected.[%END%][%END%]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
[%|loc(filename,list.name,list.host,rejected_by)%]Your document %1 for list %2@%3
has been rejected by %4 list editor.[%END%]
......@@ -2,12 +2,11 @@ From: [% fromlist %]
To: [% to %]
Reply-to: [% replyto %]
Subject: [% FILTER qencode %][%|loc(list.name)%]Digest for list %1[%END%] [% IF total_group > 1 -%]([% current_group %]/[% total_group %])[% END %][%END%]
Mime-version: 1.0
Content-Type: multipart/mixed; boundary="[% boundary1 %]"
--[% boundary1 %]
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
Content-Type: text/plain; charset="UTF-8";
Content-Transfer-Encoding: 8bit
[%|loc%]Table of contents:[%END%]
......@@ -31,8 +30,8 @@ X-Sympa-Attach: yes
[% END %]
--[% boundary2 %]
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
Content-Type: text/plain; charset="UTF-8";
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
[%|loc(list.name,date)%]End of digest for list %1 - %2[%END%]
......
......@@ -2,9 +2,6 @@ From: [% fromlist %]
To: [% to %]
Reply-to: [% replyto %]
Subject: [% FILTER qencode %][%|loc(list.name,date)%]%1 Digest %2[%END%] [% IF total_group > 1 -%]([% current_group %]/[% total_group %])[% END %][%END%]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
[%|loc(list.name,date)%]%1 Digest %2[%END%]
......
From: [% fromlist %]
Subject: [% FILTER qencode %][%|loc(list.name)%]Removed from %1[%END%][%END%]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
[%|loc(user.email,list.name,list.host)%]Your address (%1) has been removed from list
%2@%3
......
From: [% conf.email %]@[% conf.host %]
Subject: [% FILTER qencode %][%|loc(list.name)%]resubscription to %1[%END%][%END%]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
[%|loc(list.name,list.host,user.email)%]You have been subscriber of list %1@%2 with email %3 for 1 year or more;[%END%]
mailto:[% conf.email %]@[% conf.host %]?subject=sub%20[% list.name %]
......
From: [% fromlist %]
Subject: [% FILTER qencode %][%|loc(list.name)%]resubscription to %1[%END%][%END%]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Tansfer-Encoding: [%|loc%]_encoding_[%END%]
[%|loc(list.name,list.host,user.email)%]You have been subscriber of list %1@%2 with email %3 for 1 year or more;[%END%]
mailto:[% conf.email %]@[% conf.host %]?subject=sub%20[% list.name %]
......
From: [% from %]
To: [% to %]
Subject: [% FILTER qencode %][%|loc(list.name)%]Archive of %1, file %2[%END%][%END%]
Mime-version: 1.0
Content-Type: multipart/mixed; boundary="[% boundary1 %]"
--[% boundary1 %]
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
Content-Type: text/plain; charset="UTF-8";
Content-Transfer-Encoding: 8bit
[%|loc%]Table of contents:[%END%]
......@@ -30,8 +29,8 @@ X-Sympa-Attach: yes
[% END %]
--[% boundary2 %]
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
Content-Type: text/plain; charset="UTF-8";
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
[%|loc(list.name,date)%]End of digest for list %1 - %2[%END%]
......
From: SYMPA <[% conf.email %]@[% conf.host %]>
Subject: [% FILTER qencode %][%|loc%]Subscription summary[%END%][%END%]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
[%|loc(user.email)%]Summary of your subscription (using the e-mail %1).[%END%]
[%|loc%]If you want to unsubscribe from some list, please save this mail.[%END%]
......
From: SYMPA <[% conf.email %]@[% conf.host %]>
Subject: [% FILTER qencode %][%|loc%]User guide[%END%][%END%]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
SYMPA -- Systeme de Multi-Postage Automatique
(Automatic Mailing System)
......
From: SYMPA <[% conf.email %]@[% conf.host %]>
Subject: [% FILTER qencode %][%|loc(list.name)%]Archives index of list %1[%END%][%END%]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
[% FOREACH a = archives -%]
[% a -%]
......
From: [% fromlist %]
Subject: [% FILTER qencode %][%|loc(list.name)%]INFO %1[%END%][%END%]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
[%|loc(list.name,list.host)%]Information regarding list %1@%2[%END%] :
......
From: [% requested_by %]
Reply-To: [% conf.sympa %]
Subject: [% FILTER qencode %][%|loc(list.name)%]Invitation to join list %1[%END%][%END%]
Mime-version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
[%|loc(list.subject)%]This list is about %1, so you are probably concerned.[%END%]
......
From: SYMPA <[% conf.email %]@[% conf.host %]>
Subject: [% FILTER qencode %][%|loc(list.name)%]%1 mailing list creation[%END%][%END%]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
[%|loc(list.name,list.host)%]%1@%2 mailing list has been activated by listmaster.[%END%]
......
From: SYMPA <[% conf.email %]@[% conf.host %]>
Subject: [% FILTER qencode %][% list.name %][%END%]
MIME-Version: 1.0
Content-Type: text/plain; charset=[% charset %];
Content-Transfer-Encoding: [%|loc%]_encoding_[%END%]
[%|loc(list.name,list.host)%]%1@%2 mailing list has been rejected by listmaster.[%END%]
From: SYMPA <[% conf.email %]@[% conf.host %]>
To: [% to %]
Subject: [% FILTER qencode %][%|loc%]List unknown[%END%][%END%]
Mime-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="[% boundary %]"
--[% boundary %]
Content-Description: Notification
Content-Type: text/plain; charset=[% charset %];
Content-Type: text/plain; charset="UTF-8";
[%|loc%]This is an automatic response sent by Sympa Mailing Lists Manager.[%END%]
......
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