From 13a703352b335cea5b0c8a81de15df172cdd7d8b Mon Sep 17 00:00:00 2001 From: ngn Date: Thu, 24 Jul 2025 18:30:42 +0300 Subject: [PATCH] fix link parsing for the locales Signed-off-by: ngn --- app/src/lib/locale.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/lib/locale.js b/app/src/lib/locale.js index 0af6f4b..48731dc 100644 --- a/app/src/lib/locale.js +++ b/app/src/lib/locale.js @@ -65,7 +65,7 @@ class Locale { for (let i = 0; i < links.length; i++) { let link = links[i][0]; let name = link.match(/(?<=\[).*?(?=])/g); - let url = link.match(/(?<=\()[^ ]*(?=\))/g); + let url = link.match(/(?<=\]\()[^ ]*(?=\))/g); // if we fail to extract the link name and/or URL, skip this match if (null === name || null === url) continue;