Skip to content

Commit

Permalink
💬 Added Italian support
Browse files Browse the repository at this point in the history
  • Loading branch information
jolzee committed Mar 9, 2020
1 parent a33d4f8 commit a4a07d0
Show file tree
Hide file tree
Showing 3 changed files with 646 additions and 618 deletions.
57 changes: 25 additions & 32 deletions src/components/ConfigAddEditSolution.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@
tag="button"
:aria-label="fullscreen ? 'Restore dialog size' : 'Maximize dialog'"
@click="toggleFullscreen"
>{{ fullscreen ? "mdi-window-restore" : "mdi-window-maximize" }}</v-icon
>
>{{ fullscreen ? "mdi-window-restore" : "mdi-window-maximize" }}</v-icon>
<v-icon
tag="button"
aria-label="Close dialog"
tabindex="0"
@click="closeAddNewSolutionDialog"
>mdi-close</v-icon
>
>mdi-close</v-icon>
</v-system-bar>

<v-app-bar :color="`teal darken-3 white--text`" dense>
Expand All @@ -48,8 +46,7 @@
href="https://petershaggynoble.github.io/MDI-Sandbox/"
target="_blank"
dark
>MDI Icons (mdi-icon-name)</v-btn
>
>MDI Icons (mdi-icon-name)</v-btn>
</span>
</v-app-bar>

Expand Down Expand Up @@ -168,11 +165,7 @@
></v-switch>
</v-col>
<v-col cols="12" :lg="4" :sm="6">
<v-switch
v-model="solution.float"
color="purple darken-4"
label="Float UI"
></v-switch>
<v-switch v-model="solution.float" color="purple darken-4" label="Float UI"></v-switch>
</v-col>
<v-col cols="12" :lg="4" :sm="6">
<v-switch
Expand Down Expand Up @@ -469,10 +462,10 @@
: ''
"
>
<span
>Hello and welcome! My name is Leo and I’m here to answer your
questions.</span
>
<span>
Hello and welcome! My name is Leo and I’m here to answer your
questions.
</span>
</v-card>
</v-col>
<v-spacer></v-spacer>
Expand Down Expand Up @@ -620,8 +613,7 @@
<a
target="_blank"
href="https://jolzee.gitbook.io/leopard/configuration/prompt-trigger-polling"
>Leopard Documentation</a
>
>Leopard Documentation</a>
</v-alert>
<v-text-field
v-if="solution.promptTriggers.enabled"
Expand Down Expand Up @@ -693,9 +685,11 @@
></v-text-field>
</v-col>
<v-col cols="1" class="pl-2 pt-3">
<v-icon color="red" dark @click="solution.knowledgeData.splice(index, 1)"
>mdi-minus-circle</v-icon
>
<v-icon
color="red"
dark
@click="solution.knowledgeData.splice(index, 1)"
>mdi-minus-circle</v-icon>
</v-col>
</v-row>
</v-col>
Expand Down Expand Up @@ -757,8 +751,7 @@
dark
v-on="on"
@click="solution.contextParams.splice(index, 1)"
>mdi-minus-circle</v-icon
>
>mdi-minus-circle</v-icon>
</template>
<span>Remove CTX Parameter</span>
</v-tooltip>
Expand All @@ -770,8 +763,7 @@
dark
v-on="on"
@click="addNewContextParameterValue(index)"
>mdi-plus-circle</v-icon
>
>mdi-plus-circle</v-icon>
</template>
<span>Add Parameter Value</span>
</v-tooltip>
Expand All @@ -792,8 +784,7 @@
dark
v-on="on"
@click="contextParam.values.splice(valueIndex, 1)"
>mdi-minus-circle</v-icon
>
>mdi-minus-circle</v-icon>
</template>
<span>Delete Parameter Value</span>
</v-tooltip>
Expand All @@ -809,7 +800,7 @@
"
>
{{
value.active ? "mdi-checkbox-marked" : "mdi-checkbox-blank-outline"
value.active ? "mdi-checkbox-marked" : "mdi-checkbox-blank-outline"
}}
</v-icon>
</template>
Expand Down Expand Up @@ -845,8 +836,7 @@
small
light
@click="closeAddNewSolutionDialog"
>Close</v-btn
>
>Close</v-btn>
<v-btn
class="mr-2"
:color="`teal darken-3 white--text`"
Expand All @@ -857,9 +847,11 @@
Save
<v-icon right dark>mdi-content-save</v-icon>
</v-btn>
<v-snackbar v-model="snackbar" :timeout="snackbarTimeout" class="mb-5"
>🧟‍ Please fix all form validation errors.</v-snackbar
>
<v-snackbar
v-model="snackbar"
:timeout="snackbarTimeout"
class="mb-5"
>🧟‍ Please fix all form validation errors.</v-snackbar>
</v-card-actions>
</v-card>
</v-dialog>
Expand Down Expand Up @@ -1039,6 +1031,7 @@ export default {
"fr",
"es",
"nl",
"it",
"de",
"ru",
"sv",
Expand Down
Loading

0 comments on commit a4a07d0

Please sign in to comment.