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/sql-prettify | |
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/sql-prettify')
-rw-r--r-- | src/tools/sql-prettify/index.ts | 5 | ||||
-rw-r--r-- | src/tools/sql-prettify/locales/en.yml | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/tools/sql-prettify/index.ts b/src/tools/sql-prettify/index.ts index 426845f..96bff0f 100644 --- a/src/tools/sql-prettify/index.ts +++ b/src/tools/sql-prettify/index.ts @@ -1,10 +1,11 @@ import { Database } from '@vicons/tabler'; import { defineTool } from '../tool'; +import { translate } from '@/plugins/i18n.plugin'; export const tool = defineTool({ - name: 'SQL prettify and format', + name: translate('tools.sql-prettify.title'), path: '/sql-prettify', - description: 'Format and prettify your SQL queries online (it supports various SQL dialects).', + description: translate('tools.sql-prettify.description'), keywords: [ 'sql', 'prettify', diff --git a/src/tools/sql-prettify/locales/en.yml b/src/tools/sql-prettify/locales/en.yml new file mode 100644 index 0000000..7084740 --- /dev/null +++ b/src/tools/sql-prettify/locales/en.yml @@ -0,0 +1,4 @@ +tools: + sql-prettify: + title: SQL prettify and format + description: Format and prettify your SQL queries online (it supports various SQL dialects). |