diff options
author | 2024-02-01 14:05:54 +0100 | |
---|---|---|
committer | 2024-02-01 14:05:54 +0100 | |
commit | 95698cb9380d541b86144df4ee5fae310c234f20 (patch) | |
tree | 77cc753cfde545760f900770fdc51454ff89d90d /src/tools/text-diff/index.ts | |
parent | 85b50bb8f0effc7de7f3050ee51b6e1d3b5acbf5 (diff) | |
download | it-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/text-diff/index.ts')
-rw-r--r-- | src/tools/text-diff/index.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/text-diff/index.ts b/src/tools/text-diff/index.ts index 992acba..de124ee 100644 --- a/src/tools/text-diff/index.ts +++ b/src/tools/text-diff/index.ts @@ -1,10 +1,11 @@ import { FileDiff } from '@vicons/tabler'; import { defineTool } from '../tool'; +import { translate } from '@/plugins/i18n.plugin'; export const tool = defineTool({ - name: 'Text diff', + name: translate('tools.text-diff.title'), path: '/text-diff', - description: 'Compare two texts and see the differences between them.', + description: translate('tools.text-diff.description'), keywords: ['text', 'diff', 'compare', 'string', 'text diff', 'code'], component: () => import('./text-diff.vue'), icon: FileDiff, |