Zotero.CreatorTypes.getLocalizedString()

This commit is contained in:
Simon Kornblith 2010-11-05 03:11:49 +00:00
parent 3c28e25eab
commit 3409811b6c

View file

@ -179,6 +179,11 @@ Zotero.CreatorTypes = new function() {
}
this.getLocalizedString = function(idOrName) {
return Zotero.getString("creatorTypes."+this.getName(idOrName));
}
this.itemTypeHasCreators = function (itemTypeID) {
if (typeof _hasCreatorTypeCache[itemTypeID] != 'undefined') {
return _hasCreatorTypeCache[itemTypeID];