better texts on the shortcuts page

This commit is contained in:
antelle 2019-10-06 12:33:03 +02:00
parent 5a8927b547
commit 2a47afa672
2 changed files with 11 additions and 10 deletions

View File

@ -515,11 +515,11 @@
"setShSave": "save all files", "setShSave": "save all files",
"setShGen": "generate password", "setShGen": "generate password",
"setShSet": "app settings", "setShSet": "app settings",
"setShCopyPassGlobal": "copy password (when the app is in background)", "setShCopyPassGlobal": "copy password",
"setShCopyUserGlobal": "copy user (when the app is in background)", "setShCopyOtp": "copy OTP",
"setShCopyUrlGlobal": "copy website (when the app is in background)", "setShAutoTypeGlobal": "auto-type",
"setShCopyOtpGlobal": "copy OTP (when the app is in background)", "setShCopyPassOnly": "copy password",
"setShAutoTypeGlobal": "auto-type (when the app is in background)", "setShGlobal": "These system-wide shortcuts work when the app is running in background. You can click them to select your own shortcut.",
"setShLock": "lock database", "setShLock": "lock database",
"setShEdit": "Press a new key combination to set it as shortcut", "setShEdit": "Press a new key combination to set it as shortcut",

View File

@ -20,16 +20,17 @@
<div><span class="shortcut">{{{cmd}}},</span> {{res 'setShSet'}}</div> <div><span class="shortcut">{{{cmd}}},</span> {{res 'setShSet'}}</div>
<div><span class="shortcut">{{{cmd}}}L</span> {{res 'setShLock'}}</div> <div><span class="shortcut">{{{cmd}}}L</span> {{res 'setShLock'}}</div>
{{#if globalShortcuts}} {{#if globalShortcuts}}
<p>{{res 'setShGlobal'}}</p>
<div><button class="shortcut btn-silent {{#if globalIsLarge}}shortcut-large{{/if}}" <div><button class="shortcut btn-silent {{#if globalIsLarge}}shortcut-large{{/if}}"
data-shortcut="autoType">{{{globalShortcuts.autoType}}}</button> {{res 'setShAutoTypeGlobal'}}</div> data-shortcut="autoType">{{{globalShortcuts.autoType}}}</button> {{res 'setShAutoType'}}</div>
<div><button class="shortcut btn-silent {{#if globalIsLarge}}shortcut-large{{/if}}" <div><button class="shortcut btn-silent {{#if globalIsLarge}}shortcut-large{{/if}}"
data-shortcut="copyPassword">{{{globalShortcuts.copyPassword}}}</button> {{res 'setShCopyPassGlobal'}}</div> data-shortcut="copyPassword">{{{globalShortcuts.copyPassword}}}</button> {{res 'setShCopyPassOnly'}}</div>
<div><button class="shortcut btn-silent {{#if globalIsLarge}}shortcut-large{{/if}}" <div><button class="shortcut btn-silent {{#if globalIsLarge}}shortcut-large{{/if}}"
data-shortcut="copyUser">{{{globalShortcuts.copyUser}}}</button> {{res 'setShCopyUserGlobal'}}</div> data-shortcut="copyUser">{{{globalShortcuts.copyUser}}}</button> {{res 'setShCopyUser'}}</div>
<div><button class="shortcut btn-silent {{#if globalIsLarge}}shortcut-large{{/if}}" <div><button class="shortcut btn-silent {{#if globalIsLarge}}shortcut-large{{/if}}"
data-shortcut="copyUrl">{{{globalShortcuts.copyUrl}}}</button> {{res 'setShCopyUrlGlobal'}}</div> data-shortcut="copyUrl">{{{globalShortcuts.copyUrl}}}</button> {{res 'setShCopyUrl'}}</div>
<div><button class="shortcut btn-silent {{#if globalIsLarge}}shortcut-large{{/if}}" <div><button class="shortcut btn-silent {{#if globalIsLarge}}shortcut-large{{/if}}"
data-shortcut="copyOtp">{{{globalShortcuts.copyOtp}}}</button> {{res 'setShCopyOtpGlobal'}}</div> data-shortcut="copyOtp">{{{globalShortcuts.copyOtp}}}</button> {{res 'setShCopyOtp'}}</div>
<div><button class="shortcut btn-silent {{#if globalIsLarge}}shortcut-large{{/if}}" <div><button class="shortcut btn-silent {{#if globalIsLarge}}shortcut-large{{/if}}"
data-shortcut="restoreApp">{{{globalShortcuts.restoreApp}}}</button> {{#res 'menuRestoreApp'}}KeeWeb{{/res}}</div> data-shortcut="restoreApp">{{{globalShortcuts.restoreApp}}}</button> {{#res 'menuRestoreApp'}}KeeWeb{{/res}}</div>
{{/if}} {{/if}}