From 355b1fbc577b991ed7b966d075e5570f5f959236 Mon Sep 17 00:00:00 2001 From: gracile-fr Date: Thu, 15 Aug 2013 22:45:04 +0200 Subject: [PATCH] Localize Ctrl/Cmd-Shift in Prefs --- chrome/content/zotero/preferences/preferences_export.js | 2 +- chrome/content/zotero/preferences/preferences_keys.js | 2 +- chrome/locale/en-US/zotero/zotero.properties | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/preferences/preferences_export.js b/chrome/content/zotero/preferences/preferences_export.js index 4a4befbe5a..7622673ed1 100644 --- a/chrome/content/zotero/preferences/preferences_export.js +++ b/chrome/content/zotero/preferences/preferences_export.js @@ -225,7 +225,7 @@ Zotero_Preferences.Export = { updateQuickCopyInstructions: function () { - var prefix = Zotero.isMac ? 'Cmd+Shift+' : 'Ctrl+Alt+'; + var prefix = Zotero.isMac ? (Zotero.getString('general.keys.cmdShift')) : (Zotero.getString('general.keys.ctrlShift')); var key = Zotero.Prefs.get('keys.copySelectedItemsToClipboard'); var str = Zotero.getString('zotero.preferences.export.quickCopy.instructions', prefix + key); diff --git a/chrome/content/zotero/preferences/preferences_keys.js b/chrome/content/zotero/preferences/preferences_keys.js index 04ee513f46..87361fc164 100644 --- a/chrome/content/zotero/preferences/preferences_keys.js +++ b/chrome/content/zotero/preferences/preferences_keys.js @@ -30,7 +30,7 @@ Zotero_Preferences.Keys = { var rows = document.getElementById('zotero-prefpane-keys').getElementsByTagName('row'); for (var i=0; i