Localization of strings previously hardcoded in itembox.xml (Move up/down)

This commit is contained in:
gracile-fr 2012-05-03 22:16:24 +02:00
parent c09cbb0e4b
commit acb7c22f75
2 changed files with 5 additions and 4 deletions

View file

@ -497,9 +497,8 @@
moveDown.id = "zotero-creator-move-down";
moveUp.className = "zotero-creator-move";
moveDown.className = "zotero-creator-move";
// TODO: localize
moveUp.setAttribute("label", "Move Up");
moveDown.setAttribute("label", "Move Down");
moveUp.setAttribute("label", Zotero.getString('pane.item.creator.moveUp'));
moveDown.setAttribute("label", Zotero.getString('pane.item.creator.moveDown'));
this._creatorTypeMenu.appendChild(moveSep);
this._creatorTypeMenu.appendChild(moveUp);
this._creatorTypeMenu.appendChild(moveDown);
@ -817,7 +816,6 @@
var label = document.createElement('label');
label.id = 'more-creators-label';
// TODO: localize
label.setAttribute('value', num + " more…");
label.setAttribute('onclick',
"var binding = document.getBindingParent(this); "

View file

@ -181,6 +181,9 @@ pane.item.defaultLastName = last
pane.item.defaultFullName = full name
pane.item.switchFieldMode.one = Switch to single field
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.delete.confirm = Are you sure you want to delete this note?
pane.item.notes.count.zero = %S notes: