diff options
author | 2020-01-29 11:17:04 +0100 | |
---|---|---|
committer | 2020-01-29 11:17:04 +0100 | |
commit | 469bc0ee855f5ca46a781213f0959b7841fadaf3 (patch) | |
tree | 428cfd5359d992bc0a8b9855d3d8a57301068a6a | |
parent | Bump version number (diff) | |
download | ferdium-app-469bc0ee855f5ca46a781213f0959b7841fadaf3.tar.gz ferdium-app-469bc0ee855f5ca46a781213f0959b7841fadaf3.tar.zst ferdium-app-469bc0ee855f5ca46a781213f0959b7841fadaf3.zip |
#179 Add inactivity timer
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 32 | ||||
-rw-r--r-- | src/config.js | 1 | ||||
-rw-r--r-- | src/containers/settings/EditSettingsScreen.js | 11 | ||||
-rw-r--r-- | src/i18n/locales/defaultMessages.json | 194 | ||||
-rw-r--r-- | src/i18n/locales/en-US.json | 2 | ||||
-rw-r--r-- | src/i18n/messages/src/components/settings/settings/EditSettingsForm.json | 117 | ||||
-rw-r--r-- | src/i18n/messages/src/containers/settings/EditSettingsScreen.json | 77 | ||||
-rw-r--r-- | src/stores/SettingsStore.js | 20 |
8 files changed, 286 insertions, 168 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index 74f5924ea..9064ff234 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -36,6 +36,10 @@ const messages = defineMessages({ | |||
36 | id: 'settings.app.hibernateInfo', | 36 | id: 'settings.app.hibernateInfo', |
37 | defaultMessage: '!!!By default, Ferdi will keep all your services open and loaded in the background so they are ready when you want to use them. Service Hibernation will unload your services after a specified amount. This is useful to save RAM or keeping services from slowing down your computer.', | 37 | defaultMessage: '!!!By default, Ferdi will keep all your services open and loaded in the background so they are ready when you want to use them. Service Hibernation will unload your services after a specified amount. This is useful to save RAM or keeping services from slowing down your computer.', |
38 | }, | 38 | }, |
39 | inactivityLockInfo: { | ||
40 | id: 'settings.app.inactivityLockInfo', | ||
41 | defaultMessage: '!!!Minutes of inactivity, after which Ferdi should automatically lock. Use 0 to disable', | ||
42 | }, | ||
39 | serverInfo: { | 43 | serverInfo: { |
40 | id: 'settings.app.serverInfo', | 44 | id: 'settings.app.serverInfo', |
41 | defaultMessage: '!!!We advice you to logout after changing your server as your settings might not be saved otherwise.', | 45 | defaultMessage: '!!!We advice you to logout after changing your server as your settings might not be saved otherwise.', |
@@ -142,6 +146,10 @@ const messages = defineMessages({ | |||
142 | }, | 146 | }, |
143 | }); | 147 | }); |
144 | 148 | ||
149 | const Hr = () => ( | ||
150 | <hr style={{ marginBottom: 20 }} /> | ||
151 | ); | ||
152 | |||
145 | export default @observer class EditSettingsForm extends Component { | 153 | export default @observer class EditSettingsForm extends Component { |
146 | static propTypes = { | 154 | static propTypes = { |
147 | checkForUpdates: PropTypes.func.isRequired, | 155 | checkForUpdates: PropTypes.func.isRequired, |
@@ -237,6 +245,9 @@ export default @observer class EditSettingsForm extends Component { | |||
237 | <Toggle field={form.$('enableSystemTray')} /> | 245 | <Toggle field={form.$('enableSystemTray')} /> |
238 | <Toggle field={form.$('privateNotifications')} /> | 246 | <Toggle field={form.$('privateNotifications')} /> |
239 | <Toggle field={form.$('showServiceNavigationBar')} /> | 247 | <Toggle field={form.$('showServiceNavigationBar')} /> |
248 | |||
249 | <Hr /> | ||
250 | |||
240 | <Toggle field={form.$('hibernate')} /> | 251 | <Toggle field={form.$('hibernate')} /> |
241 | {hibernationEnabled && ( | 252 | {hibernationEnabled && ( |
242 | <Select field={form.$('hibernationStrategy')} /> | 253 | <Select field={form.$('hibernationStrategy')} /> |
@@ -251,9 +262,13 @@ export default @observer class EditSettingsForm extends Component { | |||
251 | { intl.formatMessage(messages.hibernateInfo) } | 262 | { intl.formatMessage(messages.hibernateInfo) } |
252 | </span> | 263 | </span> |
253 | </p> | 264 | </p> |
265 | |||
266 | <Hr /> | ||
267 | |||
254 | {process.platform === 'win32' && ( | 268 | {process.platform === 'win32' && ( |
255 | <Toggle field={form.$('minimizeToSystemTray')} /> | 269 | <Toggle field={form.$('minimizeToSystemTray')} /> |
256 | )} | 270 | )} |
271 | |||
257 | <Input | 272 | <Input |
258 | placeholder="Server" | 273 | placeholder="Server" |
259 | onChange={e => this.submit(e)} | 274 | onChange={e => this.submit(e)} |
@@ -296,6 +311,10 @@ export default @observer class EditSettingsForm extends Component { | |||
296 | {isWorkspaceEnabled && ( | 311 | {isWorkspaceEnabled && ( |
297 | <Toggle field={form.$('keepAllWorkspacesLoaded')} /> | 312 | <Toggle field={form.$('keepAllWorkspacesLoaded')} /> |
298 | )} | 313 | )} |
314 | |||
315 | |||
316 | <Hr /> | ||
317 | |||
299 | {isTodosEnabled && ( | 318 | {isTodosEnabled && ( |
300 | <> | 319 | <> |
301 | <Toggle field={form.$('enableTodos')} /> | 320 | <Toggle field={form.$('enableTodos')} /> |
@@ -315,6 +334,8 @@ export default @observer class EditSettingsForm extends Component { | |||
315 | </> | 334 | </> |
316 | )} | 335 | )} |
317 | 336 | ||
337 | <Hr /> | ||
338 | |||
318 | <Toggle field={form.$('lockingFeatureEnabled')} /> | 339 | <Toggle field={form.$('lockingFeatureEnabled')} /> |
319 | {lockingFeatureEnabled && ( | 340 | {lockingFeatureEnabled && ( |
320 | <> | 341 | <> |
@@ -329,6 +350,16 @@ export default @observer class EditSettingsForm extends Component { | |||
329 | <p> | 350 | <p> |
330 | { intl.formatMessage(messages.lockedPasswordInfo) } | 351 | { intl.formatMessage(messages.lockedPasswordInfo) } |
331 | </p> | 352 | </p> |
353 | |||
354 | <Input | ||
355 | placeholder="Lock after inactivity" | ||
356 | onChange={e => this.submit(e)} | ||
357 | field={form.$('inactivityLock')} | ||
358 | autoFocus | ||
359 | /> | ||
360 | <p> | ||
361 | { intl.formatMessage(messages.inactivityLockInfo) } | ||
362 | </p> | ||
332 | </> | 363 | </> |
333 | )} | 364 | )} |
334 | <p | 365 | <p |
@@ -342,6 +373,7 @@ export default @observer class EditSettingsForm extends Component { | |||
342 | </span> | 373 | </span> |
343 | </p> | 374 | </p> |
344 | 375 | ||
376 | <Hr /> | ||
345 | 377 | ||
346 | <Toggle field={form.$('scheduledDNDEnabled')} /> | 378 | <Toggle field={form.$('scheduledDNDEnabled')} /> |
347 | {scheduledDNDEnabled && ( | 379 | {scheduledDNDEnabled && ( |
diff --git a/src/config.js b/src/config.js index 060b6e8cb..a788f0f54 100644 --- a/src/config.js +++ b/src/config.js | |||
@@ -73,6 +73,7 @@ export const DEFAULT_APP_SETTINGS = { | |||
73 | scheduledDNDEnd: '09:00', | 73 | scheduledDNDEnd: '09:00', |
74 | hibernate: false, | 74 | hibernate: false, |
75 | hibernationStrategy: 300, | 75 | hibernationStrategy: 300, |
76 | inactivityLock: 0, | ||
76 | noUpdates: false, | 77 | noUpdates: false, |
77 | showServiceNavigationBar: false, | 78 | showServiceNavigationBar: false, |
78 | universalDarkMode: true, | 79 | universalDarkMode: true, |
diff --git a/src/containers/settings/EditSettingsScreen.js b/src/containers/settings/EditSettingsScreen.js index aa4de78e9..c92ad4df0 100644 --- a/src/containers/settings/EditSettingsScreen.js +++ b/src/containers/settings/EditSettingsScreen.js | |||
@@ -78,6 +78,10 @@ const messages = defineMessages({ | |||
78 | id: 'settings.app.form.lockPassword', | 78 | id: 'settings.app.form.lockPassword', |
79 | defaultMessage: '!!!Password', | 79 | defaultMessage: '!!!Password', |
80 | }, | 80 | }, |
81 | inactivityLock: { | ||
82 | id: 'settings.app.form.inactivityLock', | ||
83 | defaultMessage: '!!!Lock after inactivity', | ||
84 | }, | ||
81 | scheduledDNDEnabled: { | 85 | scheduledDNDEnabled: { |
82 | id: 'settings.app.form.scheduledDNDEnabled', | 86 | id: 'settings.app.form.scheduledDNDEnabled', |
83 | defaultMessage: '!!!Enable scheduled Do-not-Disturb', | 87 | defaultMessage: '!!!Enable scheduled Do-not-Disturb', |
@@ -178,6 +182,7 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
178 | todoServer: settingsData.todoServer, | 182 | todoServer: settingsData.todoServer, |
179 | lockingFeatureEnabled: settingsData.lockingFeatureEnabled, | 183 | lockingFeatureEnabled: settingsData.lockingFeatureEnabled, |
180 | lockedPassword: settingsData.lockedPassword, | 184 | lockedPassword: settingsData.lockedPassword, |
185 | inactivityLock: settingsData.inactivityLock, | ||
181 | scheduledDNDEnabled: settingsData.scheduledDNDEnabled, | 186 | scheduledDNDEnabled: settingsData.scheduledDNDEnabled, |
182 | scheduledDNDStart: settingsData.scheduledDNDStart, | 187 | scheduledDNDStart: settingsData.scheduledDNDStart, |
183 | scheduledDNDEnd: settingsData.scheduledDNDEnd, | 188 | scheduledDNDEnd: settingsData.scheduledDNDEnd, |
@@ -312,6 +317,12 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e | |||
312 | default: '', | 317 | default: '', |
313 | type: 'password', | 318 | type: 'password', |
314 | }, | 319 | }, |
320 | inactivityLock: { | ||
321 | label: intl.formatMessage(messages.inactivityLock), | ||
322 | value: settings.all.app.inactivityLock, | ||
323 | default: 0, | ||
324 | type: 'number', | ||
325 | }, | ||
315 | scheduledDNDEnabled: { | 326 | scheduledDNDEnabled: { |
316 | label: intl.formatMessage(messages.scheduledDNDEnabled), | 327 | label: intl.formatMessage(messages.scheduledDNDEnabled), |
317 | value: settings.all.app.scheduledDNDEnabled || false, | 328 | value: settings.all.app.scheduledDNDEnabled || false, |
diff --git a/src/i18n/locales/defaultMessages.json b/src/i18n/locales/defaultMessages.json index fe324cd67..22953ffb0 100644 --- a/src/i18n/locales/defaultMessages.json +++ b/src/i18n/locales/defaultMessages.json | |||
@@ -2670,341 +2670,354 @@ | |||
2670 | } | 2670 | } |
2671 | }, | 2671 | }, |
2672 | { | 2672 | { |
2673 | "defaultMessage": "!!!We advice you to logout after changing your server as your settings might not be saved otherwise.", | 2673 | "defaultMessage": "!!!Minutes of inactivity, after which Ferdi should automatically lock. Use 0 to disable", |
2674 | "end": { | 2674 | "end": { |
2675 | "column": 3, | 2675 | "column": 3, |
2676 | "line": 42 | 2676 | "line": 42 |
2677 | }, | 2677 | }, |
2678 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2678 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2679 | "id": "settings.app.inactivityLockInfo", | ||
2680 | "start": { | ||
2681 | "column": 22, | ||
2682 | "line": 39 | ||
2683 | } | ||
2684 | }, | ||
2685 | { | ||
2686 | "defaultMessage": "!!!We advice you to logout after changing your server as your settings might not be saved otherwise.", | ||
2687 | "end": { | ||
2688 | "column": 3, | ||
2689 | "line": 46 | ||
2690 | }, | ||
2691 | "file": "src/components/settings/settings/EditSettingsForm.js", | ||
2679 | "id": "settings.app.serverInfo", | 2692 | "id": "settings.app.serverInfo", |
2680 | "start": { | 2693 | "start": { |
2681 | "column": 14, | 2694 | "column": 14, |
2682 | "line": 39 | 2695 | "line": 43 |
2683 | } | 2696 | } |
2684 | }, | 2697 | }, |
2685 | { | 2698 | { |
2686 | "defaultMessage": "!!!You are using the official Franz Server for Ferdi.\nWe know that Ferdi allows you to use all its features for free but you are still using Franz's server resources - which Franz's creator has to pay for.\nPlease still consider [Link 1]paying for a Franz account[/Link] or [Link 2]using a self-hosted ferdi-server[/Link] (if you have the knowledge and resources to do so). \nBy using Ferdi, you still profit greatly from Franz's recipe store, server resources and its development.", | 2699 | "defaultMessage": "!!!You are using the official Franz Server for Ferdi.\nWe know that Ferdi allows you to use all its features for free but you are still using Franz's server resources - which Franz's creator has to pay for.\nPlease still consider [Link 1]paying for a Franz account[/Link] or [Link 2]using a self-hosted ferdi-server[/Link] (if you have the knowledge and resources to do so). \nBy using Ferdi, you still profit greatly from Franz's recipe store, server resources and its development.", |
2687 | "end": { | 2700 | "end": { |
2688 | "column": 3, | 2701 | "column": 3, |
2689 | "line": 46 | 2702 | "line": 50 |
2690 | }, | 2703 | }, |
2691 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2704 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2692 | "id": "settings.app.serverMoneyInfo", | 2705 | "id": "settings.app.serverMoneyInfo", |
2693 | "start": { | 2706 | "start": { |
2694 | "column": 19, | 2707 | "column": 19, |
2695 | "line": 43 | 2708 | "line": 47 |
2696 | } | 2709 | } |
2697 | }, | 2710 | }, |
2698 | { | 2711 | { |
2699 | "defaultMessage": "!!!This server will be used for the \"Franz Todo\" feature. (default: https://app.franztodos.com)", | 2712 | "defaultMessage": "!!!This server will be used for the \"Franz Todo\" feature. (default: https://app.franztodos.com)", |
2700 | "end": { | 2713 | "end": { |
2701 | "column": 3, | 2714 | "column": 3, |
2702 | "line": 50 | 2715 | "line": 54 |
2703 | }, | 2716 | }, |
2704 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2717 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2705 | "id": "settings.app.todoServerInfo", | 2718 | "id": "settings.app.todoServerInfo", |
2706 | "start": { | 2719 | "start": { |
2707 | "column": 18, | 2720 | "column": 18, |
2708 | "line": 47 | 2721 | "line": 51 |
2709 | } | 2722 | } |
2710 | }, | 2723 | }, |
2711 | { | 2724 | { |
2712 | "defaultMessage": "!!!Password", | 2725 | "defaultMessage": "!!!Password", |
2713 | "end": { | 2726 | "end": { |
2714 | "column": 3, | 2727 | "column": 3, |
2715 | "line": 54 | 2728 | "line": 58 |
2716 | }, | 2729 | }, |
2717 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2730 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2718 | "id": "settings.app.lockedPassword", | 2731 | "id": "settings.app.lockedPassword", |
2719 | "start": { | 2732 | "start": { |
2720 | "column": 18, | 2733 | "column": 18, |
2721 | "line": 51 | 2734 | "line": 55 |
2722 | } | 2735 | } |
2723 | }, | 2736 | }, |
2724 | { | 2737 | { |
2725 | "defaultMessage": "!!!Please make sure to set a password you'll remember.\nIf you loose this password, you will have to reinstall Ferdi.", | 2738 | "defaultMessage": "!!!Please make sure to set a password you'll remember.\nIf you loose this password, you will have to reinstall Ferdi.", |
2726 | "end": { | 2739 | "end": { |
2727 | "column": 3, | 2740 | "column": 3, |
2728 | "line": 58 | 2741 | "line": 62 |
2729 | }, | 2742 | }, |
2730 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2743 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2731 | "id": "settings.app.lockedPasswordInfo", | 2744 | "id": "settings.app.lockedPasswordInfo", |
2732 | "start": { | 2745 | "start": { |
2733 | "column": 22, | 2746 | "column": 22, |
2734 | "line": 55 | 2747 | "line": 59 |
2735 | } | 2748 | } |
2736 | }, | 2749 | }, |
2737 | { | 2750 | { |
2738 | "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.", | 2751 | "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.", |
2739 | "end": { | 2752 | "end": { |
2740 | "column": 3, | 2753 | "column": 3, |
2741 | "line": 62 | 2754 | "line": 66 |
2742 | }, | 2755 | }, |
2743 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2756 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2744 | "id": "settings.app.lockInfo", | 2757 | "id": "settings.app.lockInfo", |
2745 | "start": { | 2758 | "start": { |
2746 | "column": 12, | 2759 | "column": 12, |
2747 | "line": 59 | 2760 | "line": 63 |
2748 | } | 2761 | } |
2749 | }, | 2762 | }, |
2750 | { | 2763 | { |
2751 | "defaultMessage": "!!!Times in 24-Hour-Format. End time can be before start time (e.g. start 17:00, end 09:00) to enable Do-not-Disturb overnight.", | 2764 | "defaultMessage": "!!!Times in 24-Hour-Format. End time can be before start time (e.g. start 17:00, end 09:00) to enable Do-not-Disturb overnight.", |
2752 | "end": { | 2765 | "end": { |
2753 | "column": 3, | 2766 | "column": 3, |
2754 | "line": 66 | 2767 | "line": 70 |
2755 | }, | 2768 | }, |
2756 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2769 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2757 | "id": "settings.app.scheduledDNDTimeInfo", | 2770 | "id": "settings.app.scheduledDNDTimeInfo", |
2758 | "start": { | 2771 | "start": { |
2759 | "column": 24, | 2772 | "column": 24, |
2760 | "line": 63 | 2773 | "line": 67 |
2761 | } | 2774 | } |
2762 | }, | 2775 | }, |
2763 | { | 2776 | { |
2764 | "defaultMessage": "!!!Scheduled Do-not-Disturb allows you to define a period of time in which you do not want to get Notifications from Ferdi.", | 2777 | "defaultMessage": "!!!Scheduled Do-not-Disturb allows you to define a period of time in which you do not want to get Notifications from Ferdi.", |
2765 | "end": { | 2778 | "end": { |
2766 | "column": 3, | 2779 | "column": 3, |
2767 | "line": 70 | 2780 | "line": 74 |
2768 | }, | 2781 | }, |
2769 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2782 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2770 | "id": "settings.app.scheduledDNDInfo", | 2783 | "id": "settings.app.scheduledDNDInfo", |
2771 | "start": { | 2784 | "start": { |
2772 | "column": 20, | 2785 | "column": 20, |
2773 | "line": 67 | 2786 | "line": 71 |
2774 | } | 2787 | } |
2775 | }, | 2788 | }, |
2776 | { | 2789 | { |
2777 | "defaultMessage": "!!!Language", | 2790 | "defaultMessage": "!!!Language", |
2778 | "end": { | 2791 | "end": { |
2779 | "column": 3, | 2792 | "column": 3, |
2780 | "line": 74 | 2793 | "line": 78 |
2781 | }, | 2794 | }, |
2782 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2795 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2783 | "id": "settings.app.headlineLanguage", | 2796 | "id": "settings.app.headlineLanguage", |
2784 | "start": { | 2797 | "start": { |
2785 | "column": 20, | 2798 | "column": 20, |
2786 | "line": 71 | 2799 | "line": 75 |
2787 | } | 2800 | } |
2788 | }, | 2801 | }, |
2789 | { | 2802 | { |
2790 | "defaultMessage": "!!!Updates", | 2803 | "defaultMessage": "!!!Updates", |
2791 | "end": { | 2804 | "end": { |
2792 | "column": 3, | 2805 | "column": 3, |
2793 | "line": 78 | 2806 | "line": 82 |
2794 | }, | 2807 | }, |
2795 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2808 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2796 | "id": "settings.app.headlineUpdates", | 2809 | "id": "settings.app.headlineUpdates", |
2797 | "start": { | 2810 | "start": { |
2798 | "column": 19, | 2811 | "column": 19, |
2799 | "line": 75 | 2812 | "line": 79 |
2800 | } | 2813 | } |
2801 | }, | 2814 | }, |
2802 | { | 2815 | { |
2803 | "defaultMessage": "!!!Appearance", | 2816 | "defaultMessage": "!!!Appearance", |
2804 | "end": { | 2817 | "end": { |
2805 | "column": 3, | 2818 | "column": 3, |
2806 | "line": 82 | 2819 | "line": 86 |
2807 | }, | 2820 | }, |
2808 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2821 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2809 | "id": "settings.app.headlineAppearance", | 2822 | "id": "settings.app.headlineAppearance", |
2810 | "start": { | 2823 | "start": { |
2811 | "column": 22, | 2824 | "column": 22, |
2812 | "line": 79 | 2825 | "line": 83 |
2813 | } | 2826 | } |
2814 | }, | 2827 | }, |
2815 | { | 2828 | { |
2816 | "defaultMessage": "!!!Universal Dark Mode tries to dynamically generate dark mode styles for services that are otherwise not currently supported.", | 2829 | "defaultMessage": "!!!Universal Dark Mode tries to dynamically generate dark mode styles for services that are otherwise not currently supported.", |
2817 | "end": { | 2830 | "end": { |
2818 | "column": 3, | 2831 | "column": 3, |
2819 | "line": 86 | 2832 | "line": 90 |
2820 | }, | 2833 | }, |
2821 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2834 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2822 | "id": "settings.app.universalDarkModeInfo", | 2835 | "id": "settings.app.universalDarkModeInfo", |
2823 | "start": { | 2836 | "start": { |
2824 | "column": 25, | 2837 | "column": 25, |
2825 | "line": 83 | 2838 | "line": 87 |
2826 | } | 2839 | } |
2827 | }, | 2840 | }, |
2828 | { | 2841 | { |
2829 | "defaultMessage": "!!!Write your accent color in a CSS-compatible format. (Default: #7367f0)", | 2842 | "defaultMessage": "!!!Write your accent color in a CSS-compatible format. (Default: #7367f0)", |
2830 | "end": { | 2843 | "end": { |
2831 | "column": 3, | 2844 | "column": 3, |
2832 | "line": 90 | 2845 | "line": 94 |
2833 | }, | 2846 | }, |
2834 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2847 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2835 | "id": "settings.app.accentColorInfo", | 2848 | "id": "settings.app.accentColorInfo", |
2836 | "start": { | 2849 | "start": { |
2837 | "column": 19, | 2850 | "column": 19, |
2838 | "line": 87 | 2851 | "line": 91 |
2839 | } | 2852 | } |
2840 | }, | 2853 | }, |
2841 | { | 2854 | { |
2842 | "defaultMessage": "!!!Advanced", | 2855 | "defaultMessage": "!!!Advanced", |
2843 | "end": { | 2856 | "end": { |
2844 | "column": 3, | 2857 | "column": 3, |
2845 | "line": 94 | 2858 | "line": 98 |
2846 | }, | 2859 | }, |
2847 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2860 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2848 | "id": "settings.app.headlineAdvanced", | 2861 | "id": "settings.app.headlineAdvanced", |
2849 | "start": { | 2862 | "start": { |
2850 | "column": 20, | 2863 | "column": 20, |
2851 | "line": 91 | 2864 | "line": 95 |
2852 | } | 2865 | } |
2853 | }, | 2866 | }, |
2854 | { | 2867 | { |
2855 | "defaultMessage": "!!!Help us to translate Ferdi into your language.", | 2868 | "defaultMessage": "!!!Help us to translate Ferdi into your language.", |
2856 | "end": { | 2869 | "end": { |
2857 | "column": 3, | 2870 | "column": 3, |
2858 | "line": 98 | 2871 | "line": 102 |
2859 | }, | 2872 | }, |
2860 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2873 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2861 | "id": "settings.app.translationHelp", | 2874 | "id": "settings.app.translationHelp", |
2862 | "start": { | 2875 | "start": { |
2863 | "column": 19, | 2876 | "column": 19, |
2864 | "line": 95 | 2877 | "line": 99 |
2865 | } | 2878 | } |
2866 | }, | 2879 | }, |
2867 | { | 2880 | { |
2868 | "defaultMessage": "!!!Cache", | 2881 | "defaultMessage": "!!!Cache", |
2869 | "end": { | 2882 | "end": { |
2870 | "column": 3, | 2883 | "column": 3, |
2871 | "line": 102 | 2884 | "line": 106 |
2872 | }, | 2885 | }, |
2873 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2886 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2874 | "id": "settings.app.subheadlineCache", | 2887 | "id": "settings.app.subheadlineCache", |
2875 | "start": { | 2888 | "start": { |
2876 | "column": 20, | 2889 | "column": 20, |
2877 | "line": 99 | 2890 | "line": 103 |
2878 | } | 2891 | } |
2879 | }, | 2892 | }, |
2880 | { | 2893 | { |
2881 | "defaultMessage": "!!!Ferdi cache is currently using {size} of disk space.", | 2894 | "defaultMessage": "!!!Ferdi cache is currently using {size} of disk space.", |
2882 | "end": { | 2895 | "end": { |
2883 | "column": 3, | 2896 | "column": 3, |
2884 | "line": 106 | 2897 | "line": 110 |
2885 | }, | 2898 | }, |
2886 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2899 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2887 | "id": "settings.app.cacheInfo", | 2900 | "id": "settings.app.cacheInfo", |
2888 | "start": { | 2901 | "start": { |
2889 | "column": 13, | 2902 | "column": 13, |
2890 | "line": 103 | 2903 | "line": 107 |
2891 | } | 2904 | } |
2892 | }, | 2905 | }, |
2893 | { | 2906 | { |
2894 | "defaultMessage": "!!!Clear cache", | 2907 | "defaultMessage": "!!!Clear cache", |
2895 | "end": { | 2908 | "end": { |
2896 | "column": 3, | 2909 | "column": 3, |
2897 | "line": 110 | 2910 | "line": 114 |
2898 | }, | 2911 | }, |
2899 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2912 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2900 | "id": "settings.app.buttonClearAllCache", | 2913 | "id": "settings.app.buttonClearAllCache", |
2901 | "start": { | 2914 | "start": { |
2902 | "column": 23, | 2915 | "column": 23, |
2903 | "line": 107 | 2916 | "line": 111 |
2904 | } | 2917 | } |
2905 | }, | 2918 | }, |
2906 | { | 2919 | { |
2907 | "defaultMessage": "!!!Check for updates", | 2920 | "defaultMessage": "!!!Check for updates", |
2908 | "end": { | 2921 | "end": { |
2909 | "column": 3, | 2922 | "column": 3, |
2910 | "line": 114 | 2923 | "line": 118 |
2911 | }, | 2924 | }, |
2912 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2925 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2913 | "id": "settings.app.buttonSearchForUpdate", | 2926 | "id": "settings.app.buttonSearchForUpdate", |
2914 | "start": { | 2927 | "start": { |
2915 | "column": 25, | 2928 | "column": 25, |
2916 | "line": 111 | 2929 | "line": 115 |
2917 | } | 2930 | } |
2918 | }, | 2931 | }, |
2919 | { | 2932 | { |
2920 | "defaultMessage": "!!!Restart & install update", | 2933 | "defaultMessage": "!!!Restart & install update", |
2921 | "end": { | 2934 | "end": { |
2922 | "column": 3, | 2935 | "column": 3, |
2923 | "line": 118 | 2936 | "line": 122 |
2924 | }, | 2937 | }, |
2925 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2938 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2926 | "id": "settings.app.buttonInstallUpdate", | 2939 | "id": "settings.app.buttonInstallUpdate", |
2927 | "start": { | 2940 | "start": { |
2928 | "column": 23, | 2941 | "column": 23, |
2929 | "line": 115 | 2942 | "line": 119 |
2930 | } | 2943 | } |
2931 | }, | 2944 | }, |
2932 | { | 2945 | { |
2933 | "defaultMessage": "!!!Is searching for update", | 2946 | "defaultMessage": "!!!Is searching for update", |
2934 | "end": { | 2947 | "end": { |
2935 | "column": 3, | 2948 | "column": 3, |
2936 | "line": 122 | 2949 | "line": 126 |
2937 | }, | 2950 | }, |
2938 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2951 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2939 | "id": "settings.app.updateStatusSearching", | 2952 | "id": "settings.app.updateStatusSearching", |
2940 | "start": { | 2953 | "start": { |
2941 | "column": 25, | 2954 | "column": 25, |
2942 | "line": 119 | 2955 | "line": 123 |
2943 | } | 2956 | } |
2944 | }, | 2957 | }, |
2945 | { | 2958 | { |
2946 | "defaultMessage": "!!!Update available, downloading...", | 2959 | "defaultMessage": "!!!Update available, downloading...", |
2947 | "end": { | 2960 | "end": { |
2948 | "column": 3, | 2961 | "column": 3, |
2949 | "line": 126 | 2962 | "line": 130 |
2950 | }, | 2963 | }, |
2951 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2964 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2952 | "id": "settings.app.updateStatusAvailable", | 2965 | "id": "settings.app.updateStatusAvailable", |
2953 | "start": { | 2966 | "start": { |
2954 | "column": 25, | 2967 | "column": 25, |
2955 | "line": 123 | 2968 | "line": 127 |
2956 | } | 2969 | } |
2957 | }, | 2970 | }, |
2958 | { | 2971 | { |
2959 | "defaultMessage": "!!!You are using the latest version of Ferdi", | 2972 | "defaultMessage": "!!!You are using the latest version of Ferdi", |
2960 | "end": { | 2973 | "end": { |
2961 | "column": 3, | 2974 | "column": 3, |
2962 | "line": 130 | 2975 | "line": 134 |
2963 | }, | 2976 | }, |
2964 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2977 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2965 | "id": "settings.app.updateStatusUpToDate", | 2978 | "id": "settings.app.updateStatusUpToDate", |
2966 | "start": { | 2979 | "start": { |
2967 | "column": 24, | 2980 | "column": 24, |
2968 | "line": 127 | 2981 | "line": 131 |
2969 | } | 2982 | } |
2970 | }, | 2983 | }, |
2971 | { | 2984 | { |
2972 | "defaultMessage": "!!!Current version:", | 2985 | "defaultMessage": "!!!Current version:", |
2973 | "end": { | 2986 | "end": { |
2974 | "column": 3, | 2987 | "column": 3, |
2975 | "line": 134 | 2988 | "line": 138 |
2976 | }, | 2989 | }, |
2977 | "file": "src/components/settings/settings/EditSettingsForm.js", | 2990 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2978 | "id": "settings.app.currentVersion", | 2991 | "id": "settings.app.currentVersion", |
2979 | "start": { | 2992 | "start": { |
2980 | "column": 18, | 2993 | "column": 18, |
2981 | "line": 131 | 2994 | "line": 135 |
2982 | } | 2995 | } |
2983 | }, | 2996 | }, |
2984 | { | 2997 | { |
2985 | "defaultMessage": "!!!Changes require restart", | 2998 | "defaultMessage": "!!!Changes require restart", |
2986 | "end": { | 2999 | "end": { |
2987 | "column": 3, | 3000 | "column": 3, |
2988 | "line": 138 | 3001 | "line": 142 |
2989 | }, | 3002 | }, |
2990 | "file": "src/components/settings/settings/EditSettingsForm.js", | 3003 | "file": "src/components/settings/settings/EditSettingsForm.js", |
2991 | "id": "settings.app.restartRequired", | 3004 | "id": "settings.app.restartRequired", |
2992 | "start": { | 3005 | "start": { |
2993 | "column": 29, | 3006 | "column": 29, |
2994 | "line": 135 | 3007 | "line": 139 |
2995 | } | 3008 | } |
2996 | }, | 3009 | }, |
2997 | { | 3010 | { |
2998 | "defaultMessage": "!!!Official translations are English & German. All other languages are community based translations.", | 3011 | "defaultMessage": "!!!Official translations are English & German. All other languages are community based translations.", |
2999 | "end": { | 3012 | "end": { |
3000 | "column": 3, | 3013 | "column": 3, |
3001 | "line": 142 | 3014 | "line": 146 |
3002 | }, | 3015 | }, |
3003 | "file": "src/components/settings/settings/EditSettingsForm.js", | 3016 | "file": "src/components/settings/settings/EditSettingsForm.js", |
3004 | "id": "settings.app.languageDisclaimer", | 3017 | "id": "settings.app.languageDisclaimer", |
3005 | "start": { | 3018 | "start": { |
3006 | "column": 22, | 3019 | "column": 22, |
3007 | "line": 139 | 3020 | "line": 143 |
3008 | } | 3021 | } |
3009 | } | 3022 | } |
3010 | ], | 3023 | ], |
@@ -4227,211 +4240,224 @@ | |||
4227 | } | 4240 | } |
4228 | }, | 4241 | }, |
4229 | { | 4242 | { |
4230 | "defaultMessage": "!!!Enable scheduled Do-not-Disturb", | 4243 | "defaultMessage": "!!!Lock after inactivity", |
4231 | "end": { | 4244 | "end": { |
4232 | "column": 3, | 4245 | "column": 3, |
4233 | "line": 84 | 4246 | "line": 84 |
4234 | }, | 4247 | }, |
4235 | "file": "src/containers/settings/EditSettingsScreen.js", | 4248 | "file": "src/containers/settings/EditSettingsScreen.js", |
4249 | "id": "settings.app.form.inactivityLock", | ||
4250 | "start": { | ||
4251 | "column": 18, | ||
4252 | "line": 81 | ||
4253 | } | ||
4254 | }, | ||
4255 | { | ||
4256 | "defaultMessage": "!!!Enable scheduled Do-not-Disturb", | ||
4257 | "end": { | ||
4258 | "column": 3, | ||
4259 | "line": 88 | ||
4260 | }, | ||
4261 | "file": "src/containers/settings/EditSettingsScreen.js", | ||
4236 | "id": "settings.app.form.scheduledDNDEnabled", | 4262 | "id": "settings.app.form.scheduledDNDEnabled", |
4237 | "start": { | 4263 | "start": { |
4238 | "column": 23, | 4264 | "column": 23, |
4239 | "line": 81 | 4265 | "line": 85 |
4240 | } | 4266 | } |
4241 | }, | 4267 | }, |
4242 | { | 4268 | { |
4243 | "defaultMessage": "!!!From", | 4269 | "defaultMessage": "!!!From", |
4244 | "end": { | 4270 | "end": { |
4245 | "column": 3, | 4271 | "column": 3, |
4246 | "line": 88 | 4272 | "line": 92 |
4247 | }, | 4273 | }, |
4248 | "file": "src/containers/settings/EditSettingsScreen.js", | 4274 | "file": "src/containers/settings/EditSettingsScreen.js", |
4249 | "id": "settings.app.form.scheduledDNDStart", | 4275 | "id": "settings.app.form.scheduledDNDStart", |
4250 | "start": { | 4276 | "start": { |
4251 | "column": 21, | 4277 | "column": 21, |
4252 | "line": 85 | 4278 | "line": 89 |
4253 | } | 4279 | } |
4254 | }, | 4280 | }, |
4255 | { | 4281 | { |
4256 | "defaultMessage": "!!!To", | 4282 | "defaultMessage": "!!!To", |
4257 | "end": { | 4283 | "end": { |
4258 | "column": 3, | 4284 | "column": 3, |
4259 | "line": 92 | 4285 | "line": 96 |
4260 | }, | 4286 | }, |
4261 | "file": "src/containers/settings/EditSettingsScreen.js", | 4287 | "file": "src/containers/settings/EditSettingsScreen.js", |
4262 | "id": "settings.app.form.scheduledDNDEnd", | 4288 | "id": "settings.app.form.scheduledDNDEnd", |
4263 | "start": { | 4289 | "start": { |
4264 | "column": 19, | 4290 | "column": 19, |
4265 | "line": 89 | 4291 | "line": 93 |
4266 | } | 4292 | } |
4267 | }, | 4293 | }, |
4268 | { | 4294 | { |
4269 | "defaultMessage": "!!!Language", | 4295 | "defaultMessage": "!!!Language", |
4270 | "end": { | 4296 | "end": { |
4271 | "column": 3, | 4297 | "column": 3, |
4272 | "line": 96 | 4298 | "line": 100 |
4273 | }, | 4299 | }, |
4274 | "file": "src/containers/settings/EditSettingsScreen.js", | 4300 | "file": "src/containers/settings/EditSettingsScreen.js", |
4275 | "id": "settings.app.form.language", | 4301 | "id": "settings.app.form.language", |
4276 | "start": { | 4302 | "start": { |
4277 | "column": 12, | 4303 | "column": 12, |
4278 | "line": 93 | 4304 | "line": 97 |
4279 | } | 4305 | } |
4280 | }, | 4306 | }, |
4281 | { | 4307 | { |
4282 | "defaultMessage": "!!!Dark Mode", | 4308 | "defaultMessage": "!!!Dark Mode", |
4283 | "end": { | 4309 | "end": { |
4284 | "column": 3, | 4310 | "column": 3, |
4285 | "line": 100 | 4311 | "line": 104 |
4286 | }, | 4312 | }, |
4287 | "file": "src/containers/settings/EditSettingsScreen.js", | 4313 | "file": "src/containers/settings/EditSettingsScreen.js", |
4288 | "id": "settings.app.form.darkMode", | 4314 | "id": "settings.app.form.darkMode", |
4289 | "start": { | 4315 | "start": { |
4290 | "column": 12, | 4316 | "column": 12, |
4291 | "line": 97 | 4317 | "line": 101 |
4292 | } | 4318 | } |
4293 | }, | 4319 | }, |
4294 | { | 4320 | { |
4295 | "defaultMessage": "!!!Enable adaptable Dark Mode", | 4321 | "defaultMessage": "!!!Enable adaptable Dark Mode", |
4296 | "end": { | 4322 | "end": { |
4297 | "column": 3, | 4323 | "column": 3, |
4298 | "line": 104 | 4324 | "line": 108 |
4299 | }, | 4325 | }, |
4300 | "file": "src/containers/settings/EditSettingsScreen.js", | 4326 | "file": "src/containers/settings/EditSettingsScreen.js", |
4301 | "id": "settings.app.form.adaptableDarkMode", | 4327 | "id": "settings.app.form.adaptableDarkMode", |
4302 | "start": { | 4328 | "start": { |
4303 | "column": 21, | 4329 | "column": 21, |
4304 | "line": 101 | 4330 | "line": 105 |
4305 | } | 4331 | } |
4306 | }, | 4332 | }, |
4307 | { | 4333 | { |
4308 | "defaultMessage": "!!!Enable universal Dark Mode", | 4334 | "defaultMessage": "!!!Enable universal Dark Mode", |
4309 | "end": { | 4335 | "end": { |
4310 | "column": 3, | 4336 | "column": 3, |
4311 | "line": 108 | 4337 | "line": 112 |
4312 | }, | 4338 | }, |
4313 | "file": "src/containers/settings/EditSettingsScreen.js", | 4339 | "file": "src/containers/settings/EditSettingsScreen.js", |
4314 | "id": "settings.app.form.universalDarkMode", | 4340 | "id": "settings.app.form.universalDarkMode", |
4315 | "start": { | 4341 | "start": { |
4316 | "column": 21, | 4342 | "column": 21, |
4317 | "line": 105 | 4343 | "line": 109 |
4318 | } | 4344 | } |
4319 | }, | 4345 | }, |
4320 | { | 4346 | { |
4321 | "defaultMessage": "!!!Accent color", | 4347 | "defaultMessage": "!!!Accent color", |
4322 | "end": { | 4348 | "end": { |
4323 | "column": 3, | 4349 | "column": 3, |
4324 | "line": 112 | 4350 | "line": 116 |
4325 | }, | 4351 | }, |
4326 | "file": "src/containers/settings/EditSettingsScreen.js", | 4352 | "file": "src/containers/settings/EditSettingsScreen.js", |
4327 | "id": "settings.app.form.accentColor", | 4353 | "id": "settings.app.form.accentColor", |
4328 | "start": { | 4354 | "start": { |
4329 | "column": 15, | 4355 | "column": 15, |
4330 | "line": 109 | 4356 | "line": 113 |
4331 | } | 4357 | } |
4332 | }, | 4358 | }, |
4333 | { | 4359 | { |
4334 | "defaultMessage": "!!!Display disabled services tabs", | 4360 | "defaultMessage": "!!!Display disabled services tabs", |
4335 | "end": { | 4361 | "end": { |
4336 | "column": 3, | 4362 | "column": 3, |
4337 | "line": 116 | 4363 | "line": 120 |
4338 | }, | 4364 | }, |
4339 | "file": "src/containers/settings/EditSettingsScreen.js", | 4365 | "file": "src/containers/settings/EditSettingsScreen.js", |
4340 | "id": "settings.app.form.showDisabledServices", | 4366 | "id": "settings.app.form.showDisabledServices", |
4341 | "start": { | 4367 | "start": { |
4342 | "column": 24, | 4368 | "column": 24, |
4343 | "line": 113 | 4369 | "line": 117 |
4344 | } | 4370 | } |
4345 | }, | 4371 | }, |
4346 | { | 4372 | { |
4347 | "defaultMessage": "!!!Show unread message badge when notifications are disabled", | 4373 | "defaultMessage": "!!!Show unread message badge when notifications are disabled", |
4348 | "end": { | 4374 | "end": { |
4349 | "column": 3, | 4375 | "column": 3, |
4350 | "line": 120 | 4376 | "line": 124 |
4351 | }, | 4377 | }, |
4352 | "file": "src/containers/settings/EditSettingsScreen.js", | 4378 | "file": "src/containers/settings/EditSettingsScreen.js", |
4353 | "id": "settings.app.form.showMessagesBadgesWhenMuted", | 4379 | "id": "settings.app.form.showMessagesBadgesWhenMuted", |
4354 | "start": { | 4380 | "start": { |
4355 | "column": 29, | 4381 | "column": 29, |
4356 | "line": 117 | 4382 | "line": 121 |
4357 | } | 4383 | } |
4358 | }, | 4384 | }, |
4359 | { | 4385 | { |
4360 | "defaultMessage": "!!!Enable spell checking", | 4386 | "defaultMessage": "!!!Enable spell checking", |
4361 | "end": { | 4387 | "end": { |
4362 | "column": 3, | 4388 | "column": 3, |
4363 | "line": 124 | 4389 | "line": 128 |
4364 | }, | 4390 | }, |
4365 | "file": "src/containers/settings/EditSettingsScreen.js", | 4391 | "file": "src/containers/settings/EditSettingsScreen.js", |
4366 | "id": "settings.app.form.enableSpellchecking", | 4392 | "id": "settings.app.form.enableSpellchecking", |
4367 | "start": { | 4393 | "start": { |
4368 | "column": 23, | 4394 | "column": 23, |
4369 | "line": 121 | 4395 | "line": 125 |
4370 | } | 4396 | } |
4371 | }, | 4397 | }, |
4372 | { | 4398 | { |
4373 | "defaultMessage": "!!!Enable GPU Acceleration", | 4399 | "defaultMessage": "!!!Enable GPU Acceleration", |
4374 | "end": { | 4400 | "end": { |
4375 | "column": 3, | 4401 | "column": 3, |
4376 | "line": 128 | 4402 | "line": 132 |
4377 | }, | 4403 | }, |
4378 | "file": "src/containers/settings/EditSettingsScreen.js", | 4404 | "file": "src/containers/settings/EditSettingsScreen.js", |
4379 | "id": "settings.app.form.enableGPUAcceleration", | 4405 | "id": "settings.app.form.enableGPUAcceleration", |
4380 | "start": { | 4406 | "start": { |
4381 | "column": 25, | 4407 | "column": 25, |
4382 | "line": 125 | 4408 | "line": 129 |
4383 | } | 4409 | } |
4384 | }, | 4410 | }, |
4385 | { | 4411 | { |
4386 | "defaultMessage": "!!!Include beta versions", | 4412 | "defaultMessage": "!!!Include beta versions", |
4387 | "end": { | 4413 | "end": { |
4388 | "column": 3, | 4414 | "column": 3, |
4389 | "line": 132 | 4415 | "line": 136 |
4390 | }, | 4416 | }, |
4391 | "file": "src/containers/settings/EditSettingsScreen.js", | 4417 | "file": "src/containers/settings/EditSettingsScreen.js", |
4392 | "id": "settings.app.form.beta", | 4418 | "id": "settings.app.form.beta", |
4393 | "start": { | 4419 | "start": { |
4394 | "column": 8, | 4420 | "column": 8, |
4395 | "line": 129 | 4421 | "line": 133 |
4396 | } | 4422 | } |
4397 | }, | 4423 | }, |
4398 | { | 4424 | { |
4399 | "defaultMessage": "!!!Disable updates", | 4425 | "defaultMessage": "!!!Disable updates", |
4400 | "end": { | 4426 | "end": { |
4401 | "column": 3, | 4427 | "column": 3, |
4402 | "line": 136 | 4428 | "line": 140 |
4403 | }, | 4429 | }, |
4404 | "file": "src/containers/settings/EditSettingsScreen.js", | 4430 | "file": "src/containers/settings/EditSettingsScreen.js", |
4405 | "id": "settings.app.form.noUpdates", | 4431 | "id": "settings.app.form.noUpdates", |
4406 | "start": { | 4432 | "start": { |
4407 | "column": 13, | 4433 | "column": 13, |
4408 | "line": 133 | 4434 | "line": 137 |
4409 | } | 4435 | } |
4410 | }, | 4436 | }, |
4411 | { | 4437 | { |
4412 | "defaultMessage": "!!!Enable Franz Todos", | 4438 | "defaultMessage": "!!!Enable Franz Todos", |
4413 | "end": { | 4439 | "end": { |
4414 | "column": 3, | 4440 | "column": 3, |
4415 | "line": 140 | 4441 | "line": 144 |
4416 | }, | 4442 | }, |
4417 | "file": "src/containers/settings/EditSettingsScreen.js", | 4443 | "file": "src/containers/settings/EditSettingsScreen.js", |
4418 | "id": "settings.app.form.enableTodos", | 4444 | "id": "settings.app.form.enableTodos", |
4419 | "start": { | 4445 | "start": { |
4420 | "column": 15, | 4446 | "column": 15, |
4421 | "line": 137 | 4447 | "line": 141 |
4422 | } | 4448 | } |
4423 | }, | 4449 | }, |
4424 | { | 4450 | { |
4425 | "defaultMessage": "!!!Keep all workspaces loaded", | 4451 | "defaultMessage": "!!!Keep all workspaces loaded", |
4426 | "end": { | 4452 | "end": { |
4427 | "column": 3, | 4453 | "column": 3, |
4428 | "line": 144 | 4454 | "line": 148 |
4429 | }, | 4455 | }, |
4430 | "file": "src/containers/settings/EditSettingsScreen.js", | 4456 | "file": "src/containers/settings/EditSettingsScreen.js", |
4431 | "id": "settings.app.form.keepAllWorkspacesLoaded", | 4457 | "id": "settings.app.form.keepAllWorkspacesLoaded", |
4432 | "start": { | 4458 | "start": { |
4433 | "column": 27, | 4459 | "column": 27, |
4434 | "line": 141 | 4460 | "line": 145 |
4435 | } | 4461 | } |
4436 | } | 4462 | } |
4437 | ], | 4463 | ], |
diff --git a/src/i18n/locales/en-US.json b/src/i18n/locales/en-US.json index 5acb277ef..510a29143 100644 --- a/src/i18n/locales/en-US.json +++ b/src/i18n/locales/en-US.json | |||
@@ -269,6 +269,7 @@ | |||
269 | "settings.app.form.enableTodos": "Enable Ferdi Todos", | 269 | "settings.app.form.enableTodos": "Enable Ferdi Todos", |
270 | "settings.app.form.hibernate": "Enable service hibernation", | 270 | "settings.app.form.hibernate": "Enable service hibernation", |
271 | "settings.app.form.hibernationStrategy": "Hibernation strategy", | 271 | "settings.app.form.hibernationStrategy": "Hibernation strategy", |
272 | "settings.app.form.inactivityLock": "Lock after inactivity", | ||
272 | "settings.app.form.keepAllWorkspacesLoaded": "Keep all workspaces loaded", | 273 | "settings.app.form.keepAllWorkspacesLoaded": "Keep all workspaces loaded", |
273 | "settings.app.form.language": "Language", | 274 | "settings.app.form.language": "Language", |
274 | "settings.app.form.lockPassword": "Password", | 275 | "settings.app.form.lockPassword": "Password", |
@@ -292,6 +293,7 @@ | |||
292 | "settings.app.headlineLanguage": "Language", | 293 | "settings.app.headlineLanguage": "Language", |
293 | "settings.app.headlineUpdates": "Updates", | 294 | "settings.app.headlineUpdates": "Updates", |
294 | "settings.app.hibernateInfo": "By default, Ferdi will keep all your services open and loaded in the background so they are ready when you want to use them. Service Hibernation will unload your services after a specified amount. This is useful to save RAM or keeping services from slowing down your computer.", | 295 | "settings.app.hibernateInfo": "By default, Ferdi will keep all your services open and loaded in the background so they are ready when you want to use them. Service Hibernation will unload your services after a specified amount. This is useful to save RAM or keeping services from slowing down your computer.", |
296 | "settings.app.inactivityLockInfo": "Minutes of inactivity, after which Ferdi should automatically lock. Use 0 to disable", | ||
295 | "settings.app.languageDisclaimer": "Official translations are English & German. All other languages are community based translations.", | 297 | "settings.app.languageDisclaimer": "Official translations are English & German. All other languages are community based translations.", |
296 | "settings.app.lockInfo": "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.", | 298 | "settings.app.lockInfo": "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.", |
297 | "settings.app.lockedPassword": "Password", | 299 | "settings.app.lockedPassword": "Password", |
diff --git a/src/i18n/messages/src/components/settings/settings/EditSettingsForm.json b/src/i18n/messages/src/components/settings/settings/EditSettingsForm.json index 1fdff93b9..9be6f507d 100644 --- a/src/i18n/messages/src/components/settings/settings/EditSettingsForm.json +++ b/src/i18n/messages/src/components/settings/settings/EditSettingsForm.json | |||
@@ -39,15 +39,28 @@ | |||
39 | } | 39 | } |
40 | }, | 40 | }, |
41 | { | 41 | { |
42 | "id": "settings.app.inactivityLockInfo", | ||
43 | "defaultMessage": "!!!Minutes of inactivity, after which Ferdi should automatically lock. Use 0 to disable", | ||
44 | "file": "src/components/settings/settings/EditSettingsForm.js", | ||
45 | "start": { | ||
46 | "line": 39, | ||
47 | "column": 22 | ||
48 | }, | ||
49 | "end": { | ||
50 | "line": 42, | ||
51 | "column": 3 | ||
52 | } | ||
53 | }, | ||
54 | { | ||
42 | "id": "settings.app.serverInfo", | 55 | "id": "settings.app.serverInfo", |
43 | "defaultMessage": "!!!We advice you to logout after changing your server as your settings might not be saved otherwise.", | 56 | "defaultMessage": "!!!We advice you to logout after changing your server as your settings might not be saved otherwise.", |
44 | "file": "src/components/settings/settings/EditSettingsForm.js", | 57 | "file": "src/components/settings/settings/EditSettingsForm.js", |
45 | "start": { | 58 | "start": { |
46 | "line": 39, | 59 | "line": 43, |
47 | "column": 14 | 60 | "column": 14 |
48 | }, | 61 | }, |
49 | "end": { | 62 | "end": { |
50 | "line": 42, | 63 | "line": 46, |
51 | "column": 3 | 64 | "column": 3 |
52 | } | 65 | } |
53 | }, | 66 | }, |
@@ -56,11 +69,11 @@ | |||
56 | "defaultMessage": "!!!You are using the official Franz Server for Ferdi.\nWe know that Ferdi allows you to use all its features for free but you are still using Franz's server resources - which Franz's creator has to pay for.\nPlease still consider [Link 1]paying for a Franz account[/Link] or [Link 2]using a self-hosted ferdi-server[/Link] (if you have the knowledge and resources to do so). \nBy using Ferdi, you still profit greatly from Franz's recipe store, server resources and its development.", | 69 | "defaultMessage": "!!!You are using the official Franz Server for Ferdi.\nWe know that Ferdi allows you to use all its features for free but you are still using Franz's server resources - which Franz's creator has to pay for.\nPlease still consider [Link 1]paying for a Franz account[/Link] or [Link 2]using a self-hosted ferdi-server[/Link] (if you have the knowledge and resources to do so). \nBy using Ferdi, you still profit greatly from Franz's recipe store, server resources and its development.", |
57 | "file": "src/components/settings/settings/EditSettingsForm.js", | 70 | "file": "src/components/settings/settings/EditSettingsForm.js", |
58 | "start": { | 71 | "start": { |
59 | "line": 43, | 72 | "line": 47, |
60 | "column": 19 | 73 | "column": 19 |
61 | }, | 74 | }, |
62 | "end": { | 75 | "end": { |
63 | "line": 46, | 76 | "line": 50, |
64 | "column": 3 | 77 | "column": 3 |
65 | } | 78 | } |
66 | }, | 79 | }, |
@@ -69,11 +82,11 @@ | |||
69 | "defaultMessage": "!!!This server will be used for the \"Franz Todo\" feature. (default: https://app.franztodos.com)", | 82 | "defaultMessage": "!!!This server will be used for the \"Franz Todo\" feature. (default: https://app.franztodos.com)", |
70 | "file": "src/components/settings/settings/EditSettingsForm.js", | 83 | "file": "src/components/settings/settings/EditSettingsForm.js", |
71 | "start": { | 84 | "start": { |
72 | "line": 47, | 85 | "line": 51, |
73 | "column": 18 | 86 | "column": 18 |
74 | }, | 87 | }, |
75 | "end": { | 88 | "end": { |
76 | "line": 50, | 89 | "line": 54, |
77 | "column": 3 | 90 | "column": 3 |
78 | } | 91 | } |
79 | }, | 92 | }, |
@@ -82,11 +95,11 @@ | |||
82 | "defaultMessage": "!!!Password", | 95 | "defaultMessage": "!!!Password", |
83 | "file": "src/components/settings/settings/EditSettingsForm.js", | 96 | "file": "src/components/settings/settings/EditSettingsForm.js", |
84 | "start": { | 97 | "start": { |
85 | "line": 51, | 98 | "line": 55, |
86 | "column": 18 | 99 | "column": 18 |
87 | }, | 100 | }, |
88 | "end": { | 101 | "end": { |
89 | "line": 54, | 102 | "line": 58, |
90 | "column": 3 | 103 | "column": 3 |
91 | } | 104 | } |
92 | }, | 105 | }, |
@@ -95,11 +108,11 @@ | |||
95 | "defaultMessage": "!!!Please make sure to set a password you'll remember.\nIf you loose this password, you will have to reinstall Ferdi.", | 108 | "defaultMessage": "!!!Please make sure to set a password you'll remember.\nIf you loose this password, you will have to reinstall Ferdi.", |
96 | "file": "src/components/settings/settings/EditSettingsForm.js", | 109 | "file": "src/components/settings/settings/EditSettingsForm.js", |
97 | "start": { | 110 | "start": { |
98 | "line": 55, | 111 | "line": 59, |
99 | "column": 22 | 112 | "column": 22 |
100 | }, | 113 | }, |
101 | "end": { | 114 | "end": { |
102 | "line": 58, | 115 | "line": 62, |
103 | "column": 3 | 116 | "column": 3 |
104 | } | 117 | } |
105 | }, | 118 | }, |
@@ -108,11 +121,11 @@ | |||
108 | "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.", | 121 | "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.", |
109 | "file": "src/components/settings/settings/EditSettingsForm.js", | 122 | "file": "src/components/settings/settings/EditSettingsForm.js", |
110 | "start": { | 123 | "start": { |
111 | "line": 59, | 124 | "line": 63, |
112 | "column": 12 | 125 | "column": 12 |
113 | }, | 126 | }, |
114 | "end": { | 127 | "end": { |
115 | "line": 62, | 128 | "line": 66, |
116 | "column": 3 | 129 | "column": 3 |
117 | } | 130 | } |
118 | }, | 131 | }, |
@@ -121,11 +134,11 @@ | |||
121 | "defaultMessage": "!!!Times in 24-Hour-Format. End time can be before start time (e.g. start 17:00, end 09:00) to enable Do-not-Disturb overnight.", | 134 | "defaultMessage": "!!!Times in 24-Hour-Format. End time can be before start time (e.g. start 17:00, end 09:00) to enable Do-not-Disturb overnight.", |
122 | "file": "src/components/settings/settings/EditSettingsForm.js", | 135 | "file": "src/components/settings/settings/EditSettingsForm.js", |
123 | "start": { | 136 | "start": { |
124 | "line": 63, | 137 | "line": 67, |
125 | "column": 24 | 138 | "column": 24 |
126 | }, | 139 | }, |
127 | "end": { | 140 | "end": { |
128 | "line": 66, | 141 | "line": 70, |
129 | "column": 3 | 142 | "column": 3 |
130 | } | 143 | } |
131 | }, | 144 | }, |
@@ -134,11 +147,11 @@ | |||
134 | "defaultMessage": "!!!Scheduled Do-not-Disturb allows you to define a period of time in which you do not want to get Notifications from Ferdi.", | 147 | "defaultMessage": "!!!Scheduled Do-not-Disturb allows you to define a period of time in which you do not want to get Notifications from Ferdi.", |
135 | "file": "src/components/settings/settings/EditSettingsForm.js", | 148 | "file": "src/components/settings/settings/EditSettingsForm.js", |
136 | "start": { | 149 | "start": { |
137 | "line": 67, | 150 | "line": 71, |
138 | "column": 20 | 151 | "column": 20 |
139 | }, | 152 | }, |
140 | "end": { | 153 | "end": { |
141 | "line": 70, | 154 | "line": 74, |
142 | "column": 3 | 155 | "column": 3 |
143 | } | 156 | } |
144 | }, | 157 | }, |
@@ -147,11 +160,11 @@ | |||
147 | "defaultMessage": "!!!Language", | 160 | "defaultMessage": "!!!Language", |
148 | "file": "src/components/settings/settings/EditSettingsForm.js", | 161 | "file": "src/components/settings/settings/EditSettingsForm.js", |
149 | "start": { | 162 | "start": { |
150 | "line": 71, | 163 | "line": 75, |
151 | "column": 20 | 164 | "column": 20 |
152 | }, | 165 | }, |
153 | "end": { | 166 | "end": { |
154 | "line": 74, | 167 | "line": 78, |
155 | "column": 3 | 168 | "column": 3 |
156 | } | 169 | } |
157 | }, | 170 | }, |
@@ -160,11 +173,11 @@ | |||
160 | "defaultMessage": "!!!Updates", | 173 | "defaultMessage": "!!!Updates", |
161 | "file": "src/components/settings/settings/EditSettingsForm.js", | 174 | "file": "src/components/settings/settings/EditSettingsForm.js", |
162 | "start": { | 175 | "start": { |
163 | "line": 75, | 176 | "line": 79, |
164 | "column": 19 | 177 | "column": 19 |
165 | }, | 178 | }, |
166 | "end": { | 179 | "end": { |
167 | "line": 78, | 180 | "line": 82, |
168 | "column": 3 | 181 | "column": 3 |
169 | } | 182 | } |
170 | }, | 183 | }, |
@@ -173,11 +186,11 @@ | |||
173 | "defaultMessage": "!!!Appearance", | 186 | "defaultMessage": "!!!Appearance", |
174 | "file": "src/components/settings/settings/EditSettingsForm.js", | 187 | "file": "src/components/settings/settings/EditSettingsForm.js", |
175 | "start": { | 188 | "start": { |
176 | "line": 79, | 189 | "line": 83, |
177 | "column": 22 | 190 | "column": 22 |
178 | }, | 191 | }, |
179 | "end": { | 192 | "end": { |
180 | "line": 82, | 193 | "line": 86, |
181 | "column": 3 | 194 | "column": 3 |
182 | } | 195 | } |
183 | }, | 196 | }, |
@@ -186,11 +199,11 @@ | |||
186 | "defaultMessage": "!!!Universal Dark Mode tries to dynamically generate dark mode styles for services that are otherwise not currently supported.", | 199 | "defaultMessage": "!!!Universal Dark Mode tries to dynamically generate dark mode styles for services that are otherwise not currently supported.", |
187 | "file": "src/components/settings/settings/EditSettingsForm.js", | 200 | "file": "src/components/settings/settings/EditSettingsForm.js", |
188 | "start": { | 201 | "start": { |
189 | "line": 83, | 202 | "line": 87, |
190 | "column": 25 | 203 | "column": 25 |
191 | }, | 204 | }, |
192 | "end": { | 205 | "end": { |
193 | "line": 86, | 206 | "line": 90, |
194 | "column": 3 | 207 | "column": 3 |
195 | } | 208 | } |
196 | }, | 209 | }, |
@@ -199,11 +212,11 @@ | |||
199 | "defaultMessage": "!!!Write your accent color in a CSS-compatible format. (Default: #7367f0)", | 212 | "defaultMessage": "!!!Write your accent color in a CSS-compatible format. (Default: #7367f0)", |
200 | "file": "src/components/settings/settings/EditSettingsForm.js", | 213 | "file": "src/components/settings/settings/EditSettingsForm.js", |
201 | "start": { | 214 | "start": { |
202 | "line": 87, | 215 | "line": 91, |
203 | "column": 19 | 216 | "column": 19 |
204 | }, | 217 | }, |
205 | "end": { | 218 | "end": { |
206 | "line": 90, | 219 | "line": 94, |
207 | "column": 3 | 220 | "column": 3 |
208 | } | 221 | } |
209 | }, | 222 | }, |
@@ -212,11 +225,11 @@ | |||
212 | "defaultMessage": "!!!Advanced", | 225 | "defaultMessage": "!!!Advanced", |
213 | "file": "src/components/settings/settings/EditSettingsForm.js", | 226 | "file": "src/components/settings/settings/EditSettingsForm.js", |
214 | "start": { | 227 | "start": { |
215 | "line": 91, | 228 | "line": 95, |
216 | "column": 20 | 229 | "column": 20 |
217 | }, | 230 | }, |
218 | "end": { | 231 | "end": { |
219 | "line": 94, | 232 | "line": 98, |
220 | "column": 3 | 233 | "column": 3 |
221 | } | 234 | } |
222 | }, | 235 | }, |
@@ -225,11 +238,11 @@ | |||
225 | "defaultMessage": "!!!Help us to translate Ferdi into your language.", | 238 | "defaultMessage": "!!!Help us to translate Ferdi into your language.", |
226 | "file": "src/components/settings/settings/EditSettingsForm.js", | 239 | "file": "src/components/settings/settings/EditSettingsForm.js", |
227 | "start": { | 240 | "start": { |
228 | "line": 95, | 241 | "line": 99, |
229 | "column": 19 | 242 | "column": 19 |
230 | }, | 243 | }, |
231 | "end": { | 244 | "end": { |
232 | "line": 98, | 245 | "line": 102, |
233 | "column": 3 | 246 | "column": 3 |
234 | } | 247 | } |
235 | }, | 248 | }, |
@@ -238,11 +251,11 @@ | |||
238 | "defaultMessage": "!!!Cache", | 251 | "defaultMessage": "!!!Cache", |
239 | "file": "src/components/settings/settings/EditSettingsForm.js", | 252 | "file": "src/components/settings/settings/EditSettingsForm.js", |
240 | "start": { | 253 | "start": { |
241 | "line": 99, | 254 | "line": 103, |
242 | "column": 20 | 255 | "column": 20 |
243 | }, | 256 | }, |
244 | "end": { | 257 | "end": { |
245 | "line": 102, | 258 | "line": 106, |
246 | "column": 3 | 259 | "column": 3 |
247 | } | 260 | } |
248 | }, | 261 | }, |
@@ -251,11 +264,11 @@ | |||
251 | "defaultMessage": "!!!Ferdi cache is currently using {size} of disk space.", | 264 | "defaultMessage": "!!!Ferdi cache is currently using {size} of disk space.", |
252 | "file": "src/components/settings/settings/EditSettingsForm.js", | 265 | "file": "src/components/settings/settings/EditSettingsForm.js", |
253 | "start": { | 266 | "start": { |
254 | "line": 103, | 267 | "line": 107, |
255 | "column": 13 | 268 | "column": 13 |
256 | }, | 269 | }, |
257 | "end": { | 270 | "end": { |
258 | "line": 106, | 271 | "line": 110, |
259 | "column": 3 | 272 | "column": 3 |
260 | } | 273 | } |
261 | }, | 274 | }, |
@@ -264,11 +277,11 @@ | |||
264 | "defaultMessage": "!!!Clear cache", | 277 | "defaultMessage": "!!!Clear cache", |
265 | "file": "src/components/settings/settings/EditSettingsForm.js", | 278 | "file": "src/components/settings/settings/EditSettingsForm.js", |
266 | "start": { | 279 | "start": { |
267 | "line": 107, | 280 | "line": 111, |
268 | "column": 23 | 281 | "column": 23 |
269 | }, | 282 | }, |
270 | "end": { | 283 | "end": { |
271 | "line": 110, | 284 | "line": 114, |
272 | "column": 3 | 285 | "column": 3 |
273 | } | 286 | } |
274 | }, | 287 | }, |
@@ -277,11 +290,11 @@ | |||
277 | "defaultMessage": "!!!Check for updates", | 290 | "defaultMessage": "!!!Check for updates", |
278 | "file": "src/components/settings/settings/EditSettingsForm.js", | 291 | "file": "src/components/settings/settings/EditSettingsForm.js", |
279 | "start": { | 292 | "start": { |
280 | "line": 111, | 293 | "line": 115, |
281 | "column": 25 | 294 | "column": 25 |
282 | }, | 295 | }, |
283 | "end": { | 296 | "end": { |
284 | "line": 114, | 297 | "line": 118, |
285 | "column": 3 | 298 | "column": 3 |
286 | } | 299 | } |
287 | }, | 300 | }, |
@@ -290,11 +303,11 @@ | |||
290 | "defaultMessage": "!!!Restart & install update", | 303 | "defaultMessage": "!!!Restart & install update", |
291 | "file": "src/components/settings/settings/EditSettingsForm.js", | 304 | "file": "src/components/settings/settings/EditSettingsForm.js", |
292 | "start": { | 305 | "start": { |
293 | "line": 115, | 306 | "line": 119, |
294 | "column": 23 | 307 | "column": 23 |
295 | }, | 308 | }, |
296 | "end": { | 309 | "end": { |
297 | "line": 118, | 310 | "line": 122, |
298 | "column": 3 | 311 | "column": 3 |
299 | } | 312 | } |
300 | }, | 313 | }, |
@@ -303,11 +316,11 @@ | |||
303 | "defaultMessage": "!!!Is searching for update", | 316 | "defaultMessage": "!!!Is searching for update", |
304 | "file": "src/components/settings/settings/EditSettingsForm.js", | 317 | "file": "src/components/settings/settings/EditSettingsForm.js", |
305 | "start": { | 318 | "start": { |
306 | "line": 119, | 319 | "line": 123, |
307 | "column": 25 | 320 | "column": 25 |
308 | }, | 321 | }, |
309 | "end": { | 322 | "end": { |
310 | "line": 122, | 323 | "line": 126, |
311 | "column": 3 | 324 | "column": 3 |
312 | } | 325 | } |
313 | }, | 326 | }, |
@@ -316,11 +329,11 @@ | |||
316 | "defaultMessage": "!!!Update available, downloading...", | 329 | "defaultMessage": "!!!Update available, downloading...", |
317 | "file": "src/components/settings/settings/EditSettingsForm.js", | 330 | "file": "src/components/settings/settings/EditSettingsForm.js", |
318 | "start": { | 331 | "start": { |
319 | "line": 123, | 332 | "line": 127, |
320 | "column": 25 | 333 | "column": 25 |
321 | }, | 334 | }, |
322 | "end": { | 335 | "end": { |
323 | "line": 126, | 336 | "line": 130, |
324 | "column": 3 | 337 | "column": 3 |
325 | } | 338 | } |
326 | }, | 339 | }, |
@@ -329,11 +342,11 @@ | |||
329 | "defaultMessage": "!!!You are using the latest version of Ferdi", | 342 | "defaultMessage": "!!!You are using the latest version of Ferdi", |
330 | "file": "src/components/settings/settings/EditSettingsForm.js", | 343 | "file": "src/components/settings/settings/EditSettingsForm.js", |
331 | "start": { | 344 | "start": { |
332 | "line": 127, | 345 | "line": 131, |
333 | "column": 24 | 346 | "column": 24 |
334 | }, | 347 | }, |
335 | "end": { | 348 | "end": { |
336 | "line": 130, | 349 | "line": 134, |
337 | "column": 3 | 350 | "column": 3 |
338 | } | 351 | } |
339 | }, | 352 | }, |
@@ -342,11 +355,11 @@ | |||
342 | "defaultMessage": "!!!Current version:", | 355 | "defaultMessage": "!!!Current version:", |
343 | "file": "src/components/settings/settings/EditSettingsForm.js", | 356 | "file": "src/components/settings/settings/EditSettingsForm.js", |
344 | "start": { | 357 | "start": { |
345 | "line": 131, | 358 | "line": 135, |
346 | "column": 18 | 359 | "column": 18 |
347 | }, | 360 | }, |
348 | "end": { | 361 | "end": { |
349 | "line": 134, | 362 | "line": 138, |
350 | "column": 3 | 363 | "column": 3 |
351 | } | 364 | } |
352 | }, | 365 | }, |
@@ -355,11 +368,11 @@ | |||
355 | "defaultMessage": "!!!Changes require restart", | 368 | "defaultMessage": "!!!Changes require restart", |
356 | "file": "src/components/settings/settings/EditSettingsForm.js", | 369 | "file": "src/components/settings/settings/EditSettingsForm.js", |
357 | "start": { | 370 | "start": { |
358 | "line": 135, | 371 | "line": 139, |
359 | "column": 29 | 372 | "column": 29 |
360 | }, | 373 | }, |
361 | "end": { | 374 | "end": { |
362 | "line": 138, | 375 | "line": 142, |
363 | "column": 3 | 376 | "column": 3 |
364 | } | 377 | } |
365 | }, | 378 | }, |
@@ -368,11 +381,11 @@ | |||
368 | "defaultMessage": "!!!Official translations are English & German. All other languages are community based translations.", | 381 | "defaultMessage": "!!!Official translations are English & German. All other languages are community based translations.", |
369 | "file": "src/components/settings/settings/EditSettingsForm.js", | 382 | "file": "src/components/settings/settings/EditSettingsForm.js", |
370 | "start": { | 383 | "start": { |
371 | "line": 139, | 384 | "line": 143, |
372 | "column": 22 | 385 | "column": 22 |
373 | }, | 386 | }, |
374 | "end": { | 387 | "end": { |
375 | "line": 142, | 388 | "line": 146, |
376 | "column": 3 | 389 | "column": 3 |
377 | } | 390 | } |
378 | } | 391 | } |
diff --git a/src/i18n/messages/src/containers/settings/EditSettingsScreen.json b/src/i18n/messages/src/containers/settings/EditSettingsScreen.json index d6cdb94c0..06874d97e 100644 --- a/src/i18n/messages/src/containers/settings/EditSettingsScreen.json +++ b/src/i18n/messages/src/containers/settings/EditSettingsScreen.json | |||
@@ -169,15 +169,28 @@ | |||
169 | } | 169 | } |
170 | }, | 170 | }, |
171 | { | 171 | { |
172 | "id": "settings.app.form.inactivityLock", | ||
173 | "defaultMessage": "!!!Lock after inactivity", | ||
174 | "file": "src/containers/settings/EditSettingsScreen.js", | ||
175 | "start": { | ||
176 | "line": 81, | ||
177 | "column": 18 | ||
178 | }, | ||
179 | "end": { | ||
180 | "line": 84, | ||
181 | "column": 3 | ||
182 | } | ||
183 | }, | ||
184 | { | ||
172 | "id": "settings.app.form.scheduledDNDEnabled", | 185 | "id": "settings.app.form.scheduledDNDEnabled", |
173 | "defaultMessage": "!!!Enable scheduled Do-not-Disturb", | 186 | "defaultMessage": "!!!Enable scheduled Do-not-Disturb", |
174 | "file": "src/containers/settings/EditSettingsScreen.js", | 187 | "file": "src/containers/settings/EditSettingsScreen.js", |
175 | "start": { | 188 | "start": { |
176 | "line": 81, | 189 | "line": 85, |
177 | "column": 23 | 190 | "column": 23 |
178 | }, | 191 | }, |
179 | "end": { | 192 | "end": { |
180 | "line": 84, | 193 | "line": 88, |
181 | "column": 3 | 194 | "column": 3 |
182 | } | 195 | } |
183 | }, | 196 | }, |
@@ -186,11 +199,11 @@ | |||
186 | "defaultMessage": "!!!From", | 199 | "defaultMessage": "!!!From", |
187 | "file": "src/containers/settings/EditSettingsScreen.js", | 200 | "file": "src/containers/settings/EditSettingsScreen.js", |
188 | "start": { | 201 | "start": { |
189 | "line": 85, | 202 | "line": 89, |
190 | "column": 21 | 203 | "column": 21 |
191 | }, | 204 | }, |
192 | "end": { | 205 | "end": { |
193 | "line": 88, | 206 | "line": 92, |
194 | "column": 3 | 207 | "column": 3 |
195 | } | 208 | } |
196 | }, | 209 | }, |
@@ -199,11 +212,11 @@ | |||
199 | "defaultMessage": "!!!To", | 212 | "defaultMessage": "!!!To", |
200 | "file": "src/containers/settings/EditSettingsScreen.js", | 213 | "file": "src/containers/settings/EditSettingsScreen.js", |
201 | "start": { | 214 | "start": { |
202 | "line": 89, | 215 | "line": 93, |
203 | "column": 19 | 216 | "column": 19 |
204 | }, | 217 | }, |
205 | "end": { | 218 | "end": { |
206 | "line": 92, | 219 | "line": 96, |
207 | "column": 3 | 220 | "column": 3 |
208 | } | 221 | } |
209 | }, | 222 | }, |
@@ -212,11 +225,11 @@ | |||
212 | "defaultMessage": "!!!Language", | 225 | "defaultMessage": "!!!Language", |
213 | "file": "src/containers/settings/EditSettingsScreen.js", | 226 | "file": "src/containers/settings/EditSettingsScreen.js", |
214 | "start": { | 227 | "start": { |
215 | "line": 93, | 228 | "line": 97, |
216 | "column": 12 | 229 | "column": 12 |
217 | }, | 230 | }, |
218 | "end": { | 231 | "end": { |
219 | "line": 96, | 232 | "line": 100, |
220 | "column": 3 | 233 | "column": 3 |
221 | } | 234 | } |
222 | }, | 235 | }, |
@@ -225,11 +238,11 @@ | |||
225 | "defaultMessage": "!!!Dark Mode", | 238 | "defaultMessage": "!!!Dark Mode", |
226 | "file": "src/containers/settings/EditSettingsScreen.js", | 239 | "file": "src/containers/settings/EditSettingsScreen.js", |
227 | "start": { | 240 | "start": { |
228 | "line": 97, | 241 | "line": 101, |
229 | "column": 12 | 242 | "column": 12 |
230 | }, | 243 | }, |
231 | "end": { | 244 | "end": { |
232 | "line": 100, | 245 | "line": 104, |
233 | "column": 3 | 246 | "column": 3 |
234 | } | 247 | } |
235 | }, | 248 | }, |
@@ -238,11 +251,11 @@ | |||
238 | "defaultMessage": "!!!Enable adaptable Dark Mode", | 251 | "defaultMessage": "!!!Enable adaptable Dark Mode", |
239 | "file": "src/containers/settings/EditSettingsScreen.js", | 252 | "file": "src/containers/settings/EditSettingsScreen.js", |
240 | "start": { | 253 | "start": { |
241 | "line": 101, | 254 | "line": 105, |
242 | "column": 21 | 255 | "column": 21 |
243 | }, | 256 | }, |
244 | "end": { | 257 | "end": { |
245 | "line": 104, | 258 | "line": 108, |
246 | "column": 3 | 259 | "column": 3 |
247 | } | 260 | } |
248 | }, | 261 | }, |
@@ -251,11 +264,11 @@ | |||
251 | "defaultMessage": "!!!Enable universal Dark Mode", | 264 | "defaultMessage": "!!!Enable universal Dark Mode", |
252 | "file": "src/containers/settings/EditSettingsScreen.js", | 265 | "file": "src/containers/settings/EditSettingsScreen.js", |
253 | "start": { | 266 | "start": { |
254 | "line": 105, | 267 | "line": 109, |
255 | "column": 21 | 268 | "column": 21 |
256 | }, | 269 | }, |
257 | "end": { | 270 | "end": { |
258 | "line": 108, | 271 | "line": 112, |
259 | "column": 3 | 272 | "column": 3 |
260 | } | 273 | } |
261 | }, | 274 | }, |
@@ -264,11 +277,11 @@ | |||
264 | "defaultMessage": "!!!Accent color", | 277 | "defaultMessage": "!!!Accent color", |
265 | "file": "src/containers/settings/EditSettingsScreen.js", | 278 | "file": "src/containers/settings/EditSettingsScreen.js", |
266 | "start": { | 279 | "start": { |
267 | "line": 109, | 280 | "line": 113, |
268 | "column": 15 | 281 | "column": 15 |
269 | }, | 282 | }, |
270 | "end": { | 283 | "end": { |
271 | "line": 112, | 284 | "line": 116, |
272 | "column": 3 | 285 | "column": 3 |
273 | } | 286 | } |
274 | }, | 287 | }, |
@@ -277,11 +290,11 @@ | |||
277 | "defaultMessage": "!!!Display disabled services tabs", | 290 | "defaultMessage": "!!!Display disabled services tabs", |
278 | "file": "src/containers/settings/EditSettingsScreen.js", | 291 | "file": "src/containers/settings/EditSettingsScreen.js", |
279 | "start": { | 292 | "start": { |
280 | "line": 113, | 293 | "line": 117, |
281 | "column": 24 | 294 | "column": 24 |
282 | }, | 295 | }, |
283 | "end": { | 296 | "end": { |
284 | "line": 116, | 297 | "line": 120, |
285 | "column": 3 | 298 | "column": 3 |
286 | } | 299 | } |
287 | }, | 300 | }, |
@@ -290,11 +303,11 @@ | |||
290 | "defaultMessage": "!!!Show unread message badge when notifications are disabled", | 303 | "defaultMessage": "!!!Show unread message badge when notifications are disabled", |
291 | "file": "src/containers/settings/EditSettingsScreen.js", | 304 | "file": "src/containers/settings/EditSettingsScreen.js", |
292 | "start": { | 305 | "start": { |
293 | "line": 117, | 306 | "line": 121, |
294 | "column": 29 | 307 | "column": 29 |
295 | }, | 308 | }, |
296 | "end": { | 309 | "end": { |
297 | "line": 120, | 310 | "line": 124, |
298 | "column": 3 | 311 | "column": 3 |
299 | } | 312 | } |
300 | }, | 313 | }, |
@@ -303,11 +316,11 @@ | |||
303 | "defaultMessage": "!!!Enable spell checking", | 316 | "defaultMessage": "!!!Enable spell checking", |
304 | "file": "src/containers/settings/EditSettingsScreen.js", | 317 | "file": "src/containers/settings/EditSettingsScreen.js", |
305 | "start": { | 318 | "start": { |
306 | "line": 121, | 319 | "line": 125, |
307 | "column": 23 | 320 | "column": 23 |
308 | }, | 321 | }, |
309 | "end": { | 322 | "end": { |
310 | "line": 124, | 323 | "line": 128, |
311 | "column": 3 | 324 | "column": 3 |
312 | } | 325 | } |
313 | }, | 326 | }, |
@@ -316,11 +329,11 @@ | |||
316 | "defaultMessage": "!!!Enable GPU Acceleration", | 329 | "defaultMessage": "!!!Enable GPU Acceleration", |
317 | "file": "src/containers/settings/EditSettingsScreen.js", | 330 | "file": "src/containers/settings/EditSettingsScreen.js", |
318 | "start": { | 331 | "start": { |
319 | "line": 125, | 332 | "line": 129, |
320 | "column": 25 | 333 | "column": 25 |
321 | }, | 334 | }, |
322 | "end": { | 335 | "end": { |
323 | "line": 128, | 336 | "line": 132, |
324 | "column": 3 | 337 | "column": 3 |
325 | } | 338 | } |
326 | }, | 339 | }, |
@@ -329,11 +342,11 @@ | |||
329 | "defaultMessage": "!!!Include beta versions", | 342 | "defaultMessage": "!!!Include beta versions", |
330 | "file": "src/containers/settings/EditSettingsScreen.js", | 343 | "file": "src/containers/settings/EditSettingsScreen.js", |
331 | "start": { | 344 | "start": { |
332 | "line": 129, | 345 | "line": 133, |
333 | "column": 8 | 346 | "column": 8 |
334 | }, | 347 | }, |
335 | "end": { | 348 | "end": { |
336 | "line": 132, | 349 | "line": 136, |
337 | "column": 3 | 350 | "column": 3 |
338 | } | 351 | } |
339 | }, | 352 | }, |
@@ -342,11 +355,11 @@ | |||
342 | "defaultMessage": "!!!Disable updates", | 355 | "defaultMessage": "!!!Disable updates", |
343 | "file": "src/containers/settings/EditSettingsScreen.js", | 356 | "file": "src/containers/settings/EditSettingsScreen.js", |
344 | "start": { | 357 | "start": { |
345 | "line": 133, | 358 | "line": 137, |
346 | "column": 13 | 359 | "column": 13 |
347 | }, | 360 | }, |
348 | "end": { | 361 | "end": { |
349 | "line": 136, | 362 | "line": 140, |
350 | "column": 3 | 363 | "column": 3 |
351 | } | 364 | } |
352 | }, | 365 | }, |
@@ -355,11 +368,11 @@ | |||
355 | "defaultMessage": "!!!Enable Franz Todos", | 368 | "defaultMessage": "!!!Enable Franz Todos", |
356 | "file": "src/containers/settings/EditSettingsScreen.js", | 369 | "file": "src/containers/settings/EditSettingsScreen.js", |
357 | "start": { | 370 | "start": { |
358 | "line": 137, | 371 | "line": 141, |
359 | "column": 15 | 372 | "column": 15 |
360 | }, | 373 | }, |
361 | "end": { | 374 | "end": { |
362 | "line": 140, | 375 | "line": 144, |
363 | "column": 3 | 376 | "column": 3 |
364 | } | 377 | } |
365 | }, | 378 | }, |
@@ -368,11 +381,11 @@ | |||
368 | "defaultMessage": "!!!Keep all workspaces loaded", | 381 | "defaultMessage": "!!!Keep all workspaces loaded", |
369 | "file": "src/containers/settings/EditSettingsScreen.js", | 382 | "file": "src/containers/settings/EditSettingsScreen.js", |
370 | "start": { | 383 | "start": { |
371 | "line": 141, | 384 | "line": 145, |
372 | "column": 27 | 385 | "column": 27 |
373 | }, | 386 | }, |
374 | "end": { | 387 | "end": { |
375 | "line": 144, | 388 | "line": 148, |
376 | "column": 3 | 389 | "column": 3 |
377 | } | 390 | } |
378 | } | 391 | } |
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js index 051e86be2..8a5ee7204 100644 --- a/src/stores/SettingsStore.js +++ b/src/stores/SettingsStore.js | |||
@@ -79,6 +79,26 @@ export default class SettingsStore extends Store { | |||
79 | }, | 79 | }, |
80 | ); | 80 | ); |
81 | 81 | ||
82 | // Inactivity lock timer | ||
83 | let inactivityTimer; | ||
84 | remote.getCurrentWindow().on('blur', () => { | ||
85 | if (this.all.app.inactivityLock !== 0) { | ||
86 | inactivityTimer = setTimeout(() => { | ||
87 | this.actions.settings.update({ | ||
88 | type: 'app', | ||
89 | data: { | ||
90 | locked: true, | ||
91 | }, | ||
92 | }); | ||
93 | }, this.all.app.inactivityLock * 1000 * 60); | ||
94 | } | ||
95 | }); | ||
96 | remote.getCurrentWindow().on('focus', () => { | ||
97 | if (inactivityTimer) { | ||
98 | clearTimeout(inactivityTimer); | ||
99 | } | ||
100 | }); | ||
101 | |||
82 | // Make sure to lock app on launch if locking feature is enabled | 102 | // Make sure to lock app on launch if locking feature is enabled |
83 | setTimeout(() => { | 103 | setTimeout(() => { |
84 | const isLoggedIn = Boolean(localStorage.getItem('authToken')); | 104 | const isLoggedIn = Boolean(localStorage.getItem('authToken')); |