diff options
Diffstat (limited to 'src/tools/json-to-toml')
-rw-r--r-- | src/tools/json-to-toml/index.ts | 5 | ||||
-rw-r--r-- | src/tools/json-to-toml/locales/en.yml | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/tools/json-to-toml/index.ts b/src/tools/json-to-toml/index.ts index 13e45ea..da42c18 100644 --- a/src/tools/json-to-toml/index.ts +++ b/src/tools/json-to-toml/index.ts @@ -1,10 +1,11 @@ import { Braces } from '@vicons/tabler'; import { defineTool } from '../tool'; +import { translate } from '@/plugins/i18n.plugin'; export const tool = defineTool({ - name: 'JSON to TOML', + name: translate('tools.json-to-toml.title'), path: '/json-to-toml', - description: 'Parse and convert JSON to TOML.', + description: translate('tools.json-to-toml.description'), keywords: ['json', 'parse', 'toml', 'convert', 'transform'], component: () => import('./json-to-toml.vue'), icon: Braces, diff --git a/src/tools/json-to-toml/locales/en.yml b/src/tools/json-to-toml/locales/en.yml new file mode 100644 index 0000000..d397a3c --- /dev/null +++ b/src/tools/json-to-toml/locales/en.yml @@ -0,0 +1,4 @@ +tools: + json-to-toml: + title: JSON to TOML + description: Parse and convert JSON to TOML. |