- LSview : Ajout de traduction.
[ldapsaisie.git] / trunk / includes / js / LSview.js
index 32c88c0..8228a01 100644 (file)
@@ -57,7 +57,10 @@ var LSview = new Class({
         this._confirmBoxOpen = 1;
         var name = $('LSview_title').innerHTML;
         this.confirmBox = new LSconfirmBox({
         this._confirmBoxOpen = 1;
         var name = $('LSview_title').innerHTML;
         this.confirmBox = new LSconfirmBox({
-          text:         varLSdefault.LSjsConfig['LSview_delete_label'] + ' "'+name+'" ?',
+          text:           varLSdefault.LSjsConfig['LSview_delete_confirm_text'] + ' "'+name+'" ?',
+          title:          varLSdefault.LSjsConfig['LSview_delete_confirm_title'],
+          validate_label: varLSdefault.LSjsConfig['LSview_delete_confirm_yes_btn_label'],
+          cancel_label:   varLSdefault.LSjsConfig['LSview_delete_confirm_no_btn_label'],
           startElement: a,
           onConfirm:    this.removeFromA.bind(this,a),
           onClose:      this.onConfirmBoxClose.bind(this)
           startElement: a,
           onConfirm:    this.removeFromA.bind(this,a),
           onClose:      this.onConfirmBoxClose.bind(this)