diff options
author | 2020-04-09 14:12:16 -0400 | |
---|---|---|
committer | 2020-04-09 19:12:16 +0100 | |
commit | c6b8b887a433862dfe6741268fc454f293f75930 (patch) | |
tree | deb53c6ca768106c77155ad9282b13fb62473c8b /src/scripts/add-crowdin-contributors.js | |
parent | Refactor updates settings (#506) (diff) | |
download | ferdium-app-c6b8b887a433862dfe6741268fc454f293f75930.tar.gz ferdium-app-c6b8b887a433862dfe6741268fc454f293f75930.tar.zst ferdium-app-c6b8b887a433862dfe6741268fc454f293f75930.zip |
Minor spelling fixes in README (#552)
Diffstat (limited to 'src/scripts/add-crowdin-contributors.js')
-rw-r--r-- | src/scripts/add-crowdin-contributors.js | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |