fix(typos): fixed more typos & uppercase JSON (#475)

* fix(About): typo

* uppercase json & typos
This commit is contained in:
Marvin 2023-06-23 15:23:47 +02:00 committed by GitHub
parent 7068610438
commit 9526ed8324
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 13 deletions

View file

@ -55,7 +55,7 @@ const { tracker } = useTracker();
in the GitHub repository. in the GitHub repository.
</n-p> </n-p>
<n-p> <n-p>
And if you found a bug, or something doesn't work as expected, please fill a bug report in the And if you found a bug, or something doesn't work as expected, please file a bug report in the
<c-link <c-link
href="https://github.com/CorentinTh/it-tools/issues/new/choose" href="https://github.com/CorentinTh/it-tools/issues/new/choose"
rel="noopener" rel="noopener"

View file

@ -23,8 +23,8 @@ const jsonValidationRules = [
<c-input-text <c-input-text
v-model:value="rawLeftJson" v-model:value="rawLeftJson"
:validation-rules="jsonValidationRules" :validation-rules="jsonValidationRules"
label="Your first json" label="Your first JSON"
placeholder="Paste your first json here..." placeholder="Paste your first JSON here..."
rows="20" rows="20"
multiline multiline
test-id="leftJson" test-id="leftJson"
@ -34,8 +34,8 @@ const jsonValidationRules = [
<c-input-text <c-input-text
v-model:value="rawRightJson" v-model:value="rawRightJson"
:validation-rules="jsonValidationRules" :validation-rules="jsonValidationRules"
label="Your json to compare" label="Your JSON to compare"
placeholder="Paste your json to compare here..." placeholder="Paste your JSON to compare here..."
rows="20" rows="20"
multiline multiline
test-id="rightJson" test-id="rightJson"

View file

@ -16,10 +16,10 @@ const rules: UseValidationRule<string>[] = [
<template> <template>
<format-transformer <format-transformer
input-label="Your raw json" input-label="Your raw JSON"
:input-default="defaultValue" :input-default="defaultValue"
input-placeholder="Paste your raw json here..." input-placeholder="Paste your raw JSON here..."
output-label="Minify version of your JSON" output-label="Minified version of your JSON"
output-language="json" output-language="json"
:input-validation-rules="rules" :input-validation-rules="rules"
:transformer="transformer" :transformer="transformer"

View file

@ -23,8 +23,8 @@ const rules: UseValidationRule<string>[] = [
<template> <template>
<format-transformer <format-transformer
input-label="Your raw json" input-label="Your raw JSON"
input-placeholder="Paste your raw json here..." input-placeholder="Paste your raw JSON here..."
output-label="CSV version of your JSON" output-label="CSV version of your JSON"
:input-validation-rules="rules" :input-validation-rules="rules"
:transformer="transformer" :transformer="transformer"

View file

@ -37,14 +37,14 @@ const rawJsonValidation = useValidation({
</div> </div>
<n-form-item <n-form-item
label="Your raw json" label="Your raw JSON"
:feedback="rawJsonValidation.message" :feedback="rawJsonValidation.message"
:validation-status="rawJsonValidation.status" :validation-status="rawJsonValidation.status"
> >
<n-input <n-input
ref="inputElement" ref="inputElement"
v-model:value="rawJson" v-model:value="rawJson"
placeholder="Paste your raw json here..." placeholder="Paste your raw JSON here..."
type="textarea" type="textarea"
rows="20" rows="20"
autocomplete="off" autocomplete="off"
@ -53,7 +53,7 @@ const rawJsonValidation = useValidation({
spellcheck="false" spellcheck="false"
/> />
</n-form-item> </n-form-item>
<n-form-item label="Prettify version of your json"> <n-form-item label="Prettified version of your JSON">
<TextareaCopyable :value="cleanJson" language="json" :follow-height-of="inputElement" /> <TextareaCopyable :value="cleanJson" language="json" :follow-height-of="inputElement" />
</n-form-item> </n-form-item>
</template> </template>