blob: 9af8fb55358e7ba196fcd55d7907a9a4bd5f0a26 [file] [log] [blame]
Yoshie Muranaka33d755f2021-02-18 15:24:14 -08001<template>
2 <b-modal
3 id="modal-switch-to-running"
4 :ok-title="$t('pageFirmware.modal.switchImages')"
5 :cancel-title="$t('global.action.cancel')"
6 :title="$t('pageFirmware.modal.switchRunningImage')"
7 @ok="$emit('ok')"
8 >
9 <p>
10 {{ $t('pageFirmware.modal.switchRunningImageInfo') }}
11 </p>
12 <p class="m-0">
13 {{
14 $t('pageFirmware.modal.switchRunningImageInfo2', {
15 backup,
16 })
17 }}
18 </p>
19 </b-modal>
20</template>
21
22<script>
Surya Vde23ea22024-07-11 15:19:46 +053023import { useI18n } from 'vue-i18n';
Yoshie Muranaka33d755f2021-02-18 15:24:14 -080024export default {
25 props: {
26 backup: {
27 type: String,
28 required: true,
29 },
30 },
Surya Vde23ea22024-07-11 15:19:46 +053031 data() {
32 return {
33 $t: useI18n().t,
34 };
35 },
Yoshie Muranaka33d755f2021-02-18 15:24:14 -080036};
37</script>