aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/settings/settings/EditSettingsForm.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/settings/settings/EditSettingsForm.js')
-rw-r--r--src/components/settings/settings/EditSettingsForm.js56
1 files changed, 28 insertions, 28 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js
index c92bde346..f08705bed 100644
--- a/src/components/settings/settings/EditSettingsForm.js
+++ b/src/components/settings/settings/EditSettingsForm.js
@@ -21,9 +21,9 @@ import {
21 SPLIT_COLUMNS_MAX, 21 SPLIT_COLUMNS_MAX,
22 SPLIT_COLUMNS_MIN, 22 SPLIT_COLUMNS_MIN,
23} from '../../../config'; 23} from '../../../config';
24import { isMac, isWindows, lockFerdiShortcutKey } from '../../../environment'; 24import { isMac, isWindows, lockFerdiumShortcutKey } from '../../../environment';
25import { 25import {
26 ferdiVersion, 26 ferdiumVersion,
27 userDataPath, 27 userDataPath,
28 userDataRecipesPath, 28 userDataRecipesPath,
29} from '../../../environment-remote'; 29} from '../../../environment-remote';
@@ -31,7 +31,7 @@ import { openPath } from '../../../helpers/url-helpers';
31import globalMessages from '../../../i18n/globalMessages'; 31import globalMessages from '../../../i18n/globalMessages';
32import { Icon } from '../../ui/icon'; 32import { Icon } from '../../ui/icon';
33 33
34const debug = require('debug')('Ferdi:EditSettingsForm'); 34const debug = require('debug')('Ferdium:EditSettingsForm');
35 35
36const messages = defineMessages({ 36const messages = defineMessages({
37 headlineGeneral: { 37 headlineGeneral: {
@@ -41,21 +41,21 @@ const messages = defineMessages({
41 sentryInfo: { 41 sentryInfo: {
42 id: 'settings.app.sentryInfo', 42 id: 'settings.app.sentryInfo',
43 defaultMessage: 43 defaultMessage:
44 'Sending telemetry data allows us to find errors in Ferdi - we will not send any personal information like your message data!', 44 'Sending telemetry data allows us to find errors in Ferdium - we will not send any personal information like your message data!',
45 }, 45 },
46 hibernateInfo: { 46 hibernateInfo: {
47 id: 'settings.app.hibernateInfo', 47 id: 'settings.app.hibernateInfo',
48 defaultMessage: 48 defaultMessage:
49 '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.', 49 'By default, Ferdium 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.',
50 }, 50 },
51 inactivityLockInfo: { 51 inactivityLockInfo: {
52 id: 'settings.app.inactivityLockInfo', 52 id: 'settings.app.inactivityLockInfo',
53 defaultMessage: 53 defaultMessage:
54 'Minutes of inactivity, after which Ferdi should automatically lock. Use 0 to disable', 54 'Minutes of inactivity, after which Ferdium should automatically lock. Use 0 to disable',
55 }, 55 },
56 todoServerInfo: { 56 todoServerInfo: {
57 id: 'settings.app.todoServerInfo', 57 id: 'settings.app.todoServerInfo',
58 defaultMessage: 'This server will be used for the "Ferdi Todo" feature.', 58 defaultMessage: 'This server will be used for the "Ferdium Todo" feature.',
59 }, 59 },
60 lockedPassword: { 60 lockedPassword: {
61 id: 'settings.app.lockedPassword', 61 id: 'settings.app.lockedPassword',
@@ -64,12 +64,12 @@ const messages = defineMessages({
64 lockedPasswordInfo: { 64 lockedPasswordInfo: {
65 id: 'settings.app.lockedPasswordInfo', 65 id: 'settings.app.lockedPasswordInfo',
66 defaultMessage: 66 defaultMessage:
67 "Please make sure to set a password you'll remember.\nIf you loose this password, you will have to reinstall Ferdi.", 67 "Please make sure to set a password you'll remember.\nIf you loose this password, you will have to reinstall Ferdium.",
68 }, 68 },
69 lockInfo: { 69 lockInfo: {
70 id: 'settings.app.lockInfo', 70 id: 'settings.app.lockInfo',
71 defaultMessage: 71 defaultMessage:
72 'Password Lock allows you to keep your messages protected.\nUsing Password Lock, you will be prompted to enter your password everytime you start Ferdi or lock Ferdi yourself using the lock symbol in the bottom left corner or the shortcut {lockShortcut}.', 72 'Password Lock allows you to keep your messages protected.\nUsing Password Lock, you will be prompted to enter your password everytime you start Ferdium or lock Ferdium yourself using the lock symbol in the bottom left corner or the shortcut {lockShortcut}.',
73 }, 73 },
74 scheduledDNDTimeInfo: { 74 scheduledDNDTimeInfo: {
75 id: 'settings.app.scheduledDNDTimeInfo', 75 id: 'settings.app.scheduledDNDTimeInfo',
@@ -79,7 +79,7 @@ const messages = defineMessages({
79 scheduledDNDInfo: { 79 scheduledDNDInfo: {
80 id: 'settings.app.scheduledDNDInfo', 80 id: 'settings.app.scheduledDNDInfo',
81 defaultMessage: 81 defaultMessage:
82 'Scheduled Do-not-Disturb allows you to define a period of time in which you do not want to get Notifications from Ferdi.', 82 'Scheduled Do-not-Disturb allows you to define a period of time in which you do not want to get Notifications from Ferdium.',
83 }, 83 },
84 headlineLanguage: { 84 headlineLanguage: {
85 id: 'settings.app.headlineLanguage', 85 id: 'settings.app.headlineLanguage',
@@ -113,12 +113,12 @@ const messages = defineMessages({
113 }, 113 },
114 translationHelp: { 114 translationHelp: {
115 id: 'settings.app.translationHelp', 115 id: 'settings.app.translationHelp',
116 defaultMessage: 'Help us to translate Ferdi into your language.', 116 defaultMessage: 'Help us to translate Ferdium into your language.',
117 }, 117 },
118 spellCheckerLanguageInfo: { 118 spellCheckerLanguageInfo: {
119 id: 'settings.app.spellCheckerLanguageInfo', 119 id: 'settings.app.spellCheckerLanguageInfo',
120 defaultMessage: 120 defaultMessage:
121 "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.", 121 "Ferdium 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.",
122 }, 122 },
123 subheadlineCache: { 123 subheadlineCache: {
124 id: 'settings.app.subheadlineCache', 124 id: 'settings.app.subheadlineCache',
@@ -126,7 +126,7 @@ const messages = defineMessages({
126 }, 126 },
127 cacheInfo: { 127 cacheInfo: {
128 id: 'settings.app.cacheInfo', 128 id: 'settings.app.cacheInfo',
129 defaultMessage: 'Ferdi cache is currently using {size} of disk space.', 129 defaultMessage: 'Ferdium cache is currently using {size} of disk space.',
130 }, 130 },
131 cacheNotCleared: { 131 cacheNotCleared: {
132 id: 'settings.app.cacheNotCleared', 132 id: 'settings.app.cacheNotCleared',
@@ -136,16 +136,16 @@ const messages = defineMessages({
136 id: 'settings.app.buttonClearAllCache', 136 id: 'settings.app.buttonClearAllCache',
137 defaultMessage: 'Clear cache', 137 defaultMessage: 'Clear cache',
138 }, 138 },
139 subheadlineFerdiProfile: { 139 subheadlineFerdiumProfile: {
140 id: 'settings.app.subheadlineFerdiProfile', 140 id: 'settings.app.subheadlineFerdiumProfile',
141 defaultMessage: 'Ferdi Profile', 141 defaultMessage: 'Ferdium Profile',
142 }, 142 },
143 buttonOpenFerdiProfileFolder: { 143 buttonOpenFerdiumProfileFolder: {
144 id: 'settings.app.buttonOpenFerdiProfileFolder', 144 id: 'settings.app.buttonOpenFerdiumProfileFolder',
145 defaultMessage: 'Open Profile folder', 145 defaultMessage: 'Open Profile folder',
146 }, 146 },
147 buttonOpenFerdiServiceRecipesFolder: { 147 buttonOpenFerdiumServiceRecipesFolder: {
148 id: 'settings.app.buttonOpenFerdiServiceRecipesFolder', 148 id: 'settings.app.buttonOpenFerdiumServiceRecipesFolder',
149 defaultMessage: 'Open Service Recipes folder', 149 defaultMessage: 'Open Service Recipes folder',
150 }, 150 },
151 buttonSearchForUpdate: { 151 buttonSearchForUpdate: {
@@ -166,7 +166,7 @@ const messages = defineMessages({
166 }, 166 },
167 updateStatusUpToDate: { 167 updateStatusUpToDate: {
168 id: 'settings.app.updateStatusUpToDate', 168 id: 'settings.app.updateStatusUpToDate',
169 defaultMessage: 'You are using the latest version of Ferdi', 169 defaultMessage: 'You are using the latest version of Ferdium',
170 }, 170 },
171 currentVersion: { 171 currentVersion: {
172 id: 'settings.app.currentVersion', 172 id: 'settings.app.currentVersion',
@@ -275,7 +275,7 @@ class EditSettingsForm extends Component {
275 } 275 }
276 276
277 const { lockingFeatureEnabled, scheduledDNDEnabled } = 277 const { lockingFeatureEnabled, scheduledDNDEnabled } =
278 window['ferdi'].stores.settings.all.app; 278 window['ferdium'].stores.settings.all.app;
279 279
280 let cacheSize; 280 let cacheSize;
281 let notCleared; 281 let notCleared;
@@ -655,7 +655,7 @@ class EditSettingsForm extends Component {
655 > 655 >
656 <span> 656 <span>
657 {intl.formatMessage(messages.lockInfo, { 657 {intl.formatMessage(messages.lockInfo, {
658 lockShortcut: `${lockFerdiShortcutKey(false)}`, 658 lockShortcut: `${lockFerdiumShortcutKey(false)}`,
659 })} 659 })}
660 </span> 660 </span>
661 </p> 661 </p>
@@ -749,14 +749,14 @@ class EditSettingsForm extends Component {
749 749
750 <div className="settings__settings-group"> 750 <div className="settings__settings-group">
751 <h3> 751 <h3>
752 {intl.formatMessage(messages.subheadlineFerdiProfile)} 752 {intl.formatMessage(messages.subheadlineFerdiumProfile)}
753 </h3> 753 </h3>
754 <p> 754 <p>
755 <div className="settings__open-settings-file-container"> 755 <div className="settings__open-settings-file-container">
756 <Button 756 <Button
757 buttonType="secondary" 757 buttonType="secondary"
758 label={intl.formatMessage( 758 label={intl.formatMessage(
759 messages.buttonOpenFerdiProfileFolder, 759 messages.buttonOpenFerdiumProfileFolder,
760 )} 760 )}
761 className="settings__open-settings-file-button" 761 className="settings__open-settings-file-button"
762 onClick={() => openPath(profileFolder)} 762 onClick={() => openPath(profileFolder)}
@@ -764,7 +764,7 @@ class EditSettingsForm extends Component {
764 <Button 764 <Button
765 buttonType="secondary" 765 buttonType="secondary"
766 label={intl.formatMessage( 766 label={intl.formatMessage(
767 messages.buttonOpenFerdiServiceRecipesFolder, 767 messages.buttonOpenFerdiumServiceRecipesFolder,
768 )} 768 )}
769 className="settings__open-settings-file-button" 769 className="settings__open-settings-file-button"
770 onClick={() => openPath(recipeFolder)} 770 onClick={() => openPath(recipeFolder)}
@@ -807,7 +807,7 @@ class EditSettingsForm extends Component {
807 <br /> 807 <br />
808 </div> 808 </div>
809 <p> 809 <p>
810 {intl.formatMessage(messages.currentVersion)} {ferdiVersion} 810 {intl.formatMessage(messages.currentVersion)} {ferdiumVersion}
811 </p> 811 </p>
812 {noUpdateAvailable && ( 812 {noUpdateAvailable && (
813 <p> 813 <p>
@@ -842,7 +842,7 @@ class EditSettingsForm extends Component {
842 )} 842 )}
843 <p className="settings__message"> 843 <p className="settings__message">
844 <Icon icon={mdiGithub} /> 844 <Icon icon={mdiGithub} />
845 Ferdi is based on{' '} 845 Ferdium is based on{' '}
846 <a 846 <a
847 href={`${GITHUB_FRANZ_URL}/franz`} 847 href={`${GITHUB_FRANZ_URL}/franz`}
848 target="_blank" 848 target="_blank"