www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 12fc2eadc06c6570b8626a1dae2dcae654c1c24e
parent 0ece4145cdb1024190bb5a71e00e2c2f52d28a6b
Author: gracile-fr <gracile@gmx.com>
Date:   Thu,  3 May 2012 22:16:24 +0200

Localization of strings previously hardcoded in itembox.xml (Move up/down)
(cherry picked from commit acb7c22f75e2f9247fca648078be15dae0524944)

Diffstat:
Mchrome/content/zotero/bindings/itembox.xml | 6++----
Mchrome/locale/en-US/zotero/zotero.properties | 3+++
2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml @@ -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); " diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties @@ -178,6 +178,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: