aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/add-crowdin-contributors.js2
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];