aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-05-13 11:58:35 +0200
committerLibravatar GitHub <noreply@github.com>2021-05-13 11:58:35 +0200
commit5db9f585e8cec20abdadf431d667422af66cf692 (patch)
treec1d7d57c5d9370385249acba1bedcfb931d42158
parentNew Crowdin updates for Japanese (#1406) (diff)
downloadferdium-app-5db9f585e8cec20abdadf431d667422af66cf692.tar.gz
ferdium-app-5db9f585e8cec20abdadf431d667422af66cf692.tar.zst
ferdium-app-5db9f585e8cec20abdadf431d667422af66cf692.zip
Lazily compute cache size (#1404)
Computing the cache size can take a long time if the cache is large. Previously, cache size computation was triggered by opening the Settings pane, which slowed down changing settings even if the user wasn't interested in the cache size. This patch defers cache size computation until the Advanced tab is open in the Setting page. Additionally, cache size rendering (in MB / GB) is moved from the AppStore into the EditSettingsForm to fix the notCleared functionality.
-rw-r--r--src/components/settings/settings/EditSettingsForm.js20
-rw-r--r--src/containers/settings/EditSettingsScreen.js3
-rw-r--r--src/i18n/locales/defaultMessages.json124
-rw-r--r--src/i18n/messages/src/components/settings/settings/EditSettingsForm.json124
-rw-r--r--src/stores/AppStore.js3
5 files changed, 143 insertions, 131 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js
index f7840c5bb..7a0aead15 100644
--- a/src/components/settings/settings/EditSettingsForm.js
+++ b/src/components/settings/settings/EditSettingsForm.js
@@ -2,6 +2,7 @@ import { remote } from 'electron';
2import React, { Component, Fragment } from 'react'; 2import React, { Component, Fragment } from 'react';
3import PropTypes from 'prop-types'; 3import PropTypes from 'prop-types';
4import { observer } from 'mobx-react'; 4import { observer } from 'mobx-react';
5import prettyBytes from 'pretty-bytes';
5import { defineMessages, intlShape } from 'react-intl'; 6import { defineMessages, intlShape } from 'react-intl';
6 7
7import Form from '../../../lib/Form'; 8import Form from '../../../lib/Form';
@@ -165,7 +166,7 @@ export default @observer class EditSettingsForm extends Component {
165 updateIsReadyToInstall: PropTypes.bool.isRequired, 166 updateIsReadyToInstall: PropTypes.bool.isRequired,
166 isClearingAllCache: PropTypes.bool.isRequired, 167 isClearingAllCache: PropTypes.bool.isRequired,
167 onClearAllCache: PropTypes.func.isRequired, 168 onClearAllCache: PropTypes.func.isRequired,
168 cacheSize: PropTypes.string.isRequired, 169 getCacheSize: PropTypes.func.isRequired,
169 isSpellcheckerIncludedInCurrentPlan: PropTypes.bool.isRequired, 170 isSpellcheckerIncludedInCurrentPlan: PropTypes.bool.isRequired,
170 isTodosEnabled: PropTypes.bool.isRequired, 171 isTodosEnabled: PropTypes.bool.isRequired,
171 isTodosActivated: PropTypes.bool.isRequired, 172 isTodosActivated: PropTypes.bool.isRequired,
@@ -221,7 +222,7 @@ export default @observer class EditSettingsForm extends Component {
221 updateIsReadyToInstall, 222 updateIsReadyToInstall,
222 isClearingAllCache, 223 isClearingAllCache,
223 onClearAllCache, 224 onClearAllCache,
224 cacheSize, 225 getCacheSize,
225 isSpellcheckerIncludedInCurrentPlan, 226 isSpellcheckerIncludedInCurrentPlan,
226 isTodosEnabled, 227 isTodosEnabled,
227 isWorkspaceEnabled, 228 isWorkspaceEnabled,
@@ -248,7 +249,20 @@ export default @observer class EditSettingsForm extends Component {
248 lockingFeatureEnabled, 249 lockingFeatureEnabled,
249 scheduledDNDEnabled, 250 scheduledDNDEnabled,
250 } = window.ferdi.stores.settings.all.app; 251 } = window.ferdi.stores.settings.all.app;
251 const notCleared = this.state.clearCacheButtonClicked && isClearingAllCache === false && cacheSize !== 0; 252
253 let cacheSize;
254 let notCleared;
255 if (this.state.activeSetttingsTab === 'advanced') {
256 const cacheSizeBytes = getCacheSize();
257 if (typeof cacheSizeBytes === 'number') {
258 cacheSize = prettyBytes(cacheSizeBytes);
259 notCleared = this.state.clearCacheButtonClicked && isClearingAllCache === false && cacheSizeBytes !== 0;
260 } else {
261 cacheSize = '…';
262 notCleared = false;
263 }
264 }
265
252 return ( 266 return (
253 <div className="settings__main"> 267 <div className="settings__main">
254 <div className="settings__header"> 268 <div className="settings__header">
diff --git a/src/containers/settings/EditSettingsScreen.js b/src/containers/settings/EditSettingsScreen.js
index 94c53fc90..49ef03664 100644
--- a/src/containers/settings/EditSettingsScreen.js
+++ b/src/containers/settings/EditSettingsScreen.js
@@ -587,7 +587,6 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e
587 } = this.props.stores; 587 } = this.props.stores;
588 const { 588 const {
589 updateStatus, 589 updateStatus,
590 cacheSize,
591 updateStatusTypes, 590 updateStatusTypes,
592 isClearingAllCache, 591 isClearingAllCache,
593 lockingFeatureEnabled, 592 lockingFeatureEnabled,
@@ -610,7 +609,7 @@ export default @inject('stores', 'actions') @observer class EditSettingsScreen e
610 noUpdateAvailable={updateStatus === updateStatusTypes.NOT_AVAILABLE} 609 noUpdateAvailable={updateStatus === updateStatusTypes.NOT_AVAILABLE}
611 updateIsReadyToInstall={updateStatus === updateStatusTypes.DOWNLOADED} 610 updateIsReadyToInstall={updateStatus === updateStatusTypes.DOWNLOADED}
612 onSubmit={d => this.onSubmit(d)} 611 onSubmit={d => this.onSubmit(d)}
613 cacheSize={cacheSize} 612 getCacheSize={() => app.cacheSize}
614 isClearingAllCache={isClearingAllCache} 613 isClearingAllCache={isClearingAllCache}
615 onClearAllCache={clearAllCache} 614 onClearAllCache={clearAllCache}
616 isSpellcheckerIncludedInCurrentPlan={spellcheckerConfig.isIncludedInCurrentPlan} 615 isSpellcheckerIncludedInCurrentPlan={spellcheckerConfig.isIncludedInCurrentPlan}
diff --git a/src/i18n/locales/defaultMessages.json b/src/i18n/locales/defaultMessages.json
index d83aa49a8..22e8b8b4a 100644
--- a/src/i18n/locales/defaultMessages.json
+++ b/src/i18n/locales/defaultMessages.json
@@ -3241,403 +3241,403 @@
3241 "defaultMessage": "!!!Settings", 3241 "defaultMessage": "!!!Settings",
3242 "end": { 3242 "end": {
3243 "column": 3, 3243 "column": 3,
3244 "line": 29 3244 "line": 30
3245 }, 3245 },
3246 "file": "src/components/settings/settings/EditSettingsForm.js", 3246 "file": "src/components/settings/settings/EditSettingsForm.js",
3247 "id": "settings.app.headline", 3247 "id": "settings.app.headline",
3248 "start": { 3248 "start": {
3249 "column": 12, 3249 "column": 12,
3250 "line": 26 3250 "line": 27
3251 } 3251 }
3252 }, 3252 },
3253 { 3253 {
3254 "defaultMessage": "!!!General", 3254 "defaultMessage": "!!!General",
3255 "end": { 3255 "end": {
3256 "column": 3, 3256 "column": 3,
3257 "line": 33 3257 "line": 34
3258 }, 3258 },
3259 "file": "src/components/settings/settings/EditSettingsForm.js", 3259 "file": "src/components/settings/settings/EditSettingsForm.js",
3260 "id": "settings.app.headlineGeneral", 3260 "id": "settings.app.headlineGeneral",
3261 "start": { 3261 "start": {
3262 "column": 19, 3262 "column": 19,
3263 "line": 30 3263 "line": 31
3264 } 3264 }
3265 }, 3265 },
3266 { 3266 {
3267 "defaultMessage": "!!!Sending telemetry data allows us to find errors in Ferdi - we will not send any personal information like your message data! Changing this option requires you to restart Ferdi.", 3267 "defaultMessage": "!!!Sending telemetry data allows us to find errors in Ferdi - we will not send any personal information like your message data! Changing this option requires you to restart Ferdi.",
3268 "end": { 3268 "end": {
3269 "column": 3, 3269 "column": 3,
3270 "line": 37 3270 "line": 38
3271 }, 3271 },
3272 "file": "src/components/settings/settings/EditSettingsForm.js", 3272 "file": "src/components/settings/settings/EditSettingsForm.js",
3273 "id": "settings.app.sentryInfo", 3273 "id": "settings.app.sentryInfo",
3274 "start": { 3274 "start": {
3275 "column": 14, 3275 "column": 14,
3276 "line": 34 3276 "line": 35
3277 } 3277 }
3278 }, 3278 },
3279 { 3279 {
3280 "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.", 3280 "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.",
3281 "end": { 3281 "end": {
3282 "column": 3, 3282 "column": 3,
3283 "line": 41 3283 "line": 42
3284 }, 3284 },
3285 "file": "src/components/settings/settings/EditSettingsForm.js", 3285 "file": "src/components/settings/settings/EditSettingsForm.js",
3286 "id": "settings.app.hibernateInfo", 3286 "id": "settings.app.hibernateInfo",
3287 "start": { 3287 "start": {
3288 "column": 17, 3288 "column": 17,
3289 "line": 38 3289 "line": 39
3290 } 3290 }
3291 }, 3291 },
3292 { 3292 {
3293 "defaultMessage": "!!!Minutes of inactivity, after which Ferdi should automatically lock. Use 0 to disable", 3293 "defaultMessage": "!!!Minutes of inactivity, after which Ferdi should automatically lock. Use 0 to disable",
3294 "end": { 3294 "end": {
3295 "column": 3, 3295 "column": 3,
3296 "line": 45 3296 "line": 46
3297 }, 3297 },
3298 "file": "src/components/settings/settings/EditSettingsForm.js", 3298 "file": "src/components/settings/settings/EditSettingsForm.js",
3299 "id": "settings.app.inactivityLockInfo", 3299 "id": "settings.app.inactivityLockInfo",
3300 "start": { 3300 "start": {
3301 "column": 22, 3301 "column": 22,
3302 "line": 42 3302 "line": 43
3303 } 3303 }
3304 }, 3304 },
3305 { 3305 {
3306 "defaultMessage": "!!!This server will be used for the \"Franz Todo\" feature. (default: https://app.franztodos.com)", 3306 "defaultMessage": "!!!This server will be used for the \"Franz Todo\" feature. (default: https://app.franztodos.com)",
3307 "end": { 3307 "end": {
3308 "column": 3, 3308 "column": 3,
3309 "line": 49 3309 "line": 50
3310 }, 3310 },
3311 "file": "src/components/settings/settings/EditSettingsForm.js", 3311 "file": "src/components/settings/settings/EditSettingsForm.js",
3312 "id": "settings.app.todoServerInfo", 3312 "id": "settings.app.todoServerInfo",
3313 "start": { 3313 "start": {
3314 "column": 18, 3314 "column": 18,
3315 "line": 46 3315 "line": 47
3316 } 3316 }
3317 }, 3317 },
3318 { 3318 {
3319 "defaultMessage": "!!!Password", 3319 "defaultMessage": "!!!Password",
3320 "end": { 3320 "end": {
3321 "column": 3, 3321 "column": 3,
3322 "line": 53 3322 "line": 54
3323 }, 3323 },
3324 "file": "src/components/settings/settings/EditSettingsForm.js", 3324 "file": "src/components/settings/settings/EditSettingsForm.js",
3325 "id": "settings.app.lockedPassword", 3325 "id": "settings.app.lockedPassword",
3326 "start": { 3326 "start": {
3327 "column": 18, 3327 "column": 18,
3328 "line": 50 3328 "line": 51
3329 } 3329 }
3330 }, 3330 },
3331 { 3331 {
3332 "defaultMessage": "!!!Please make sure to set a password you'll remember.\nIf you loose this password, you will have to reinstall Ferdi.", 3332 "defaultMessage": "!!!Please make sure to set a password you'll remember.\nIf you loose this password, you will have to reinstall Ferdi.",
3333 "end": { 3333 "end": {
3334 "column": 3, 3334 "column": 3,
3335 "line": 57 3335 "line": 58
3336 }, 3336 },
3337 "file": "src/components/settings/settings/EditSettingsForm.js", 3337 "file": "src/components/settings/settings/EditSettingsForm.js",
3338 "id": "settings.app.lockedPasswordInfo", 3338 "id": "settings.app.lockedPasswordInfo",
3339 "start": { 3339 "start": {
3340 "column": 22, 3340 "column": 22,
3341 "line": 54 3341 "line": 55
3342 } 3342 }
3343 }, 3343 },
3344 { 3344 {
3345 "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.", 3345 "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.",
3346 "end": { 3346 "end": {
3347 "column": 3, 3347 "column": 3,
3348 "line": 61 3348 "line": 62
3349 }, 3349 },
3350 "file": "src/components/settings/settings/EditSettingsForm.js", 3350 "file": "src/components/settings/settings/EditSettingsForm.js",
3351 "id": "settings.app.lockInfo", 3351 "id": "settings.app.lockInfo",
3352 "start": { 3352 "start": {
3353 "column": 12, 3353 "column": 12,
3354 "line": 58 3354 "line": 59
3355 } 3355 }
3356 }, 3356 },
3357 { 3357 {
3358 "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.", 3358 "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.",
3359 "end": { 3359 "end": {
3360 "column": 3, 3360 "column": 3,
3361 "line": 65 3361 "line": 66
3362 }, 3362 },
3363 "file": "src/components/settings/settings/EditSettingsForm.js", 3363 "file": "src/components/settings/settings/EditSettingsForm.js",
3364 "id": "settings.app.scheduledDNDTimeInfo", 3364 "id": "settings.app.scheduledDNDTimeInfo",
3365 "start": { 3365 "start": {
3366 "column": 24, 3366 "column": 24,
3367 "line": 62 3367 "line": 63
3368 } 3368 }
3369 }, 3369 },
3370 { 3370 {
3371 "defaultMessage": "!!!Scheduled Do-not-Disturb allows you to define a period of time in which you do not want to get Notifications from Ferdi.", 3371 "defaultMessage": "!!!Scheduled Do-not-Disturb allows you to define a period of time in which you do not want to get Notifications from Ferdi.",
3372 "end": { 3372 "end": {
3373 "column": 3, 3373 "column": 3,
3374 "line": 69 3374 "line": 70
3375 }, 3375 },
3376 "file": "src/components/settings/settings/EditSettingsForm.js", 3376 "file": "src/components/settings/settings/EditSettingsForm.js",
3377 "id": "settings.app.scheduledDNDInfo", 3377 "id": "settings.app.scheduledDNDInfo",
3378 "start": { 3378 "start": {
3379 "column": 20, 3379 "column": 20,
3380 "line": 66 3380 "line": 67
3381 } 3381 }
3382 }, 3382 },
3383 { 3383 {
3384 "defaultMessage": "!!!Language", 3384 "defaultMessage": "!!!Language",
3385 "end": { 3385 "end": {
3386 "column": 3, 3386 "column": 3,
3387 "line": 73 3387 "line": 74
3388 }, 3388 },
3389 "file": "src/components/settings/settings/EditSettingsForm.js", 3389 "file": "src/components/settings/settings/EditSettingsForm.js",
3390 "id": "settings.app.headlineLanguage", 3390 "id": "settings.app.headlineLanguage",
3391 "start": { 3391 "start": {
3392 "column": 20, 3392 "column": 20,
3393 "line": 70 3393 "line": 71
3394 } 3394 }
3395 }, 3395 },
3396 { 3396 {
3397 "defaultMessage": "!!!Updates", 3397 "defaultMessage": "!!!Updates",
3398 "end": { 3398 "end": {
3399 "column": 3, 3399 "column": 3,
3400 "line": 77 3400 "line": 78
3401 }, 3401 },
3402 "file": "src/components/settings/settings/EditSettingsForm.js", 3402 "file": "src/components/settings/settings/EditSettingsForm.js",
3403 "id": "settings.app.headlineUpdates", 3403 "id": "settings.app.headlineUpdates",
3404 "start": { 3404 "start": {
3405 "column": 19, 3405 "column": 19,
3406 "line": 74 3406 "line": 75
3407 } 3407 }
3408 }, 3408 },
3409 { 3409 {
3410 "defaultMessage": "!!!Appearance", 3410 "defaultMessage": "!!!Appearance",
3411 "end": { 3411 "end": {
3412 "column": 3, 3412 "column": 3,
3413 "line": 81 3413 "line": 82
3414 }, 3414 },
3415 "file": "src/components/settings/settings/EditSettingsForm.js", 3415 "file": "src/components/settings/settings/EditSettingsForm.js",
3416 "id": "settings.app.headlineAppearance", 3416 "id": "settings.app.headlineAppearance",
3417 "start": { 3417 "start": {
3418 "column": 22, 3418 "column": 22,
3419 "line": 78 3419 "line": 79
3420 } 3420 }
3421 }, 3421 },
3422 { 3422 {
3423 "defaultMessage": "!!!Universal Dark Mode tries to dynamically generate dark mode styles for services that are otherwise not currently supported.", 3423 "defaultMessage": "!!!Universal Dark Mode tries to dynamically generate dark mode styles for services that are otherwise not currently supported.",
3424 "end": { 3424 "end": {
3425 "column": 3, 3425 "column": 3,
3426 "line": 85 3426 "line": 86
3427 }, 3427 },
3428 "file": "src/components/settings/settings/EditSettingsForm.js", 3428 "file": "src/components/settings/settings/EditSettingsForm.js",
3429 "id": "settings.app.universalDarkModeInfo", 3429 "id": "settings.app.universalDarkModeInfo",
3430 "start": { 3430 "start": {
3431 "column": 25, 3431 "column": 25,
3432 "line": 82 3432 "line": 83
3433 } 3433 }
3434 }, 3434 },
3435 { 3435 {
3436 "defaultMessage": "!!!Write your accent color in a CSS-compatible format. (Default: {defaultAccentColor})", 3436 "defaultMessage": "!!!Write your accent color in a CSS-compatible format. (Default: {defaultAccentColor})",
3437 "end": { 3437 "end": {
3438 "column": 3, 3438 "column": 3,
3439 "line": 89 3439 "line": 90
3440 }, 3440 },
3441 "file": "src/components/settings/settings/EditSettingsForm.js", 3441 "file": "src/components/settings/settings/EditSettingsForm.js",
3442 "id": "settings.app.accentColorInfo", 3442 "id": "settings.app.accentColorInfo",
3443 "start": { 3443 "start": {
3444 "column": 19, 3444 "column": 19,
3445 "line": 86 3445 "line": 87
3446 } 3446 }
3447 }, 3447 },
3448 { 3448 {
3449 "defaultMessage": "!!!Advanced", 3449 "defaultMessage": "!!!Advanced",
3450 "end": { 3450 "end": {
3451 "column": 3, 3451 "column": 3,
3452 "line": 93 3452 "line": 94
3453 }, 3453 },
3454 "file": "src/components/settings/settings/EditSettingsForm.js", 3454 "file": "src/components/settings/settings/EditSettingsForm.js",
3455 "id": "settings.app.headlineAdvanced", 3455 "id": "settings.app.headlineAdvanced",
3456 "start": { 3456 "start": {
3457 "column": 20, 3457 "column": 20,
3458 "line": 90 3458 "line": 91
3459 } 3459 }
3460 }, 3460 },
3461 { 3461 {
3462 "defaultMessage": "!!!Help us to translate Ferdi into your language.", 3462 "defaultMessage": "!!!Help us to translate Ferdi into your language.",
3463 "end": { 3463 "end": {
3464 "column": 3, 3464 "column": 3,
3465 "line": 97 3465 "line": 98
3466 }, 3466 },
3467 "file": "src/components/settings/settings/EditSettingsForm.js", 3467 "file": "src/components/settings/settings/EditSettingsForm.js",
3468 "id": "settings.app.translationHelp", 3468 "id": "settings.app.translationHelp",
3469 "start": { 3469 "start": {
3470 "column": 19, 3470 "column": 19,
3471 "line": 94 3471 "line": 95
3472 } 3472 }
3473 }, 3473 },
3474 { 3474 {
3475 "defaultMessage": "!!!Ferdi uses your Mac's build-in spellchecker to check for typos. If you want to change the languages the spellchecker checks for, you can do so in your Mac's System Preferences.", 3475 "defaultMessage": "!!!Ferdi uses your Mac's build-in spellchecker to check for typos. If you want to change the languages the spellchecker checks for, you can do so in your Mac's System Preferences.",
3476 "end": { 3476 "end": {
3477 "column": 3, 3477 "column": 3,
3478 "line": 101 3478 "line": 102
3479 }, 3479 },
3480 "file": "src/components/settings/settings/EditSettingsForm.js", 3480 "file": "src/components/settings/settings/EditSettingsForm.js",
3481 "id": "settings.app.spellCheckerLanguageInfo", 3481 "id": "settings.app.spellCheckerLanguageInfo",
3482 "start": { 3482 "start": {
3483 "column": 28, 3483 "column": 28,
3484 "line": 98 3484 "line": 99
3485 } 3485 }
3486 }, 3486 },
3487 { 3487 {
3488 "defaultMessage": "!!!Cache", 3488 "defaultMessage": "!!!Cache",
3489 "end": { 3489 "end": {
3490 "column": 3, 3490 "column": 3,
3491 "line": 105 3491 "line": 106
3492 }, 3492 },
3493 "file": "src/components/settings/settings/EditSettingsForm.js", 3493 "file": "src/components/settings/settings/EditSettingsForm.js",
3494 "id": "settings.app.subheadlineCache", 3494 "id": "settings.app.subheadlineCache",
3495 "start": { 3495 "start": {
3496 "column": 20, 3496 "column": 20,
3497 "line": 102 3497 "line": 103
3498 } 3498 }
3499 }, 3499 },
3500 { 3500 {
3501 "defaultMessage": "!!!Ferdi cache is currently using {size} of disk space.", 3501 "defaultMessage": "!!!Ferdi cache is currently using {size} of disk space.",
3502 "end": { 3502 "end": {
3503 "column": 3, 3503 "column": 3,
3504 "line": 109 3504 "line": 110
3505 }, 3505 },
3506 "file": "src/components/settings/settings/EditSettingsForm.js", 3506 "file": "src/components/settings/settings/EditSettingsForm.js",
3507 "id": "settings.app.cacheInfo", 3507 "id": "settings.app.cacheInfo",
3508 "start": { 3508 "start": {
3509 "column": 13, 3509 "column": 13,
3510 "line": 106 3510 "line": 107
3511 } 3511 }
3512 }, 3512 },
3513 { 3513 {
3514 "defaultMessage": "!!!Couldn't clear all cache", 3514 "defaultMessage": "!!!Couldn't clear all cache",
3515 "end": { 3515 "end": {
3516 "column": 3, 3516 "column": 3,
3517 "line": 113 3517 "line": 114
3518 }, 3518 },
3519 "file": "src/components/settings/settings/EditSettingsForm.js", 3519 "file": "src/components/settings/settings/EditSettingsForm.js",
3520 "id": "settings.app.cacheNotCleared", 3520 "id": "settings.app.cacheNotCleared",
3521 "start": { 3521 "start": {
3522 "column": 19, 3522 "column": 19,
3523 "line": 110 3523 "line": 111
3524 } 3524 }
3525 }, 3525 },
3526 { 3526 {
3527 "defaultMessage": "!!!Clear cache", 3527 "defaultMessage": "!!!Clear cache",
3528 "end": { 3528 "end": {
3529 "column": 3, 3529 "column": 3,
3530 "line": 117 3530 "line": 118
3531 }, 3531 },
3532 "file": "src/components/settings/settings/EditSettingsForm.js", 3532 "file": "src/components/settings/settings/EditSettingsForm.js",
3533 "id": "settings.app.buttonClearAllCache", 3533 "id": "settings.app.buttonClearAllCache",
3534 "start": { 3534 "start": {
3535 "column": 23, 3535 "column": 23,
3536 "line": 114 3536 "line": 115
3537 } 3537 }
3538 }, 3538 },
3539 { 3539 {
3540 "defaultMessage": "!!!Check for updates", 3540 "defaultMessage": "!!!Check for updates",
3541 "end": { 3541 "end": {
3542 "column": 3, 3542 "column": 3,
3543 "line": 121 3543 "line": 122
3544 }, 3544 },
3545 "file": "src/components/settings/settings/EditSettingsForm.js", 3545 "file": "src/components/settings/settings/EditSettingsForm.js",
3546 "id": "settings.app.buttonSearchForUpdate", 3546 "id": "settings.app.buttonSearchForUpdate",
3547 "start": { 3547 "start": {
3548 "column": 25, 3548 "column": 25,
3549 "line": 118 3549 "line": 119
3550 } 3550 }
3551 }, 3551 },
3552 { 3552 {
3553 "defaultMessage": "!!!Restart & install update", 3553 "defaultMessage": "!!!Restart & install update",
3554 "end": { 3554 "end": {
3555 "column": 3, 3555 "column": 3,
3556 "line": 125 3556 "line": 126
3557 }, 3557 },
3558 "file": "src/components/settings/settings/EditSettingsForm.js", 3558 "file": "src/components/settings/settings/EditSettingsForm.js",
3559 "id": "settings.app.buttonInstallUpdate", 3559 "id": "settings.app.buttonInstallUpdate",
3560 "start": { 3560 "start": {
3561 "column": 23, 3561 "column": 23,
3562 "line": 122 3562 "line": 123
3563 } 3563 }
3564 }, 3564 },
3565 { 3565 {
3566 "defaultMessage": "!!!Is searching for update", 3566 "defaultMessage": "!!!Is searching for update",
3567 "end": { 3567 "end": {
3568 "column": 3, 3568 "column": 3,
3569 "line": 129 3569 "line": 130
3570 }, 3570 },
3571 "file": "src/components/settings/settings/EditSettingsForm.js", 3571 "file": "src/components/settings/settings/EditSettingsForm.js",
3572 "id": "settings.app.updateStatusSearching", 3572 "id": "settings.app.updateStatusSearching",
3573 "start": { 3573 "start": {
3574 "column": 25, 3574 "column": 25,
3575 "line": 126 3575 "line": 127
3576 } 3576 }
3577 }, 3577 },
3578 { 3578 {
3579 "defaultMessage": "!!!Update available, downloading...", 3579 "defaultMessage": "!!!Update available, downloading...",
3580 "end": { 3580 "end": {
3581 "column": 3, 3581 "column": 3,
3582 "line": 133 3582 "line": 134
3583 }, 3583 },
3584 "file": "src/components/settings/settings/EditSettingsForm.js", 3584 "file": "src/components/settings/settings/EditSettingsForm.js",
3585 "id": "settings.app.updateStatusAvailable", 3585 "id": "settings.app.updateStatusAvailable",
3586 "start": { 3586 "start": {
3587 "column": 25, 3587 "column": 25,
3588 "line": 130 3588 "line": 131
3589 } 3589 }
3590 }, 3590 },
3591 { 3591 {
3592 "defaultMessage": "!!!You are using the latest version of Ferdi", 3592 "defaultMessage": "!!!You are using the latest version of Ferdi",
3593 "end": { 3593 "end": {
3594 "column": 3, 3594 "column": 3,
3595 "line": 137 3595 "line": 138
3596 }, 3596 },
3597 "file": "src/components/settings/settings/EditSettingsForm.js", 3597 "file": "src/components/settings/settings/EditSettingsForm.js",
3598 "id": "settings.app.updateStatusUpToDate", 3598 "id": "settings.app.updateStatusUpToDate",
3599 "start": { 3599 "start": {
3600 "column": 24, 3600 "column": 24,
3601 "line": 134 3601 "line": 135
3602 } 3602 }
3603 }, 3603 },
3604 { 3604 {
3605 "defaultMessage": "!!!Current version:", 3605 "defaultMessage": "!!!Current version:",
3606 "end": { 3606 "end": {
3607 "column": 3, 3607 "column": 3,
3608 "line": 141 3608 "line": 142
3609 }, 3609 },
3610 "file": "src/components/settings/settings/EditSettingsForm.js", 3610 "file": "src/components/settings/settings/EditSettingsForm.js",
3611 "id": "settings.app.currentVersion", 3611 "id": "settings.app.currentVersion",
3612 "start": { 3612 "start": {
3613 "column": 18, 3613 "column": 18,
3614 "line": 138 3614 "line": 139
3615 } 3615 }
3616 }, 3616 },
3617 { 3617 {
3618 "defaultMessage": "!!!Changes require restart", 3618 "defaultMessage": "!!!Changes require restart",
3619 "end": { 3619 "end": {
3620 "column": 3, 3620 "column": 3,
3621 "line": 145 3621 "line": 146
3622 }, 3622 },
3623 "file": "src/components/settings/settings/EditSettingsForm.js", 3623 "file": "src/components/settings/settings/EditSettingsForm.js",
3624 "id": "settings.app.restartRequired", 3624 "id": "settings.app.restartRequired",
3625 "start": { 3625 "start": {
3626 "column": 29, 3626 "column": 29,
3627 "line": 142 3627 "line": 143
3628 } 3628 }
3629 }, 3629 },
3630 { 3630 {
3631 "defaultMessage": "!!!Official translations are English & German. All other languages are community based translations.", 3631 "defaultMessage": "!!!Official translations are English & German. All other languages are community based translations.",
3632 "end": { 3632 "end": {
3633 "column": 3, 3633 "column": 3,
3634 "line": 149 3634 "line": 150
3635 }, 3635 },
3636 "file": "src/components/settings/settings/EditSettingsForm.js", 3636 "file": "src/components/settings/settings/EditSettingsForm.js",
3637 "id": "settings.app.languageDisclaimer", 3637 "id": "settings.app.languageDisclaimer",
3638 "start": { 3638 "start": {
3639 "column": 22, 3639 "column": 22,
3640 "line": 146 3640 "line": 147
3641 } 3641 }
3642 } 3642 }
3643 ], 3643 ],
diff --git a/src/i18n/messages/src/components/settings/settings/EditSettingsForm.json b/src/i18n/messages/src/components/settings/settings/EditSettingsForm.json
index 4b672afc2..569faa7fe 100644
--- a/src/i18n/messages/src/components/settings/settings/EditSettingsForm.json
+++ b/src/i18n/messages/src/components/settings/settings/EditSettingsForm.json
@@ -4,11 +4,11 @@
4 "defaultMessage": "!!!Settings", 4 "defaultMessage": "!!!Settings",
5 "file": "src/components/settings/settings/EditSettingsForm.js", 5 "file": "src/components/settings/settings/EditSettingsForm.js",
6 "start": { 6 "start": {
7 "line": 26, 7 "line": 27,
8 "column": 12 8 "column": 12
9 }, 9 },
10 "end": { 10 "end": {
11 "line": 29, 11 "line": 30,
12 "column": 3 12 "column": 3
13 } 13 }
14 }, 14 },
@@ -17,11 +17,11 @@
17 "defaultMessage": "!!!General", 17 "defaultMessage": "!!!General",
18 "file": "src/components/settings/settings/EditSettingsForm.js", 18 "file": "src/components/settings/settings/EditSettingsForm.js",
19 "start": { 19 "start": {
20 "line": 30, 20 "line": 31,
21 "column": 19 21 "column": 19
22 }, 22 },
23 "end": { 23 "end": {
24 "line": 33, 24 "line": 34,
25 "column": 3 25 "column": 3
26 } 26 }
27 }, 27 },
@@ -30,11 +30,11 @@
30 "defaultMessage": "!!!Sending telemetry data allows us to find errors in Ferdi - we will not send any personal information like your message data! Changing this option requires you to restart Ferdi.", 30 "defaultMessage": "!!!Sending telemetry data allows us to find errors in Ferdi - we will not send any personal information like your message data! Changing this option requires you to restart Ferdi.",
31 "file": "src/components/settings/settings/EditSettingsForm.js", 31 "file": "src/components/settings/settings/EditSettingsForm.js",
32 "start": { 32 "start": {
33 "line": 34, 33 "line": 35,
34 "column": 14 34 "column": 14
35 }, 35 },
36 "end": { 36 "end": {
37 "line": 37, 37 "line": 38,
38 "column": 3 38 "column": 3
39 } 39 }
40 }, 40 },
@@ -43,11 +43,11 @@
43 "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.", 43 "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.",
44 "file": "src/components/settings/settings/EditSettingsForm.js", 44 "file": "src/components/settings/settings/EditSettingsForm.js",
45 "start": { 45 "start": {
46 "line": 38, 46 "line": 39,
47 "column": 17 47 "column": 17
48 }, 48 },
49 "end": { 49 "end": {
50 "line": 41, 50 "line": 42,
51 "column": 3 51 "column": 3
52 } 52 }
53 }, 53 },
@@ -56,11 +56,11 @@
56 "defaultMessage": "!!!Minutes of inactivity, after which Ferdi should automatically lock. Use 0 to disable", 56 "defaultMessage": "!!!Minutes of inactivity, after which Ferdi should automatically lock. Use 0 to disable",
57 "file": "src/components/settings/settings/EditSettingsForm.js", 57 "file": "src/components/settings/settings/EditSettingsForm.js",
58 "start": { 58 "start": {
59 "line": 42, 59 "line": 43,
60 "column": 22 60 "column": 22
61 }, 61 },
62 "end": { 62 "end": {
63 "line": 45, 63 "line": 46,
64 "column": 3 64 "column": 3
65 } 65 }
66 }, 66 },
@@ -69,11 +69,11 @@
69 "defaultMessage": "!!!This server will be used for the \"Franz Todo\" feature. (default: https://app.franztodos.com)", 69 "defaultMessage": "!!!This server will be used for the \"Franz Todo\" feature. (default: https://app.franztodos.com)",
70 "file": "src/components/settings/settings/EditSettingsForm.js", 70 "file": "src/components/settings/settings/EditSettingsForm.js",
71 "start": { 71 "start": {
72 "line": 46, 72 "line": 47,
73 "column": 18 73 "column": 18
74 }, 74 },
75 "end": { 75 "end": {
76 "line": 49, 76 "line": 50,
77 "column": 3 77 "column": 3
78 } 78 }
79 }, 79 },
@@ -82,11 +82,11 @@
82 "defaultMessage": "!!!Password", 82 "defaultMessage": "!!!Password",
83 "file": "src/components/settings/settings/EditSettingsForm.js", 83 "file": "src/components/settings/settings/EditSettingsForm.js",
84 "start": { 84 "start": {
85 "line": 50, 85 "line": 51,
86 "column": 18 86 "column": 18
87 }, 87 },
88 "end": { 88 "end": {
89 "line": 53, 89 "line": 54,
90 "column": 3 90 "column": 3
91 } 91 }
92 }, 92 },
@@ -95,11 +95,11 @@
95 "defaultMessage": "!!!Please make sure to set a password you'll remember.\nIf you loose this password, you will have to reinstall Ferdi.", 95 "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", 96 "file": "src/components/settings/settings/EditSettingsForm.js",
97 "start": { 97 "start": {
98 "line": 54, 98 "line": 55,
99 "column": 22 99 "column": 22
100 }, 100 },
101 "end": { 101 "end": {
102 "line": 57, 102 "line": 58,
103 "column": 3 103 "column": 3
104 } 104 }
105 }, 105 },
@@ -108,11 +108,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.", 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.",
109 "file": "src/components/settings/settings/EditSettingsForm.js", 109 "file": "src/components/settings/settings/EditSettingsForm.js",
110 "start": { 110 "start": {
111 "line": 58, 111 "line": 59,
112 "column": 12 112 "column": 12
113 }, 113 },
114 "end": { 114 "end": {
115 "line": 61, 115 "line": 62,
116 "column": 3 116 "column": 3
117 } 117 }
118 }, 118 },
@@ -121,11 +121,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.", 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.",
122 "file": "src/components/settings/settings/EditSettingsForm.js", 122 "file": "src/components/settings/settings/EditSettingsForm.js",
123 "start": { 123 "start": {
124 "line": 62, 124 "line": 63,
125 "column": 24 125 "column": 24
126 }, 126 },
127 "end": { 127 "end": {
128 "line": 65, 128 "line": 66,
129 "column": 3 129 "column": 3
130 } 130 }
131 }, 131 },
@@ -134,11 +134,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.", 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.",
135 "file": "src/components/settings/settings/EditSettingsForm.js", 135 "file": "src/components/settings/settings/EditSettingsForm.js",
136 "start": { 136 "start": {
137 "line": 66, 137 "line": 67,
138 "column": 20 138 "column": 20
139 }, 139 },
140 "end": { 140 "end": {
141 "line": 69, 141 "line": 70,
142 "column": 3 142 "column": 3
143 } 143 }
144 }, 144 },
@@ -147,11 +147,11 @@
147 "defaultMessage": "!!!Language", 147 "defaultMessage": "!!!Language",
148 "file": "src/components/settings/settings/EditSettingsForm.js", 148 "file": "src/components/settings/settings/EditSettingsForm.js",
149 "start": { 149 "start": {
150 "line": 70, 150 "line": 71,
151 "column": 20 151 "column": 20
152 }, 152 },
153 "end": { 153 "end": {
154 "line": 73, 154 "line": 74,
155 "column": 3 155 "column": 3
156 } 156 }
157 }, 157 },
@@ -160,11 +160,11 @@
160 "defaultMessage": "!!!Updates", 160 "defaultMessage": "!!!Updates",
161 "file": "src/components/settings/settings/EditSettingsForm.js", 161 "file": "src/components/settings/settings/EditSettingsForm.js",
162 "start": { 162 "start": {
163 "line": 74, 163 "line": 75,
164 "column": 19 164 "column": 19
165 }, 165 },
166 "end": { 166 "end": {
167 "line": 77, 167 "line": 78,
168 "column": 3 168 "column": 3
169 } 169 }
170 }, 170 },
@@ -173,11 +173,11 @@
173 "defaultMessage": "!!!Appearance", 173 "defaultMessage": "!!!Appearance",
174 "file": "src/components/settings/settings/EditSettingsForm.js", 174 "file": "src/components/settings/settings/EditSettingsForm.js",
175 "start": { 175 "start": {
176 "line": 78, 176 "line": 79,
177 "column": 22 177 "column": 22
178 }, 178 },
179 "end": { 179 "end": {
180 "line": 81, 180 "line": 82,
181 "column": 3 181 "column": 3
182 } 182 }
183 }, 183 },
@@ -186,11 +186,11 @@
186 "defaultMessage": "!!!Universal Dark Mode tries to dynamically generate dark mode styles for services that are otherwise not currently supported.", 186 "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", 187 "file": "src/components/settings/settings/EditSettingsForm.js",
188 "start": { 188 "start": {
189 "line": 82, 189 "line": 83,
190 "column": 25 190 "column": 25
191 }, 191 },
192 "end": { 192 "end": {
193 "line": 85, 193 "line": 86,
194 "column": 3 194 "column": 3
195 } 195 }
196 }, 196 },
@@ -199,11 +199,11 @@
199 "defaultMessage": "!!!Write your accent color in a CSS-compatible format. (Default: {defaultAccentColor})", 199 "defaultMessage": "!!!Write your accent color in a CSS-compatible format. (Default: {defaultAccentColor})",
200 "file": "src/components/settings/settings/EditSettingsForm.js", 200 "file": "src/components/settings/settings/EditSettingsForm.js",
201 "start": { 201 "start": {
202 "line": 86, 202 "line": 87,
203 "column": 19 203 "column": 19
204 }, 204 },
205 "end": { 205 "end": {
206 "line": 89, 206 "line": 90,
207 "column": 3 207 "column": 3
208 } 208 }
209 }, 209 },
@@ -212,11 +212,11 @@
212 "defaultMessage": "!!!Advanced", 212 "defaultMessage": "!!!Advanced",
213 "file": "src/components/settings/settings/EditSettingsForm.js", 213 "file": "src/components/settings/settings/EditSettingsForm.js",
214 "start": { 214 "start": {
215 "line": 90, 215 "line": 91,
216 "column": 20 216 "column": 20
217 }, 217 },
218 "end": { 218 "end": {
219 "line": 93, 219 "line": 94,
220 "column": 3 220 "column": 3
221 } 221 }
222 }, 222 },
@@ -225,11 +225,11 @@
225 "defaultMessage": "!!!Help us to translate Ferdi into your language.", 225 "defaultMessage": "!!!Help us to translate Ferdi into your language.",
226 "file": "src/components/settings/settings/EditSettingsForm.js", 226 "file": "src/components/settings/settings/EditSettingsForm.js",
227 "start": { 227 "start": {
228 "line": 94, 228 "line": 95,
229 "column": 19 229 "column": 19
230 }, 230 },
231 "end": { 231 "end": {
232 "line": 97, 232 "line": 98,
233 "column": 3 233 "column": 3
234 } 234 }
235 }, 235 },
@@ -238,11 +238,11 @@
238 "defaultMessage": "!!!Ferdi uses your Mac's build-in spellchecker to check for typos. If you want to change the languages the spellchecker checks for, you can do so in your Mac's System Preferences.", 238 "defaultMessage": "!!!Ferdi uses your Mac's build-in spellchecker to check for typos. If you want to change the languages the spellchecker checks for, you can do so in your Mac's System Preferences.",
239 "file": "src/components/settings/settings/EditSettingsForm.js", 239 "file": "src/components/settings/settings/EditSettingsForm.js",
240 "start": { 240 "start": {
241 "line": 98, 241 "line": 99,
242 "column": 28 242 "column": 28
243 }, 243 },
244 "end": { 244 "end": {
245 "line": 101, 245 "line": 102,
246 "column": 3 246 "column": 3
247 } 247 }
248 }, 248 },
@@ -251,11 +251,11 @@
251 "defaultMessage": "!!!Cache", 251 "defaultMessage": "!!!Cache",
252 "file": "src/components/settings/settings/EditSettingsForm.js", 252 "file": "src/components/settings/settings/EditSettingsForm.js",
253 "start": { 253 "start": {
254 "line": 102, 254 "line": 103,
255 "column": 20 255 "column": 20
256 }, 256 },
257 "end": { 257 "end": {
258 "line": 105, 258 "line": 106,
259 "column": 3 259 "column": 3
260 } 260 }
261 }, 261 },
@@ -264,11 +264,11 @@
264 "defaultMessage": "!!!Ferdi cache is currently using {size} of disk space.", 264 "defaultMessage": "!!!Ferdi cache is currently using {size} of disk space.",
265 "file": "src/components/settings/settings/EditSettingsForm.js", 265 "file": "src/components/settings/settings/EditSettingsForm.js",
266 "start": { 266 "start": {
267 "line": 106, 267 "line": 107,
268 "column": 13 268 "column": 13
269 }, 269 },
270 "end": { 270 "end": {
271 "line": 109, 271 "line": 110,
272 "column": 3 272 "column": 3
273 } 273 }
274 }, 274 },
@@ -277,11 +277,11 @@
277 "defaultMessage": "!!!Couldn't clear all cache", 277 "defaultMessage": "!!!Couldn't clear all cache",
278 "file": "src/components/settings/settings/EditSettingsForm.js", 278 "file": "src/components/settings/settings/EditSettingsForm.js",
279 "start": { 279 "start": {
280 "line": 110, 280 "line": 111,
281 "column": 19 281 "column": 19
282 }, 282 },
283 "end": { 283 "end": {
284 "line": 113, 284 "line": 114,
285 "column": 3 285 "column": 3
286 } 286 }
287 }, 287 },
@@ -290,11 +290,11 @@
290 "defaultMessage": "!!!Clear cache", 290 "defaultMessage": "!!!Clear cache",
291 "file": "src/components/settings/settings/EditSettingsForm.js", 291 "file": "src/components/settings/settings/EditSettingsForm.js",
292 "start": { 292 "start": {
293 "line": 114, 293 "line": 115,
294 "column": 23 294 "column": 23
295 }, 295 },
296 "end": { 296 "end": {
297 "line": 117, 297 "line": 118,
298 "column": 3 298 "column": 3
299 } 299 }
300 }, 300 },
@@ -303,11 +303,11 @@
303 "defaultMessage": "!!!Check for updates", 303 "defaultMessage": "!!!Check for updates",
304 "file": "src/components/settings/settings/EditSettingsForm.js", 304 "file": "src/components/settings/settings/EditSettingsForm.js",
305 "start": { 305 "start": {
306 "line": 118, 306 "line": 119,
307 "column": 25 307 "column": 25
308 }, 308 },
309 "end": { 309 "end": {
310 "line": 121, 310 "line": 122,
311 "column": 3 311 "column": 3
312 } 312 }
313 }, 313 },
@@ -316,11 +316,11 @@
316 "defaultMessage": "!!!Restart & install update", 316 "defaultMessage": "!!!Restart & install update",
317 "file": "src/components/settings/settings/EditSettingsForm.js", 317 "file": "src/components/settings/settings/EditSettingsForm.js",
318 "start": { 318 "start": {
319 "line": 122, 319 "line": 123,
320 "column": 23 320 "column": 23
321 }, 321 },
322 "end": { 322 "end": {
323 "line": 125, 323 "line": 126,
324 "column": 3 324 "column": 3
325 } 325 }
326 }, 326 },
@@ -329,11 +329,11 @@
329 "defaultMessage": "!!!Is searching for update", 329 "defaultMessage": "!!!Is searching for update",
330 "file": "src/components/settings/settings/EditSettingsForm.js", 330 "file": "src/components/settings/settings/EditSettingsForm.js",
331 "start": { 331 "start": {
332 "line": 126, 332 "line": 127,
333 "column": 25 333 "column": 25
334 }, 334 },
335 "end": { 335 "end": {
336 "line": 129, 336 "line": 130,
337 "column": 3 337 "column": 3
338 } 338 }
339 }, 339 },
@@ -342,11 +342,11 @@
342 "defaultMessage": "!!!Update available, downloading...", 342 "defaultMessage": "!!!Update available, downloading...",
343 "file": "src/components/settings/settings/EditSettingsForm.js", 343 "file": "src/components/settings/settings/EditSettingsForm.js",
344 "start": { 344 "start": {
345 "line": 130, 345 "line": 131,
346 "column": 25 346 "column": 25
347 }, 347 },
348 "end": { 348 "end": {
349 "line": 133, 349 "line": 134,
350 "column": 3 350 "column": 3
351 } 351 }
352 }, 352 },
@@ -355,11 +355,11 @@
355 "defaultMessage": "!!!You are using the latest version of Ferdi", 355 "defaultMessage": "!!!You are using the latest version of Ferdi",
356 "file": "src/components/settings/settings/EditSettingsForm.js", 356 "file": "src/components/settings/settings/EditSettingsForm.js",
357 "start": { 357 "start": {
358 "line": 134, 358 "line": 135,
359 "column": 24 359 "column": 24
360 }, 360 },
361 "end": { 361 "end": {
362 "line": 137, 362 "line": 138,
363 "column": 3 363 "column": 3
364 } 364 }
365 }, 365 },
@@ -368,11 +368,11 @@
368 "defaultMessage": "!!!Current version:", 368 "defaultMessage": "!!!Current version:",
369 "file": "src/components/settings/settings/EditSettingsForm.js", 369 "file": "src/components/settings/settings/EditSettingsForm.js",
370 "start": { 370 "start": {
371 "line": 138, 371 "line": 139,
372 "column": 18 372 "column": 18
373 }, 373 },
374 "end": { 374 "end": {
375 "line": 141, 375 "line": 142,
376 "column": 3 376 "column": 3
377 } 377 }
378 }, 378 },
@@ -381,11 +381,11 @@
381 "defaultMessage": "!!!Changes require restart", 381 "defaultMessage": "!!!Changes require restart",
382 "file": "src/components/settings/settings/EditSettingsForm.js", 382 "file": "src/components/settings/settings/EditSettingsForm.js",
383 "start": { 383 "start": {
384 "line": 142, 384 "line": 143,
385 "column": 29 385 "column": 29
386 }, 386 },
387 "end": { 387 "end": {
388 "line": 145, 388 "line": 146,
389 "column": 3 389 "column": 3
390 } 390 }
391 }, 391 },
@@ -394,11 +394,11 @@
394 "defaultMessage": "!!!Official translations are English & German. All other languages are community based translations.", 394 "defaultMessage": "!!!Official translations are English & German. All other languages are community based translations.",
395 "file": "src/components/settings/settings/EditSettingsForm.js", 395 "file": "src/components/settings/settings/EditSettingsForm.js",
396 "start": { 396 "start": {
397 "line": 146, 397 "line": 147,
398 "column": 22 398 "column": 22
399 }, 399 },
400 "end": { 400 "end": {
401 "line": 149, 401 "line": 150,
402 "column": 3 402 "column": 3
403 } 403 }
404 } 404 }
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js
index 529201df5..c409b6ac7 100644
--- a/src/stores/AppStore.js
+++ b/src/stores/AppStore.js
@@ -4,7 +4,6 @@ import {
4} from 'mobx'; 4} from 'mobx';
5import moment from 'moment'; 5import moment from 'moment';
6import AutoLaunch from 'auto-launch'; 6import AutoLaunch from 'auto-launch';
7import prettyBytes from 'pretty-bytes';
8import ms from 'ms'; 7import ms from 'ms';
9import { URL } from 'url'; 8import { URL } from 'url';
10import os from 'os'; 9import os from 'os';
@@ -257,7 +256,7 @@ export default class AppStore extends Store {
257 } 256 }
258 257
259 @computed get cacheSize() { 258 @computed get cacheSize() {
260 return prettyBytes(this.getAppCacheSizeRequest.execute().result || 0); 259 return this.getAppCacheSizeRequest.execute().result;
261 } 260 }
262 261
263 @computed get debugInfo() { 262 @computed get debugInfo() {