aboutsummaryrefslogtreecommitdiff
path: root/src/tools/json-viewer
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/json-viewer')
-rw-r--r--src/tools/json-viewer/index.ts5
-rw-r--r--src/tools/json-viewer/locales/en.yml4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/tools/json-viewer/index.ts b/src/tools/json-viewer/index.ts
index 6b5b881..bc48824 100644
--- a/src/tools/json-viewer/index.ts
+++ b/src/tools/json-viewer/index.ts
@@ -1,10 +1,11 @@
import { Braces } from '@vicons/tabler';
import { defineTool } from '../tool';
+import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
- name: 'JSON prettify and format',
+ name: translate('tools.json-prettify.title'),
path: '/json-prettify',
- description: 'Prettify your JSON string to a human friendly readable format.',
+ description: translate('tools.json-prettify.description'),
keywords: ['json', 'viewer', 'prettify', 'format'],
component: () => import('./json-viewer.vue'),
icon: Braces,
diff --git a/src/tools/json-viewer/locales/en.yml b/src/tools/json-viewer/locales/en.yml
new file mode 100644
index 0000000..7f0a303
--- /dev/null
+++ b/src/tools/json-viewer/locales/en.yml
@@ -0,0 +1,4 @@
+tools:
+ json-prettify:
+ title: JSON prettify and format
+ description: Prettify your JSON string to a human friendly readable format.