Merge branch 'fixI18nTemplate' into 'develop'

fix: Vue i18n template rendering extra {

Co-authored-by: Eana Hufwe <eana@1a23.com>

See merge request firefish/firefish!10697
This commit is contained in:
naskya 2024-03-08 15:05:33 +00:00
commit cfaae95aae

View file

@ -29,7 +29,7 @@ export default defineComponent({
break; break;
} }
if (nextBracketOpen > 0) if (nextBracketOpen > 0)
parsed.push(str.substring(0, nextBracketOpen + 1)); parsed.push(str.substring(0, nextBracketOpen));
parsed.push({ parsed.push({
arg: str.substring(nextBracketOpen + 1, nextBracketClose), arg: str.substring(nextBracketOpen + 1, nextBracketClose),
}); });