rem: dialog.cancel.childNodes[0].nodeValue = "Close"; 
add: dialog.cancel.childNodes[0].nodeValue = bundle.GetStringFromName("close"); 
context: function onCompletion( status ) {    // Note that we're done (and can ignore subsequent progress notifications).    completed = true;    // Indicate completion in status area.    var msg = getString( "completeMsg" );    msg = replaceInsert( msg, 1, formatSeconds( elapsed/1000 ) );    onStatus( msg );    // Put progress meter at 100%.    dialog.progress.setAttribute( "value", 100 );    dialog.progress.setAttribute( "mode", "normal" );    try {        // Close the window in 2 seconds (to ensure user sees we're done).        window.setTimeout( "window.close();", 2000 );    } catch ( exception ) {        dump( "Error setting close timeout\n" );        // OK, try to just close the window immediately.        window.close();        // If that's not working either, change button text to give user a clue.        dialog.cancel.childNodes[0].nodeValue = "Close";    }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/f4d114f9e68a645cdaaa375317102b4db17642b8/downloadProgress.js/clean/xpfe/components/xfer/resources/downloadProgress.js