![smile.gif](style_emoticons/default/smile.gif)
dear Davide
Thanks for the new features! I used Externalize to localize
Platypus, an extension with many xul and many js files, and it was working fine.
* Accurate report for the js string count
* Good detection of duplicate strings (listed like e.g "Platypus Help on lines 223, 257, 670")
* no problem to change the variable names
I suggest it is satisfactory and should be uploaded on dafzilla
![smile.gif](style_emoticons/default/smile.gif)
--------about comments
If we have this kind of codelines :
CODE
//alert(itemFrames.length);
//alert(itemiFrames.length);
var frame, iframe;
if (itemFrames.length > 0)
{
for (var i = 0; i< itemFrames.length; i++)
{
frame = itemFrames[i].contentDocument;
this.CheckFrames(frame, id); // recursion for frames
}
}
if (itemiFrames.length > 0)
{
for (var i = 0; i < itemiFrames.length; i++)
{
iframe = itemiFrames[i].contentDocument;
this.CheckFrames(iframe, id); // recursion for iframes
}
}
}
this.onToolsMenu=function() //open setting dialog!
{
var win=window.openDialog("chrome://batchdownload/content/config.xul",
"Batchdownload", "chrome,centerscreen",null);
win.focus();
I suppose it will not be difficult to declare :
if
// is detected then skip this line and go to the next one
but then a line with an address including double slash will be skipped too with possible string on the same line being ignored... Unless some declaration tells :
- ignore double slash inside " " quotation marks.
...but I am sure you have already thought of all that before me and much more accurately.