src/cm/media/js/client/f_printDialog.js
changeset 190 faf3a87a7d73
parent 0 40c8f766c9b8
child 191 c6e4c5a996d0
--- a/src/cm/media/js/client/f_printDialog.js	Sat Feb 13 14:17:46 2010 +0100
+++ b/src/cm/media/js/client/f_printDialog.js	Mon Feb 22 22:30:38 2010 +0100
@@ -10,8 +10,8 @@
             {'actions':['print', 'export'], 'extension':'odt', 'label': gettext('download open document file (.odt)')}] ;
 
 
-gActions = {'print':{'dialogTitle':gettext('Print text'), 'defaultMethod':'pdf', 'defaultWithColors':"no", 'defaultWhichComments':'all'}, 
-			'export':{'dialogTitle':gettext('Export text'), 'defaultMethod':'pdf', 'defaultWithColors':"no", 'defaultWhichComments':'all'}} ; 
+gActions = {'print':{'dialogTitle':gettext('Print text'), 'chooseFormatLabel':gettext('How do you want to print?'), 'defaultMethod':'pdf', 'defaultWithColors':"no", 'defaultWhichComments':'all'}, 
+			'export':{'dialogTitle':gettext('Export text'), 'chooseFormatLabel':gettext('Choose file format'), 'defaultMethod':'pdf', 'defaultWithColors':"no", 'defaultWhichComments':'all'}} ; 
 gCurrentAction = null ; 
 	
 _populateMethod = function(withColors) {
@@ -136,6 +136,7 @@
 _openPrintExportDialog = function(action) {
 	gCurrentAction = action ;
 	$("#ui-dialog-title-dialog_print_export").html(gActions[gCurrentAction]['dialogTitle']) ;
+	$("#how").html(gActions[gCurrentAction]['chooseFormatLabel']) ;
 	$("#print_export_action").val(action) ; // TODO check this still usefull