diff options
Diffstat (limited to 'src/tools/text-to-binary')
-rw-r--r-- | src/tools/text-to-binary/index.ts | 5 | ||||
-rw-r--r-- | src/tools/text-to-binary/locales/en.yml | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/tools/text-to-binary/index.ts b/src/tools/text-to-binary/index.ts index 40ac93d..ce0f87e 100644 --- a/src/tools/text-to-binary/index.ts +++ b/src/tools/text-to-binary/index.ts @@ -1,10 +1,11 @@ import { Binary } from '@vicons/tabler'; import { defineTool } from '../tool'; +import { translate } from '@/plugins/i18n.plugin'; export const tool = defineTool({ - name: 'Text to ASCII binary', + name: translate('tools.text-to-binary.title'), path: '/text-to-binary', - description: 'Convert text to its ASCII binary representation and vice versa.', + description: translate('tools.text-to-binary.description'), keywords: ['text', 'to', 'binary', 'converter', 'encode', 'decode', 'ascii'], component: () => import('./text-to-binary.vue'), icon: Binary, diff --git a/src/tools/text-to-binary/locales/en.yml b/src/tools/text-to-binary/locales/en.yml new file mode 100644 index 0000000..7650b94 --- /dev/null +++ b/src/tools/text-to-binary/locales/en.yml @@ -0,0 +1,4 @@ +tools: + text-to-binary: + title: Text to ASCII binary + description: Convert text to its ASCII binary representation and vice versa. |