diff options
Diffstat (limited to 'src/tools/json-to-csv')
-rw-r--r-- | src/tools/json-to-csv/index.ts | 5 | ||||
-rw-r--r-- | src/tools/json-to-csv/locales/en.yml | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/tools/json-to-csv/index.ts b/src/tools/json-to-csv/index.ts index acfef02..9f38b82 100644 --- a/src/tools/json-to-csv/index.ts +++ b/src/tools/json-to-csv/index.ts @@ -1,10 +1,11 @@ import { List } from '@vicons/tabler'; import { defineTool } from '../tool'; +import { translate } from '@/plugins/i18n.plugin'; export const tool = defineTool({ - name: 'JSON to CSV', + name: translate('tools.json-to-csv.title'), path: '/json-to-csv', - description: 'Convert JSON to CSV with automatic header detection.', + description: translate('tools.json-to-csv.description'), keywords: ['json', 'to', 'csv', 'convert'], component: () => import('./json-to-csv.vue'), icon: List, diff --git a/src/tools/json-to-csv/locales/en.yml b/src/tools/json-to-csv/locales/en.yml new file mode 100644 index 0000000..60d9ccf --- /dev/null +++ b/src/tools/json-to-csv/locales/en.yml @@ -0,0 +1,4 @@ +tools: + json-to-csv: + title: JSON to CSV + description: Convert JSON to CSV with automatic header detection. |