diff options
Diffstat (limited to 'src/components/settings')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index e9ea97d1f..a4381e37d 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -16,7 +16,7 @@ import { | |||
16 | FRANZ_TRANSLATION, | 16 | FRANZ_TRANSLATION, |
17 | GITHUB_FRANZ_URL, | 17 | GITHUB_FRANZ_URL, |
18 | } from '../../../config'; | 18 | } from '../../../config'; |
19 | import { DEFAULT_APP_SETTINGS, isMac, isWindows } from '../../../environment'; | 19 | import { cmdKey, shiftKey, DEFAULT_APP_SETTINGS, isMac, isWindows } from '../../../environment'; |
20 | import globalMessages from '../../../i18n/globalMessages'; | 20 | import globalMessages from '../../../i18n/globalMessages'; |
21 | 21 | ||
22 | const messages = defineMessages({ | 22 | const messages = defineMessages({ |
@@ -54,7 +54,7 @@ const messages = defineMessages({ | |||
54 | }, | 54 | }, |
55 | lockInfo: { | 55 | lockInfo: { |
56 | id: 'settings.app.lockInfo', | 56 | id: 'settings.app.lockInfo', |
57 | defaultMessage: '!!!Password Lock allows you to keep your messages protected.\nUsing Password Lock, you will be prompted to enter your password everytime you start Ferdi or lock Ferdi yourself using the lock symbol in the bottom left corner or the shortcut CMD/CTRL+Shift+L.', | 57 | defaultMessage: '!!!Password Lock allows you to keep your messages protected.\nUsing Password Lock, you will be prompted to enter your password everytime you start Ferdi or lock Ferdi yourself using the lock symbol in the bottom left corner or the shortcut {lockShortcut}.', |
58 | }, | 58 | }, |
59 | scheduledDNDTimeInfo: { | 59 | scheduledDNDTimeInfo: { |
60 | id: 'settings.app.scheduledDNDTimeInfo', | 60 | id: 'settings.app.scheduledDNDTimeInfo', |
@@ -548,7 +548,7 @@ export default @observer class EditSettingsForm extends Component { | |||
548 | }} | 548 | }} |
549 | > | 549 | > |
550 | <span> | 550 | <span> |
551 | { intl.formatMessage(messages.lockInfo) } | 551 | { intl.formatMessage(messages.lockInfo, { lockShortcut: `${cmdKey}+${shiftKey}+L` }) } |
552 | </span> | 552 | </span> |
553 | </p> | 553 | </p> |
554 | </div> | 554 | </div> |