nsFormControlHelper::GetLocalizedString("Submit", aAltText);
nsFormControlHelper::GetLocalizedString(nsFormControlHelper::GetHTMLPropertiesFileName(), "Submit", aAltText);
GetAlternateTextFor(nsIContent* aContent,                    nsIAtom*    aTag,  // content object's tag                    nsString&   aAltText){  nsresult  rv;  // The "alt" attribute specifies alternate text that is rendered  // when the image can not be displayed  rv = aContent->GetAttribute(kNameSpaceID_None, nsHTMLAtoms::alt, aAltText);  // If there's no "alt" attribute, then use the value of the "title"  // attribute. Note that this is not the same as a value of ""  if (NS_CONTENT_ATTR_NOT_THERE == rv) {    rv = aContent->GetAttribute(kNameSpaceID_None, nsHTMLAtoms::title,                                 aAltText);    // If there's no "alt" or "title" attribute, and aContent is an input        // element, then use the value of the "value" attribute    if ((NS_CONTENT_ATTR_NOT_THERE == rv) && (nsHTMLAtoms::input == aTag)) {      rv = aContent->GetAttribute(kNameSpaceID_None, nsHTMLAtoms::value,                                  aAltText);      // If there's no "value" attribute either, then use the localized string       // for "Submit" as the alternate text.      if (NS_CONTENT_ATTR_NOT_THERE == rv) {        nsFormControlHelper::GetLocalizedString("Submit", aAltText);            }    }  }}