aboutsummaryrefslogtreecommitdiff
path: root/src/tools/json-diff
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/json-diff')
-rw-r--r--src/tools/json-diff/index.ts5
-rw-r--r--src/tools/json-diff/locales/en.yml4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/tools/json-diff/index.ts b/src/tools/json-diff/index.ts
index 7c4c1ee..a4c0319 100644
--- a/src/tools/json-diff/index.ts
+++ b/src/tools/json-diff/index.ts
@@ -1,10 +1,11 @@
import { CompareArrowsRound } from '@vicons/material';
import { defineTool } from '../tool';
+import { translate } from '@/plugins/i18n.plugin';
export const tool = defineTool({
- name: 'JSON diff',
+ name: translate('tools.json-diff.title'),
path: '/json-diff',
- description: 'Compare two JSON objects and get the differences between them.',
+ description: translate('tools.json-diff.description'),
keywords: ['json', 'diff', 'compare', 'difference', 'object', 'data'],
component: () => import('./json-diff.vue'),
icon: CompareArrowsRound,
diff --git a/src/tools/json-diff/locales/en.yml b/src/tools/json-diff/locales/en.yml
new file mode 100644
index 0000000..6962461
--- /dev/null
+++ b/src/tools/json-diff/locales/en.yml
@@ -0,0 +1,4 @@
+tools:
+ json-diff:
+ title: JSON diff
+ description: Compare two JSON objects and get the differences between them.