- LSview : Ajout de traduction.
authorBenjamin Renard <brenard@easter-eggs.com>
Tue, 17 Feb 2009 13:18:03 +0000 (13:18 +0000)
committerBenjamin Renard <brenard@easter-eggs.com>
Tue, 17 Feb 2009 13:18:03 +0000 (13:18 +0000)
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({
-          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)