{ name = "Delete Folder"; }
getLocaleString("DeleteFolder", name);
nsBookmarksService::GetTarget(nsIRDFResource* aSource,			      nsIRDFResource* aProperty,			      PRBool aTruthValue,			      nsIRDFNode** aTarget){	nsresult	rv;	// If they want the URL...	if (aTruthValue && aProperty == kNC_URL)	{		// ...and it is in fact a bookmark...		PRBool hasAssertion;		if ((NS_SUCCEEDED(mInner->HasAssertion(aSource, kRDF_type, kNC_Bookmark, PR_TRUE, &hasAssertion))		    && hasAssertion) ||		    (NS_SUCCEEDED(mInner->HasAssertion(aSource, kRDF_type, kNC_IEFavorite, PR_TRUE, &hasAssertion))		    && hasAssertion) ||		    (NS_SUCCEEDED(mInner->HasAssertion(aSource, kRDF_type, kNC_Folder, PR_TRUE, &hasAssertion))		    && hasAssertion))		{			const char	*uri;			if (NS_FAILED(rv = aSource->GetValueConst( &uri )))			{				NS_ERROR("unable to get source's URI");				return rv;			}			nsAutoString	ncURI(uri);			if (ncURI.Find("NC:", PR_TRUE, 0) == 0)			{				return(NS_RDF_NO_VALUE);			}			nsIRDFLiteral* literal;			if (NS_FAILED(rv = gRDF->GetLiteral(nsAutoString(uri).GetUnicode(), &literal)))			{				NS_ERROR("unable to construct literal for URL");				return rv;			}			*aTarget = (nsIRDFNode*)literal;			return NS_OK;		}	}	else if (aTruthValue && isBookmarkCommand(aSource) && (aProperty == kNC_Name))	{		nsAutoString	name;		if (aSource == kNC_BookmarkCommand_NewBookmark)		{			name = "New Bookmark";	// XXX localization		}		else if (aSource == kNC_BookmarkCommand_NewFolder)		{			name = "New Folder";		// XXX localization		}		else if (aSource == kNC_BookmarkCommand_NewSeparator)		{			name = "New Separator";	// XXX localization		}		else if (aSource == kNC_BookmarkCommand_DeleteBookmark)		{			name = "Delete Bookmark";	// XXX localization		}		else if (aSource == kNC_BookmarkCommand_DeleteBookmarkFolder)		{			name = "Delete Folder";	// XXX localization		}		else if (aSource == kNC_BookmarkCommand_DeleteBookmarkSeparator)		{			name = "Delete Separator";	// XXX localization		}		if (name.Length() > 0)		{			nsIRDFLiteral	*literal;			rv = gRDF->GetLiteral(name.GetUnicode(), &literal);			rv = literal->QueryInterface(nsIRDFNode::GetIID(), (void**) aTarget);			NS_RELEASE(literal);			return rv;		}	}	return mInner->GetTarget(aSource, aProperty, aTruthValue, aTarget);}