diff --git a/chrome/content/zotero/xpcom/data/cachedTypes.js b/chrome/content/zotero/xpcom/data/cachedTypes.js index f3928e61b9..795efe5610 100644 --- a/chrome/content/zotero/xpcom/data/cachedTypes.js +++ b/chrome/content/zotero/xpcom/data/cachedTypes.js @@ -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];