diff --git a/locales/en.yml b/locales/en.yml index e84f85fc..84f38260 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -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 :" diff --git a/src/layouts/tool.layout.vue b/src/layouts/tool.layout.vue index 42eb94c7..acff2329 100644 --- a/src/layouts/tool.layout.vue +++ b/src/layouts/tool.layout.vue @@ -69,7 +69,7 @@ const toolFooter = computed(() => { 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();