migrated new vue component system to vue native translations

This commit is contained in:
vabene1111
2021-04-11 18:08:29 +02:00
parent ffb5291f4b
commit fb0f424d82
16 changed files with 86 additions and 77 deletions

View File

@@ -1,21 +1,18 @@
<template>
<div style="text-align: center">
<b-img :src="pdfUrl" :alt="_('External Recipe Image')"></b-img>
<b-img :src="pdfUrl" :alt="$t('External_Recipe_Image')"></b-img>
</div>
</template>
<script>
import {GettextMixin, resolveDjangoUrl} from "@/utils/utils";
import {resolveDjangoUrl} from "@/utils/utils";
export default {
name: 'ImageViewer',
mixins: [
GettextMixin,
],
props: {
recipe: Object,
},