Zotero.CreatorTypes.getLocalizedString()
This commit is contained in:
parent
3c28e25eab
commit
3409811b6c
1 changed files with 5 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue