OVH Cloud OVH Cloud

Reply Header

1 réponse
Avatar
olive.xavier
D'après :

--------------------------------------------------------
// Change the reply header
// 0 - No Reply-Text
// 1 - <Author> wrote: - Netscape 3.xx/4.xx style
// 2 - On <date> <author> wrote:
// 3 - user-defined string. Use the prefs below in conjuction with this.
user_pref("mailnews.reply_header_type", 3);
// If you set 3 for the pref above then you may set the following prefs.
// The end result will be <authorwrote><separator><ondate><colon>
user_pref("mailnews.reply_header_authorwrote", "%s said the following");
user_pref("mailnews.reply_header_ondate", "on %s");
user_pref("mailnews.reply_header_separator", " ");
user_pref("mailnews.reply_header_colon", ":");
--------------------------------------------------------

j'ai mis ceci dans mon user.js :

--------------------------------------------------------
user_pref("mailnews.reply_header_type", 3);
user_pref("mailnews.reply_header_locale", "fr-FR");
user_pref("mailnews.reply_header_authorwrote", "Bonjour %s");
user_pref("mailnews.reply_header_separator", "\r\n");
user_pref("mailnews.reply_header_ondate", "le %s, vous m'avez
&eacute;crit");
user_pref("mailnews.reply_header_colon", " :");
--------------------------------------------------------

Néanmoins, deux problèmes persistent :

1. la date reste au format "étranger" (d'ailleurs, j'aimerais bien
ne pas laisser l'heure !);
2. Mozilla ne va pas à la ligne après 'authorwrote' malgré le \n

Est-ce que quelqu'un a déjà eu ces problèmes, parce que là je ne trouve
vraiment plus rien !!!

Merci

1 réponse

Avatar
Olivier Miakinen

j'ai mis ceci dans mon user.js :

--------------------------------------------------------
user_pref("mailnews.reply_header_type", 3);
user_pref("mailnews.reply_header_locale", "fr-FR");
user_pref("mailnews.reply_header_authorwrote", "Bonjour %s");
user_pref("mailnews.reply_header_separator", "rn");
user_pref("mailnews.reply_header_ondate", "le %s, vous m'avez
&eacute;crit");
user_pref("mailnews.reply_header_colon", " :");
--------------------------------------------------------

Néanmoins, deux problèmes persistent :

1. la date reste au format "étranger" (d'ailleurs, j'aimerais bien
ne pas laisser l'heure !);
2. Mozilla ne va pas à la ligne après 'authorwrote' malgré le n


Je ne sais pas si cela peut t'aider, mais moi j'ai ceci :

user_pref("mailnews.reply_header_type", 2);
user_pref("mailnews.reply_header_ondate", "Le %s");
user_pref("mailnews.reply_header_authorwrote", "%s a écrit");
user_pref("mailnews.reply_header_locale", "fr-fr");
user_pref("mailnews.reply_header_colon", " :");

a) J'ai bien la date au format français (heure comprise).
b) Je ne sais pas comment faire pour aller à la ligne.
c) Le « écrit » vient du fait que j'édite en windows-1252 un fichier
UTF-8. Si tu as un éditeur UTF-8, il suffit de mettre « écrit ».
En revanche, le « &eacute;crit » ne fonctionne plus avec les
versions récentes de Mozilla ou Thunderbird.