www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 3409811b6c1d59916002302ccfa4719a668e835a
parent 3c28e25eab1b104585628d010f78e3dcf1df1cc5
Author: Simon Kornblith <simon@simonster.com>
Date:   Fri,  5 Nov 2010 03:11:49 +0000

Zotero.CreatorTypes.getLocalizedString()


Diffstat:
Mchrome/content/zotero/xpcom/data/cachedTypes.js | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git 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];