diff options
author | 2023-02-02 05:10:31 +0530 | |
---|---|---|
committer | 2023-02-02 05:10:31 +0530 | |
commit | 338e14a95a8d1d0d4afd87283307e7874b720816 (patch) | |
tree | b861efd2c693236abe919088dba52c3221c21a27 /src/lib/Menu.ts | |
parent | Upgrade 'electron' to '22.2.0' (diff) | |
download | ferdium-app-338e14a95a8d1d0d4afd87283307e7874b720816.tar.gz ferdium-app-338e14a95a8d1d0d4afd87283307e7874b720816.tar.zst ferdium-app-338e14a95a8d1d0d4afd87283307e7874b720816.zip |
Fix duplicated i18n key with differing value
Diffstat (limited to 'src/lib/Menu.ts')
-rw-r--r-- | src/lib/Menu.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/Menu.ts b/src/lib/Menu.ts index c206ea55d..5356ec2c6 100644 --- a/src/lib/Menu.ts +++ b/src/lib/Menu.ts | |||
@@ -221,10 +221,6 @@ const menuItems = defineMessages({ | |||
221 | id: 'locked.touchId', | 221 | id: 'locked.touchId', |
222 | defaultMessage: 'Unlock with Touch ID', | 222 | defaultMessage: 'Unlock with Touch ID', |
223 | }, | 223 | }, |
224 | touchIdPrompt: { | ||
225 | id: 'locked.touchIdPrompt', | ||
226 | defaultMessage: 'unlock via Touch ID', | ||
227 | }, | ||
228 | tos: { | 224 | tos: { |
229 | id: 'menu.help.tos', | 225 | id: 'menu.help.tos', |
230 | defaultMessage: 'Terms of Service', | 226 | defaultMessage: 'Terms of Service', |
@@ -848,7 +844,7 @@ class FranzMenu implements StoresProps { | |||
848 | visible: touchIdEnabled, | 844 | visible: touchIdEnabled, |
849 | click() { | 845 | click() { |
850 | systemPreferences | 846 | systemPreferences |
851 | .promptTouchID(intl.formatMessage(menuItems.touchIdPrompt)) | 847 | .promptTouchID(intl.formatMessage(menuItems.touchId)) |
852 | .then(() => { | 848 | .then(() => { |
853 | actions.settings.update({ | 849 | actions.settings.update({ |
854 | type: 'app', | 850 | type: 'app', |