mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Localize Ctrl/Cmd-Shift in Prefs
This commit is contained in:
parent
8bdac7015b
commit
355b1fbc57
3 changed files with 4 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ Zotero_Preferences.Keys = {
|
|||
var rows = document.getElementById('zotero-prefpane-keys').getElementsByTagName('row');
|
||||
for (var i=0; i<rows.length; i++) {
|
||||
// Display the appropriate modifier keys for the platform
|
||||
rows[i].firstChild.nextSibling.value = Zotero.isMac ? 'Cmd+Shift+' : 'Ctrl+Shift+';
|
||||
rows[i].firstChild.nextSibling.value = Zotero.isMac ? (Zotero.getString('general.keys.cmdShift')) : (Zotero.getString('general.keys.ctrlShift'));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ general.useDefault = Use Default
|
|||
general.openDocumentation = Open Documentation
|
||||
general.numMore = %S more…
|
||||
general.openPreferences = Open Preferences
|
||||
general.keys.ctrlShift = Ctrl+Shift
|
||||
general.keys.cmdShift = Cmd+Shift
|
||||
|
||||
general.operationInProgress = A Zotero operation is currently in progress.
|
||||
general.operationInProgress.waitUntilFinished = Please wait until it has finished.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue