mirror of
https://github.com/zotero/zotero.git
synced 2026-10-07 02:58:09 +00:00
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
Reference in a new issue