From d6e0389810d3fbdfc22acab51473534993507d85 Mon Sep 17 00:00:00 2001 From: Eana Hufwe Date: Fri, 8 Mar 2024 15:05:33 +0000 Subject: [PATCH] fix: Vue i18n template rendering extra { Co-authored-by: Eana Hufwe --- packages/client/src/components/global/i18n.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/global/i18n.ts b/packages/client/src/components/global/i18n.ts index 545df6d252..9c70d92866 100644 --- a/packages/client/src/components/global/i18n.ts +++ b/packages/client/src/components/global/i18n.ts @@ -29,7 +29,7 @@ export default defineComponent({ break; } if (nextBracketOpen > 0) - parsed.push(str.substring(0, nextBracketOpen + 1)); + parsed.push(str.substring(0, nextBracketOpen)); parsed.push({ arg: str.substring(nextBracketOpen + 1, nextBracketClose), });