diff options
Diffstat (limited to 'src/tools/url-parser')
-rw-r--r-- | src/tools/url-parser/index.ts | 6 | ||||
-rw-r--r-- | src/tools/url-parser/locales/en.yml | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/tools/url-parser/index.ts b/src/tools/url-parser/index.ts index d1c8dfe..77976a2 100644 --- a/src/tools/url-parser/index.ts +++ b/src/tools/url-parser/index.ts @@ -1,11 +1,11 @@ import { Unlink } from '@vicons/tabler'; import { defineTool } from '../tool'; +import { translate } from '@/plugins/i18n.plugin'; export const tool = defineTool({ - name: 'Url parser', + name: translate('tools.url-parser.title'), path: '/url-parser', - description: - 'Parse an url string to get all the different parts (protocol, origin, params, port, username-password, ...)', + description: translate('tools.url-parser.description'), keywords: ['url', 'parser', 'protocol', 'origin', 'params', 'port', 'username', 'password', 'href'], component: () => import('./url-parser.vue'), icon: Unlink, diff --git a/src/tools/url-parser/locales/en.yml b/src/tools/url-parser/locales/en.yml new file mode 100644 index 0000000..1ebc0e9 --- /dev/null +++ b/src/tools/url-parser/locales/en.yml @@ -0,0 +1,4 @@ +tools: + url-parser: + title: Url parser + description: Parse an url string to get all the different parts (protocol, origin, params, port, username-password, ...) |