From 83143e6c13a955cf2f7daf9eda511151bdcbcc5b Mon Sep 17 00:00:00 2001 From: Akhil Date: Wed, 27 Jul 2022 14:33:36 +0530 Subject: [PATCH] Fix domain in translations too --- frontend/js/register.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/js/register.js b/frontend/js/register.js index 9e5a401..4cbdd95 100644 --- a/frontend/js/register.js +++ b/frontend/js/register.js @@ -37,6 +37,9 @@ $(document).ready(function () { $("#logo_e_link").attr("href", `https://${strings.domain}`); $("#username-domain-span").text(`@${strings.domain}`) $("#accountUseLink").attr("href", `https://${strings.domain}`) + let moreDetailMsg = $("#moreDetailMsg").text() + moreDetailMsg = moreDetailMsg.replace(/murena.io/g, strings.domain) + $("#moreDetailMsg").text(moreDetailMsg) strength = { 0: strings["pw_strength_terrible"], 1: strings["pw_strength_bad"], -- GitLab