aboutsummaryrefslogtreecommitdiff
path: root/src/tools/json-to-csv/index.ts
diff options
context:
space:
mode:
authorGravatar Corentin THOMASSET <corentin.thomasset74@gmail.com> 2024-02-01 14:05:54 +0100
committerGravatar GitHub <noreply@github.com> 2024-02-01 14:05:54 +0100
commit95698cb9380d541b86144df4ee5fae310c234f20 (patch)
tree77cc753cfde545760f900770fdc51454ff89d90d /src/tools/json-to-csv/index.ts
parent85b50bb8f0effc7de7f3050ee51b6e1d3b5acbf5 (diff)
downloadit-tools-95698cb9380d541b86144df4ee5fae310c234f20.tar.gz
it-tools-95698cb9380d541b86144df4ee5fae310c234f20.tar.zst
it-tools-95698cb9380d541b86144df4ee5fae310c234f20.zip
refactor(i18n): added locales per tool (#861)
Diffstat (limited to 'src/tools/json-to-csv/index.ts')
-rw-r--r--src/tools/json-to-csv/index.ts5
1 files changed, 3 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,