Addresses #1262, Broken pluralization with et al. + other issues

Patch 1 from Frank -- Names using "et al." were incorrectly being considered singular
This commit is contained in:
Dan Stillman 2008-12-19 22:40:09 +00:00
parent 0127d6b9dd
commit bac79ed2ac

View file

@ -694,7 +694,7 @@ Zotero.CSL.prototype._processNames = function(item, element, formattedString, co
} }
} else if(formattedString.format != "Sort" && } else if(formattedString.format != "Sort" &&
name == "label" && variables[j] != "author") { name == "label" && variables[j] != "author") {
newString.append(this._getTerm(variables[j], (maxCreators != 1), child["@form"].toString(), child["@include-period"] == "true"), child); newString.append(this._getTerm(variables[j], (maxCreators != 1 || useEtAl), child["@form"].toString(), child["@include-period"] == "true"), child);
} }
} }
success = true; success = true;