add debug dump

This commit is contained in:
tao%netscape.com 1999-08-10 02:06:54 +00:00
parent cd3519d401
commit 15ad4eb54c

View File

@ -100,7 +100,13 @@ function localeSwitching(winType, baseDirectory, providerName)
// Get the new targets
// file:/u/tao/gila/mozilla-org/html/projects/intl/chrome/
// da-DK
var newBaseTarget = rdf.GetLiteral(baseDirectory);
var finalBase = baseDirectory;
if (baseDirectory != "") {
finalBase += winType + "/locale/" + providerName + "/";
}
dump("\n** finalBase=" + finalBase + "**\n");
var newBaseTarget = rdf.GetLiteral(finalBase);
var newNameTarget = rdf.GetLiteral(providerName);
// Unassert the old relationships