Add translation key and remove unused plugin

This commit is contained in:
Julie Lenaerts 2024-11-25 18:49:03 +01:00
parent e340be512c
commit 20d8cc2d17
2 changed files with 2 additions and 3 deletions

View File

@ -31,7 +31,6 @@ containers.forEach((container) => {
} }
}) })
.use(i18n) .use(i18n)
.use(TranslatorPlugin)
.component('app', App) .component('app', App)
.mount(container); .mount(container);

View File

@ -38,7 +38,7 @@
</span> </span>
</template> </template>
</div> </div>
<span v-if="w.isOnHoldAtCurrentStep" class="badge bg-success rounded-pill">{{ $t('on_hold') }}</span> <span v-if="w.isOnHoldAtCurrentStep" class="badge bg-success rounded-pill">{{ trans(WORKFLOW_ON_HOLD) }}</span>
</div> </div>
<div class="item-row"> <div class="item-row">
@ -68,7 +68,7 @@
<script setup> <script setup>
import Popover from 'bootstrap/js/src/popover'; import Popover from 'bootstrap/js/src/popover';
import { onMounted } from 'vue'; import { onMounted } from 'vue';
import { trans, SEE, BY_USER, WORKFLOW_AT, WORKFLOW_YOU_SUBSCRIBED_TO_ALL_STEPS, WORKFLOW_YOU_SUBSCRIBED_TO_FINAL_STEP } from '../../../../../../../../../../../assets/translator' import { trans, SEE, BY_USER, WORKFLOW_AT, WORKFLOW_YOU_SUBSCRIBED_TO_ALL_STEPS, WORKFLOW_YOU_SUBSCRIBED_TO_FINAL_STEP, WORKFLOW_ON_HOLD } from '../../../../../../../../../../../assets/translator'
// props // props
const props = defineProps({ const props = defineProps({