Merge pull request #24 from AlfHou/fix/translation-fixes
Fix 'engine size' field's label
This commit is contained in:
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# Don't track .vscode directory
|
||||||
|
.vscode
|
||||||
|
!.vscode/launch.json
|
||||||
|
|
||||||
3
server/.gitignore
vendored
3
server/.gitignore
vendored
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
# MS VSCode
|
# MS VSCode
|
||||||
.vscode
|
.vscode
|
||||||
|
!.vscode/launch.json
|
||||||
__debug_bin
|
__debug_bin
|
||||||
|
|
||||||
# Dependency directories (remove the comment below to include it)
|
# Dependency directories (remove the comment below to include it)
|
||||||
@@ -22,4 +23,4 @@ assets/*
|
|||||||
keys/*
|
keys/*
|
||||||
backups/*
|
backups/*
|
||||||
nodemon.json
|
nodemon.json
|
||||||
dist/*
|
dist/*
|
||||||
|
|||||||
5
ui/.gitignore
vendored
5
ui/.gitignore
vendored
@@ -29,3 +29,8 @@ yarn-error.log*
|
|||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sw*
|
*.sw*
|
||||||
|
|
||||||
|
#Vs code files
|
||||||
|
.vscode
|
||||||
|
!.vscode/launch.json
|
||||||
|
|
||||||
|
|||||||
93
ui/.vscode/settings.json
vendored
93
ui/.vscode/settings.json
vendored
@@ -1,93 +0,0 @@
|
|||||||
{
|
|
||||||
// ===
|
|
||||||
// Spacing
|
|
||||||
// ===
|
|
||||||
|
|
||||||
"editor.insertSpaces": true,
|
|
||||||
"editor.tabSize": 2,
|
|
||||||
"editor.trimAutoWhitespace": true,
|
|
||||||
"files.trimTrailingWhitespace": true,
|
|
||||||
"files.eol": "\n",
|
|
||||||
"files.insertFinalNewline": true,
|
|
||||||
"files.trimFinalNewlines": true,
|
|
||||||
|
|
||||||
// ===
|
|
||||||
// Files
|
|
||||||
// ===
|
|
||||||
|
|
||||||
"files.exclude": {
|
|
||||||
"**/*.log": true,
|
|
||||||
"**/*.log*": true,
|
|
||||||
"**/dist": true,
|
|
||||||
"**/coverage": true
|
|
||||||
},
|
|
||||||
"files.associations": {
|
|
||||||
".markdownlintrc": "jsonc"
|
|
||||||
},
|
|
||||||
|
|
||||||
// ===
|
|
||||||
// Event Triggers
|
|
||||||
// ===
|
|
||||||
|
|
||||||
"editor.formatOnSave": true,
|
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
||||||
"editor.codeActionsOnSave": {
|
|
||||||
"source.fixAll.eslint": true,
|
|
||||||
"source.fixAll.stylelint": true,
|
|
||||||
"source.fixAll.markdownlint": true
|
|
||||||
},
|
|
||||||
"eslint.validate": [
|
|
||||||
"javascript",
|
|
||||||
"javascriptreact",
|
|
||||||
"vue",
|
|
||||||
"vue-html",
|
|
||||||
"html"
|
|
||||||
],
|
|
||||||
"vetur.format.enable": false,
|
|
||||||
"vetur.completion.scaffoldSnippetSources": {
|
|
||||||
"user": "🗒️",
|
|
||||||
"workspace": "💼",
|
|
||||||
"vetur": ""
|
|
||||||
},
|
|
||||||
"prettier.disableLanguages": [],
|
|
||||||
|
|
||||||
// ===
|
|
||||||
// HTML
|
|
||||||
// ===
|
|
||||||
|
|
||||||
"html.format.enable": false,
|
|
||||||
"vetur.validation.template": false,
|
|
||||||
"emmet.triggerExpansionOnTab": true,
|
|
||||||
"emmet.includeLanguages": {
|
|
||||||
"vue-html": "html"
|
|
||||||
},
|
|
||||||
"vetur.completion.tagCasing": "initial",
|
|
||||||
|
|
||||||
// ===
|
|
||||||
// JS(ON)
|
|
||||||
// ===
|
|
||||||
|
|
||||||
"jest.autoEnable": false,
|
|
||||||
"jest.enableCodeLens": false,
|
|
||||||
"javascript.format.enable": false,
|
|
||||||
"json.format.enable": false,
|
|
||||||
"vetur.validation.script": false,
|
|
||||||
|
|
||||||
// ===
|
|
||||||
// CSS
|
|
||||||
// ===
|
|
||||||
|
|
||||||
"stylelint.enable": true,
|
|
||||||
"css.validate": false,
|
|
||||||
"scss.validate": false,
|
|
||||||
"vetur.validation.style": false,
|
|
||||||
|
|
||||||
// ===
|
|
||||||
// MARKDOWN
|
|
||||||
// ===
|
|
||||||
|
|
||||||
"[markdown]": {
|
|
||||||
"editor.wordWrap": "wordWrapColumn",
|
|
||||||
"editor.wordWrapColumn": 80
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -140,7 +140,7 @@ export default {
|
|||||||
<b-field :label="this.$t('registration') + `*`">
|
<b-field :label="this.$t('registration') + `*`">
|
||||||
<b-input v-model="vehicleModel.registration" type="text" expanded required></b-input>
|
<b-input v-model="vehicleModel.registration" type="text" expanded required></b-input>
|
||||||
</b-field>
|
</b-field>
|
||||||
<b-field label="VIN">
|
<b-field label="VIN">
|
||||||
<b-input v-model="vehicleModel.vin" type="text" expanded></b-input>
|
<b-input v-model="vehicleModel.vin" type="text" expanded></b-input>
|
||||||
</b-field>
|
</b-field>
|
||||||
<b-field :label="this.$t('fueltype') + `*`">
|
<b-field :label="this.$t('fueltype') + `*`">
|
||||||
@@ -168,13 +168,21 @@ export default {
|
|||||||
<b-field :label="this.$t('yearmanufacture') + `*`">
|
<b-field :label="this.$t('yearmanufacture') + `*`">
|
||||||
<b-input v-model.number="vehicleModel.yearOfManufacture" type="number" expanded number></b-input>
|
<b-input v-model.number="vehicleModel.yearOfManufacture" type="number" expanded number></b-input>
|
||||||
</b-field>
|
</b-field>
|
||||||
<b-field :label="this.$t('yearmanufacture')">
|
<b-field :label="this.$t('enginesize')">
|
||||||
<b-input v-model.number="vehicleModel.engineSize" type="number" expanded number></b-input>
|
<b-input v-model.number="vehicleModel.engineSize" type="number" expanded number></b-input>
|
||||||
</b-field>
|
</b-field>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<b-field>
|
<b-field>
|
||||||
<b-button tag="input" native-type="submit" :disabled="tryingToCreate" type="is-primary" :value="this.$t('save')" :label="this.$t('createvehicle')" expanded>
|
<b-button
|
||||||
|
tag="input"
|
||||||
|
native-type="submit"
|
||||||
|
:disabled="tryingToCreate"
|
||||||
|
type="is-primary"
|
||||||
|
:value="this.$t('save')"
|
||||||
|
:label="this.$t('createvehicle')"
|
||||||
|
expanded
|
||||||
|
>
|
||||||
<BaseIcon v-if="tryingToCreate" name="sync" spin />
|
<BaseIcon v-if="tryingToCreate" name="sync" spin />
|
||||||
</b-button>
|
</b-button>
|
||||||
<p v-if="authError">
|
<p v-if="authError">
|
||||||
|
|||||||
Reference in New Issue
Block a user