1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

Localization support

This commit is contained in:
2020-05-25 15:37:59 +02:00
parent 755c34f782
commit 6fd9884d0b
19 changed files with 169 additions and 56 deletions

View File

@ -29,13 +29,13 @@
class="btn btn-primary mr-2"
@click="confirmModal"
>
{{ confirmText }}
{{ $t('word.confirm') }}
</button>
<button
class="btn btn-link"
@click="hideModal"
>
Cancel
{{ $t('word.cancel') }}
</button>
</div>
</div>
@ -45,12 +45,6 @@
<script>
export default {
name: 'BaseConfirmModal',
props: {
confirmText: {
type: String,
default: 'Confirm'
}
},
computed: {
hasHeader () {
return !!this.$slots.header;