<% use ui::cmn; my ($what,$error,$longfilename_info, $is_for_longtask) = @_;  
    #what is one of: zip iso exe_full
    #$error is empty if all is OK, error message otherwise

    my %what_strs = ('zip' => __('ZIP archive'),
		'iso'	=> __('ISO disk image'),
		'dmg'	=> __('DMG file'),
		'exe_full' => __('installer'));
%>

<% if (!length($error)) { %>    
    <%= sprintf( $is_for_longtask ? __('Completed creation of %s successfully.') :
	    __('Starting creation of %s - see progress in Console window that has just opened.'), $what_strs{$what}) %>
<% } else { %>
    <%= __('Error encountered:') . ' ' . $error %>
<% }  %>


<% 
    $forge->include('wgt-warning-long-file-names',$longfilename_info,$what) if $longfilename_info;
 %>