From 8c0d1e5c1e977de0572fb515987a1314e2b77aa6 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 17 Feb 2009 13:16:48 +0000 Subject: [PATCH] - LSrelation : Traduction --- trunk/includes/js/LSrelation.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/trunk/includes/js/LSrelation.js b/trunk/includes/js/LSrelation.js index d5d2e378..b8fc0a8d 100644 --- a/trunk/includes/js/LSrelation.js +++ b/trunk/includes/js/LSrelation.js @@ -35,9 +35,12 @@ var LSrelation = new Class({ if (this._confirmDelete) { var a = img.getPrevious('a'); this.confirmBox = new LSconfirmBox({ - text: 'Etês-vous sur de vouloir supprimer "'+a.innerHTML+'" ?', - startElement: img, - onConfirm: this.deleteFromImg.bind(this,img) + text: 'Do you really want to delete "'+a.innerHTML+'" ?', + title: 'Caution', + validate_label: 'Delete', + cancel_label: 'Cancel', + startElement: img, + onConfirm: this.deleteFromImg.bind(this,img) }); } else { @@ -82,7 +85,7 @@ var LSrelation = new Class({ } } catch(e) { - LSdebug('Erreur durant la suppression du li du DN : '+data.dn); + LSdebug('Error during the li of DN delete : '+data.dn); } } },