Translate assets

This commit is contained in:
Florian Dupret 2021-04-30 08:45:45 +02:00
commit c0bd812545
3 changed files with 4 additions and 3 deletions

View file

@ -38,7 +38,7 @@
<v-spacer></v-spacer> <v-spacer></v-spacer>
<base-dialog <base-dialog
@submit="addAsset" @submit="addAsset"
title="New Asset" :title="$t('recipe.new-asset')"
:title-icon="newAsset.icon" :title-icon="newAsset.icon"
> >
<template v-slot:open="{ open }"> <template v-slot:open="{ open }">

View file

@ -23,11 +23,11 @@
<v-card-actions> <v-card-actions>
<slot name="card-actions"> <slot name="card-actions">
<v-btn text color="grey" @click="dialog = false"> <v-btn text color="grey" @click="dialog = false">
Cancel {{$t('general.cancel')}}
</v-btn> </v-btn>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn color="success" @click="submitEvent"> <v-btn color="success" @click="submitEvent">
Submit {{$t('general.submit')}}
</v-btn> </v-btn>
</slot> </slot>
</v-card-actions> </v-card-actions>

View file

@ -181,6 +181,7 @@
"instructions": "Instructions", "instructions": "Instructions",
"key-name-required": "Key Name Required", "key-name-required": "Key Name Required",
"milligrams": "milligrams", "milligrams": "milligrams",
"new-asset": "New Asset",
"new-key-name": "New Key Name", "new-key-name": "New Key Name",
"no-white-space-allowed": "No White Space Allowed", "no-white-space-allowed": "No White Space Allowed",
"note": "Note", "note": "Note",