Localization of strings previously hardcoded in itembox.xml (Move up/down)
This commit is contained in:
parent
c09cbb0e4b
commit
acb7c22f75
2 changed files with 5 additions and 4 deletions
|
@ -497,9 +497,8 @@
|
||||||
moveDown.id = "zotero-creator-move-down";
|
moveDown.id = "zotero-creator-move-down";
|
||||||
moveUp.className = "zotero-creator-move";
|
moveUp.className = "zotero-creator-move";
|
||||||
moveDown.className = "zotero-creator-move";
|
moveDown.className = "zotero-creator-move";
|
||||||
// TODO: localize
|
moveUp.setAttribute("label", Zotero.getString('pane.item.creator.moveUp'));
|
||||||
moveUp.setAttribute("label", "Move Up");
|
moveDown.setAttribute("label", Zotero.getString('pane.item.creator.moveDown'));
|
||||||
moveDown.setAttribute("label", "Move Down");
|
|
||||||
this._creatorTypeMenu.appendChild(moveSep);
|
this._creatorTypeMenu.appendChild(moveSep);
|
||||||
this._creatorTypeMenu.appendChild(moveUp);
|
this._creatorTypeMenu.appendChild(moveUp);
|
||||||
this._creatorTypeMenu.appendChild(moveDown);
|
this._creatorTypeMenu.appendChild(moveDown);
|
||||||
|
@ -817,7 +816,6 @@
|
||||||
|
|
||||||
var label = document.createElement('label');
|
var label = document.createElement('label');
|
||||||
label.id = 'more-creators-label';
|
label.id = 'more-creators-label';
|
||||||
// TODO: localize
|
|
||||||
label.setAttribute('value', num + " more…");
|
label.setAttribute('value', num + " more…");
|
||||||
label.setAttribute('onclick',
|
label.setAttribute('onclick',
|
||||||
"var binding = document.getBindingParent(this); "
|
"var binding = document.getBindingParent(this); "
|
||||||
|
|
|
@ -181,6 +181,9 @@ pane.item.defaultLastName = last
|
||||||
pane.item.defaultFullName = full name
|
pane.item.defaultFullName = full name
|
||||||
pane.item.switchFieldMode.one = Switch to single field
|
pane.item.switchFieldMode.one = Switch to single field
|
||||||
pane.item.switchFieldMode.two = Switch to two fields
|
pane.item.switchFieldMode.two = Switch to two fields
|
||||||
|
pane.item.creator.moveUp = Move Up
|
||||||
|
pane.item.creator.moveDown = Move Down
|
||||||
|
pane.item.creators.displayMore = \u0020more…
|
||||||
pane.item.notes.untitled = Untitled Note
|
pane.item.notes.untitled = Untitled Note
|
||||||
pane.item.notes.delete.confirm = Are you sure you want to delete this note?
|
pane.item.notes.delete.confirm = Are you sure you want to delete this note?
|
||||||
pane.item.notes.count.zero = %S notes:
|
pane.item.notes.count.zero = %S notes:
|
||||||
|
|
Loading…
Add table
Reference in a new issue