Use "%S more..." instead of hard-coding space, and make general string

This commit is contained in:
Dan Stillman 2012-05-03 17:33:19 -04:00
parent ea77e174b7
commit 49b9c14b8d
2 changed files with 2 additions and 2 deletions

View file

@ -816,7 +816,7 @@
var label = document.createElement('label'); var label = document.createElement('label');
label.id = 'more-creators-label'; label.id = 'more-creators-label';
label.setAttribute('value', num + Zotero.getString('pane.item.creators.displayMore')); label.setAttribute('value', Zotero.getString('general.numMore', num));
label.setAttribute('onclick', label.setAttribute('onclick',
"var binding = document.getBindingParent(this); " "var binding = document.getBindingParent(this); "
+ "binding._displayAllCreators = true; " + "binding._displayAllCreators = true; "

View file

@ -36,6 +36,7 @@ general.enable = Enable
general.disable = Disable general.disable = Disable
general.remove = Remove general.remove = Remove
general.openDocumentation = Open Documentation general.openDocumentation = Open Documentation
general.numMore = %S more…
general.operationInProgress = A Zotero operation is currently in progress. general.operationInProgress = A Zotero operation is currently in progress.
general.operationInProgress.waitUntilFinished = Please wait until it has finished. general.operationInProgress.waitUntilFinished = Please wait until it has finished.
@ -185,7 +186,6 @@ 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.moveUp = Move Up
pane.item.creator.moveDown = Move Down 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: