fix: footer made with typo

This commit is contained in:
ShareVB committed 2026-01-18 20:33:17 +01:00
1 parent b30a06428c
commit 74edd94226
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -5707,7 +5707,7 @@ tools:
tool:
layout:
text:
made-with-npmpackages-join-n: Made with {0}\n
made-with-npmpackages: Made with {0}
json-viewer:
texts:
label-sort-keys: "Sort keys :"
+1 -1
View File
@@ -69,7 +69,7 @@ const toolFooter = computed<string>(() => {
packageName,
packageName.includes('://') ? packageName : `https://www.npmjs.com/package/${packageName}`),
);
return ((npmPackages.length > 0 ? t('tools.tool.layout.text.made-with-npmpackages-join-n', [npmPackages.join(', ')]) : '') + footer).trim();
return ((npmPackages.length > 0 ? `${t('tools.tool.layout.text.made-with-npmpackages', [npmPackages.join(', ')])}\n` : '') + footer).trim();
});
const themeVars = useThemeVars();