aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Stefan Koshy <skoshy@users.noreply.github.com>2020-04-09 14:12:16 -0400
committerLibravatar GitHub <noreply@github.com>2020-04-09 19:12:16 +0100
commitc6b8b887a433862dfe6741268fc454f293f75930 (patch)
treedeb53c6ca768106c77155ad9282b13fb62473c8b /src
parentRefactor updates settings (#506) (diff)
downloadferdium-app-c6b8b887a433862dfe6741268fc454f293f75930.tar.gz
ferdium-app-c6b8b887a433862dfe6741268fc454f293f75930.tar.zst
ferdium-app-c6b8b887a433862dfe6741268fc454f293f75930.zip
Minor spelling fixes in README (#552)
Diffstat (limited to 'src')
-rw-r--r--src/config.js10
-rw-r--r--src/scripts/add-crowdin-contributors.js2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/config.js b/src/config.js
index bde710d44..45b840b0a 100644
--- a/src/config.js
+++ b/src/config.js
@@ -36,13 +36,13 @@ export const GA_ID = !isDevMode ? 'UA-74126766-10' : 'UA-74126766-12';
36export const KEEP_WS_LOADED_USID = '0a0aa000-0a0a-49a0-a000-a0a0a0a0a0a0'; 36export const KEEP_WS_LOADED_USID = '0a0aa000-0a0a-49a0-a000-a0a0a0a0a0a0';
37 37
38export const HIBERNATION_STRATEGIES = { 38export const HIBERNATION_STRATEGIES = {
39 10: 'Extemely Fast Hibernation (10sec)', 39 10: 'Extremely Fast Hibernation (10sec)',
40 30: 'Very Fast Hibernation (30sec)', 40 30: 'Very Fast Hibernation (30sec)',
41 60: 'Fast Hibernation (1min)', 41 60: 'Fast Hibernation (1min)',
42 300: 'Normal Hibernation (5min)', 42 300: 'Normal Hibernation (5min)',
43 600: 'Slow Hibernation (10min)', 43 600: 'Slow Hibernation (10min)',
44 1800: 'Very Slow Hibernation (30min)', 44 1800: 'Very Slow Hibernation (30min)',
45 3600: 'Extemely Slow Hibernation (1hour)', 45 3600: 'Extremely Slow Hibernation (1hour)',
46}; 46};
47 47
48export const NAVIGATION_BAR_BEHAVIOURS = { 48export const NAVIGATION_BAR_BEHAVIOURS = {
@@ -64,13 +64,13 @@ export const TODO_APPS = {
64}; 64};
65 65
66export const SIDEBAR_WIDTH = { 66export const SIDEBAR_WIDTH = {
67 35: 'Extemely slim sidebar', 67 35: 'Extremely slim sidebar',
68 45: 'Very slim sidebar', 68 45: 'Very slim sidebar',
69 55: 'Slim sidebar', 69 55: 'Slim sidebar',
70 68: 'Normal sidebar', 70 68: 'Normal sidebar',
71 80: 'Wide sidebar', 71 80: 'Wide sidebar',
72 90: 'Very wide sidebar', 72 90: 'Very wide sidebar',
73 100: 'Extemely wide sidebar', 73 100: 'Extremely wide sidebar',
74}; 74};
75 75
76export const ICON_SIZES = { 76export const ICON_SIZES = {
@@ -179,7 +179,7 @@ if (process.env.FERDI_APPDATA_DIR != null) {
179 179
180export const SETTINGS_PATH = path.join(app.getPath('userData'), 'config'); 180export const SETTINGS_PATH = path.join(app.getPath('userData'), 'config');
181 181
182// Replacing app.asar is not beautiful but unforunately necessary 182// Replacing app.asar is not beautiful but unfortunately necessary
183export const RECIPES_PATH = asarPath(path.join(__dirname, 'recipes')); 183export const RECIPES_PATH = asarPath(path.join(__dirname, 'recipes'));
184 184
185export const ALLOWED_PROTOCOLS = [ 185export const ALLOWED_PROTOCOLS = [
diff --git a/src/scripts/add-crowdin-contributors.js b/src/scripts/add-crowdin-contributors.js
index 7ad3df0ed..efe981b6e 100644
--- a/src/scripts/add-crowdin-contributors.js
+++ b/src/scripts/add-crowdin-contributors.js
@@ -22,7 +22,7 @@ membersEl.forEach((el) => {
22 let picture = el.querySelector('img').getAttribute('src'); 22 let picture = el.querySelector('img').getAttribute('src');
23 picture = picture.replace(/\?.+/, ''); 23 picture = picture.replace(/\?.+/, '');
24 24
25 // Check if the text includes a seperate username 25 // Check if the text includes a separate username
26 if (text.includes('(')) { 26 if (text.includes('(')) {
27 const username = /(?<=\()\w*(?=\))/.exec(text)[0]; 27 const username = /(?<=\()\w*(?=\))/.exec(text)[0];
28 const name = /^.*(?= \()/.exec(text)[0]; 28 const name = /^.*(?= \()/.exec(text)[0];