Show fieldLocalizedName in Scaffold - List All Fields (#2965)
This commit is contained in:
parent
9dad14c244
commit
9f53b48984
1 changed files with 2 additions and 1 deletions
|
@ -842,7 +842,8 @@ var Scaffold = new function () {
|
|||
var fieldList = Zotero.ItemFields.getItemTypeFields(typeID);
|
||||
for (let field of fieldList) {
|
||||
var key = Zotero.ItemFields.getName(field);
|
||||
outputObject[key] = "";
|
||||
let fieldLocalizedName = Zotero.ItemFields.getLocalizedString(field);
|
||||
outputObject[key] = fieldLocalizedName;
|
||||
}
|
||||
var creatorList = Zotero.CreatorTypes.getTypesForItemType(typeID);
|
||||
var creators = [];
|
||||
|
|
Loading…
Reference in a new issue