From a75192d744335073fc5bd8e3783b5eedcb4b744d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 19 Nov 2013 15:52:30 -0500 Subject: [PATCH] Add ellipses to Rebuild/Clear Index buttons in prefs And add punctuation.ellipsis localized string --- chrome/content/zotero/preferences/preferences_search.js | 6 ++++-- chrome/locale/en-US/zotero/zotero.properties | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/preferences/preferences_search.js b/chrome/content/zotero/preferences/preferences_search.js index 064a2064e..711a06568 100644 --- a/chrome/content/zotero/preferences/preferences_search.js +++ b/chrome/content/zotero/preferences/preferences_search.js @@ -28,9 +28,11 @@ Zotero_Preferences.Search = { init: function () { document.getElementById('fulltext-rebuildIndex').setAttribute('label', - Zotero.getString('zotero.preferences.search.rebuildIndex')); + Zotero.getString('zotero.preferences.search.rebuildIndex') + + Zotero.getString('punctuation.ellipsis')); document.getElementById('fulltext-clearIndex').setAttribute('label', - Zotero.getString('zotero.preferences.search.clearIndex')); + Zotero.getString('zotero.preferences.search.clearIndex') + + Zotero.getString('punctuation.ellipsis')); this.updatePDFToolsStatus(); this.updateIndexStats(); diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties index 24039dc6f..8ccbb25c1 100644 --- a/chrome/locale/en-US/zotero/zotero.properties +++ b/chrome/locale/en-US/zotero/zotero.properties @@ -62,6 +62,7 @@ general.operationInProgress.waitUntilFinishedAndTryAgain = Please wait until it punctuation.openingQMark = " punctuation.closingQMark = " punctuation.colon = : +punctuation.ellipsis = … install.quickStartGuide = Zotero Quick Start Guide install.quickStartGuide.message.welcome = Welcome to Zotero!