mirror of
https://github.com/sharevb/it-tools.git
synced 2026-12-04 10:24:46 +03:00
Feat/translate all content (#121)
* feat: add script to extract strings * feat: extract many strings (html, attr, label) * feat(extract string): extract html only for .vue and single file mode * fix: __i18n_ally_root__ * feat: nestify en.yml + extract tab attributes * feat: add script to extract strings * feat: extract many strings (html, attr, label) * feat(extract string): extract html only for .vue and single file mode * fix: __i18n_ally_root__ * feat: nestify en.yml + extract tab attributes * fix: lint * feat: add vue-i18n-extract to check missing keys * fix: unit tests * fix: update vue i18n plugin
This commit is contained in:
1 parent
0d4267e356
commit
a8c6ebc81b
347 files changed
+10245
-4533
No files matched your search
@@ -1,6 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import _ from 'lodash';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
const sqlQuery = ref(`select field1,field2,field3
|
||||
from my_table
|
||||
where my_condition = 'A Z E';`);
|
||||
@@ -22,10 +25,10 @@ const minifiedQuery = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<c-card title="SQL Minifier">
|
||||
<c-input-text v-model:value="sqlQuery" label="SQL Query:" multiline mb-1 rows="10" placeholder="Enter SQL query..." />
|
||||
<c-card :title="t('tools.sql-minifier.texts.title-sql-minifier')">
|
||||
<c-input-text v-model:value="sqlQuery" :label="t('tools.sql-minifier.texts.label-sql-query')" multiline mb-1 rows="10" :placeholder="t('tools.sql-minifier.texts.placeholder-enter-sql-query')" />
|
||||
|
||||
<c-card title="Minified SQL Query">
|
||||
<c-card :title="t('tools.sql-minifier.texts.title-minified-sql-query')">
|
||||
<textarea-copyable :value="minifiedQuery" language="sql" />
|
||||
</c-card>
|
||||
</c-card>
|
||||
|
||||
Reference in new issue
Block a user