Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 9e0ec63

Browse files
committed
Use correct variable
1 parent 0923dd3 commit 9e0ec63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/languageHandler.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export function _t(text: string, variables?: IVariables, tags?: Tags): Translate
168168
*/
169169
export function sanitizeForTranslation(text: string): string {
170170
// Add a non-breaking space so the regex doesn't trigger when translating.
171-
return text.replace(/\$\(([^)]*)\)/g, '$\xa0($1)');
171+
return text.replace(/%\(([^)]*)\)/g, '%\xa0($1)');
172172
}
173173

174174
/*

0 commit comments

Comments
 (0)