diff options
author | svncommit <devs@roundcube.net> | 2006-07-03 20:14:26 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2006-07-03 20:14:26 +0000 |
commit | b4b081713ee88c9a7b2515d18c36bedf966641ce (patch) | |
tree | 26f751bf24530a6974827f9efc00f80a26fb2cfb /program | |
parent | 50844277ca2ce9b98f5d732b07ffe7a4627ff72c (diff) |
Workaround for drag-drop using whitespace in FF, Junk emptying, misc fixes
Diffstat (limited to 'program')
-rw-r--r-- | program/js/app.js | 6 | ||||
-rw-r--r-- | program/js/common.js | 2 | ||||
-rw-r--r-- | program/localization/fr/labels.inc | 21 | ||||
-rw-r--r-- | program/localization/fr/messages.inc | 20 | ||||
-rw-r--r-- | program/localization/it/labels.inc | 2 | ||||
-rw-r--r-- | program/localization/it/messages.inc | 4 | ||||
-rw-r--r-- | program/localization/nl_NL/labels.inc | 2 | ||||
-rw-r--r-- | program/steps/mail/func.inc | 7 |
8 files changed, 43 insertions, 21 deletions
diff --git a/program/js/app.js b/program/js/app.js index 174920cc8..c60f62f29 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -153,7 +153,7 @@ function rcube_webmail() if (this.env.messagecount) this.enable_command('select-all', 'select-none', 'sort', 'expunge', true); - if (this.env.messagecount && this.env.mailbox==this.env.trash_mailbox) + if (this.env.messagecount && (this.env.mailbox==this.env.trash_mailbox || this.env.mailbox==this.env.junk_mailbox)) this.enable_command('purge', true); this.set_page_buttons(); @@ -893,7 +893,7 @@ function rcube_webmail() } else if (props) - url += '&_to='+props; + url += '&_to='+encodeURIComponent(props); // don't know if this is necessary... url = url.replace(/&_framed=1/, ""); @@ -1352,7 +1352,7 @@ function rcube_webmail() if (this.env.mailbox==this.env.drafts_mailbox) { this.enable_command('show', selected); - this.enable_command('delete', this.selection.length>0 ? true : false); + this.enable_command('delete', 'moveto', this.selection.length>0 ? true : false); } else { diff --git a/program/js/common.js b/program/js/common.js index f9fb9c1db..65341a758 100644 --- a/program/js/common.js +++ b/program/js/common.js @@ -395,4 +395,4 @@ function getCookie(name) } -var bw = new roundcube_browser();
\ No newline at end of file +var bw = new roundcube_browser(); diff --git a/program/localization/fr/labels.inc b/program/localization/fr/labels.inc index 9362ed7e5..56de8d553 100644 --- a/program/localization/fr/labels.inc +++ b/program/localization/fr/labels.inc @@ -12,7 +12,7 @@ | Author: aldweb <info@aldweb.com>, Pierre HAEGELI <pierre@haegeli.net> | +-----------------------------------------------------------------------+ - $Id$ + $Id: labels.inc 220 2006-06-12 17:33:21Z roundcube $ */ @@ -33,7 +33,6 @@ $labels['addressbook'] = 'Carnet d\'adresses'; // mailbox names $labels['inbox'] = 'Boîte de réception'; -$labels['drafts'] = 'Ébauches'; $labels['sent'] = 'Messages envoyés'; $labels['trash'] = 'Corbeille'; $labels['drafts'] = 'Brouillons'; @@ -66,7 +65,7 @@ $labels['filesize'] = 'Taille du fichier'; $labels['preferhtml'] = 'Préférer HTML'; $labels['htmlmessage'] = 'Message HTML'; -$labels['prettydate'] = 'Belles dates'; +$labels['prettydate'] = 'Affichage réduit des dates'; $labels['addtoaddressbook'] = 'Ajouter au carnet d\'adresses'; @@ -91,7 +90,6 @@ $labels['saturday'] = 'Samedi'; $labels['today'] = 'Aujourd\'hui'; // toolbar buttons -$labels['checkmail'] = 'Vérification les nouveaux messages'; $labels['writenewmessage'] = 'Créer un nouveau message'; $labels['replytomessage'] = 'Répondre au message'; $labels['replytoallmessage'] = 'Répondre à tous'; @@ -113,14 +111,23 @@ $labels['empty'] = 'Vider'; $labels['purge'] = 'Purger'; $labels['quota'] = 'Utilisation Disque'; +$labels['unknown'] = 'inconnue'; +$labels['unlimited'] = 'illimitée'; +$labels['quicksearch'] = 'Recherche rapide'; +$labels['resetsearch'] = 'Réinitialiser la recherche'; // message compose $labels['compose'] = 'Composer un nouveau message'; -$labels['savemessage'] = 'Économiser cette ébauche'; $labels['sendmessage'] = 'Envoyer le message maintenant'; $labels['addattachment'] = 'Joindre un fichier'; $labels['charset'] = 'Encodage'; +$labels['returnreceipt'] = 'Accusé de réception'; + +$labels['checkmail'] = 'Vérification des nouveaux messages'; +$labels['checkspelling'] = 'Vérifier l\'orthographe'; +$labels['resumeediting'] = 'Retourner à l\'édition'; +$labels['revertto'] = 'Revenir à'; $labels['attachments'] = 'Fichiers joints'; $labels['upload'] = 'Joindre'; @@ -158,6 +165,9 @@ $labels['contactsfromto'] = 'Contacts $from à $to sur $count'; $labels['print'] = 'Imprimer'; $labels['export'] = 'Exporter'; +$labels['previouspage'] = 'Montrer page précédente'; +$labels['nextpage'] = 'Montrer page suivante'; + // LDAP search $labels['ldapsearch'] = 'Recherche dans répertoires LDAP'; @@ -188,6 +198,7 @@ $labels['language'] = 'Langue'; $labels['timezone'] = 'Fuseau horaire'; $labels['pagesize'] = 'Nombre de lignes par page'; $labels['signature'] = 'Signature'; +$labels['dstactive'] = 'Heure d\'été'; $labels['folder'] = 'Dossier'; $labels['folders'] = 'Dossiers'; diff --git a/program/localization/fr/messages.inc b/program/localization/fr/messages.inc index b0847107e..e85dc97ee 100644 --- a/program/localization/fr/messages.inc +++ b/program/localization/fr/messages.inc @@ -12,7 +12,7 @@ | Author: aldweb <info@aldweb.com>, Pierre HAEGELI <pierre@haegeli.net> | +-----------------------------------------------------------------------+ - $Id$ + $Id: messages.inc 139 2006-06-12 17:32:27Z roundcube $ */ @@ -36,16 +36,10 @@ $messages['loading'] = 'Chargement en cours...'; $messages['loadingdata'] = 'Chargement des données en cours...'; -$messages['checkingmail'] = 'Vérification les nouveaux messages...'; - $messages['sendingmessage'] = 'Message en cours d\'envoi...'; $messages['messagesent'] = 'Message envoyé'; -$messages['savingmessage'] = 'Message d\'économie...'; - -$messages['messagesaved'] = 'Message sauvé aux ébauches'; - $messages['successfullysaved'] = 'Sauvegarde effectuée'; $messages['addedsuccessfully'] = 'Contact ajouté dans le carnet d\'adresses'; @@ -94,4 +88,16 @@ $messages['nocontactsreturned'] = 'Aucun contact trouvé'; $messages['nosearchname'] = 'Entrez un nom ou une adresse e-Mail de contact'; +$messages['searchsuccessful'] = '$nr messages trouvés'; + +$messages['searchnomatch'] = 'Aucun résultat trouvé'; + +$messages['searching'] = 'En cours de recherche...'; + +$messages['checking'] = 'Vérification...'; + +$messages['nospellerrors'] = 'Aucune faute trouvée'; + +$messages['checkingmail'] = 'Vérification des nouveaux messages ...'; + ?> diff --git a/program/localization/it/labels.inc b/program/localization/it/labels.inc index 0f78e7014..08848a9f7 100644 --- a/program/localization/it/labels.inc +++ b/program/localization/it/labels.inc @@ -117,7 +117,7 @@ $labels['quota'] = 'Utilizzo spazio'; // message compose $labels['compose'] = 'Componi un messaggio'; -$labels['savemessage'] = 'Risparmi questa brutta copia'; +$labels['savemessage'] = 'Salva messaggio come bozza'; $labels['sendmessage'] = 'Invia il messaggio adesso'; $labels['addattachment'] = 'Allega un file'; $labels['charset'] = 'Set di caratteri'; diff --git a/program/localization/it/messages.inc b/program/localization/it/messages.inc index 92b7013c3..3472b25a2 100644 --- a/program/localization/it/messages.inc +++ b/program/localization/it/messages.inc @@ -42,9 +42,9 @@ $messages['sendingmessage'] = 'Invio messaggio in corso...'; $messages['messagesent'] = 'Messaggio inviato correttamente'; -$messages['savingmessage'] = 'Messaggio di Saving...'; +$messages['savingmessage'] = 'Salvataggio bozza...'; -$messages['messagesaved'] = 'Messaggio conservato alle brutte copie'; +$messages['messagesaved'] = 'Messaggio salvato come bozza'; $messages['successfullysaved'] = 'Salvato correttamente'; diff --git a/program/localization/nl_NL/labels.inc b/program/localization/nl_NL/labels.inc index 5f9d5e860..ebbad9ebc 100644 --- a/program/localization/nl_NL/labels.inc +++ b/program/localization/nl_NL/labels.inc @@ -140,7 +140,7 @@ $labels['showimages'] = 'Toon afbeeldingen'; // address boook -$labels['name'] = 'Tonen als'; +$labels['name'] = 'Naam'; $labels['firstname'] = 'Voornaam'; $labels['surname'] = 'Achternaam'; $labels['email'] = 'E-Mail'; diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 266c16336..4e88871cf 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -67,7 +67,8 @@ if ($CONFIG['trash_mbox']) if ($CONFIG['drafts_mbox']) $OUTPUT->add_script(sprintf("%s.set_env('drafts_mailbox', '%s');", $JS_OBJECT_NAME, $CONFIG['drafts_mbox'])); - +if ($CONFIG['junk_mbox']) + $OUTPUT->add_script(sprintf("%s.set_env('junk_mailbox', '%s');", $JS_OBJECT_NAME, $CONFIG['junk_mbox'])); // return the mailboxlist in HTML function rcmail_mailbox_list($attrib) @@ -433,7 +434,11 @@ function rcmail_message_list($attrib) if ($col=='from' || $col=='to') $cont = rep_specialchars_output(rcmail_address_string($header->$col, 3, $attrib['addicon'])); else if ($col=='subject') + { $cont = rep_specialchars_output($IMAP->decode_header($header->$col), 'html', 'all'); + // firefox/mozilla workaround to pad subject with content so that whitespace in rows responds to drag+drop + $cont .= '<img src="http://www.whidbey.com/roundcube/roundcubemail/skins/default/images/cleardot.png" height="1" width="1000">'; + } else if ($col=='size') $cont = show_bytes($header->$col); else if ($col=='date') |