From 9e0ec63ea739facf58d6e0a48fdea8cc37db7922 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Sat, 31 Jul 2021 11:50:25 -0600 Subject: [PATCH] Use correct variable --- src/languageHandler.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/languageHandler.tsx b/src/languageHandler.tsx index 3c57c252ee..8b1d83b337 100644 --- a/src/languageHandler.tsx +++ b/src/languageHandler.tsx @@ -168,7 +168,7 @@ export function _t(text: string, variables?: IVariables, tags?: Tags): Translate */ export function sanitizeForTranslation(text: string): string { // Add a non-breaking space so the regex doesn't trigger when translating. - return text.replace(/\$\(([^)]*)\)/g, '$\xa0($1)'); + return text.replace(/%\(([^)]*)\)/g, '%\xa0($1)'); } /*