From 49b9c14b8dc75efa8149a4187dda3d7bb65c27f0 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 3 May 2012 17:33:19 -0400 Subject: [PATCH] Use "%S more..." instead of hard-coding space, and make general string --- chrome/content/zotero/bindings/itembox.xml | 2 +- chrome/locale/en-US/zotero/zotero.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index d4a50a839..474606659 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -816,7 +816,7 @@ var label = document.createElement('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', "var binding = document.getBindingParent(this); " + "binding._displayAllCreators = true; " diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties index 6c1206428..f835a2756 100644 --- a/chrome/locale/en-US/zotero/zotero.properties +++ b/chrome/locale/en-US/zotero/zotero.properties @@ -36,6 +36,7 @@ general.enable = Enable general.disable = Disable general.remove = Remove general.openDocumentation = Open Documentation +general.numMore = %S more… general.operationInProgress = A Zotero operation is currently in progress. 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.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: