fixed timer localization

This commit is contained in:
vabene1111
2025-09-05 17:46:18 +02:00
parent 1c6618f452
commit c4fd2d0b4e

View File

@@ -15,6 +15,8 @@
</template>
<script setup lang="ts">
import {useI18n} from "vue-i18n";
const emit = defineEmits(['stop'])
import {computed, onMounted, ref} from "vue";
@@ -24,6 +26,8 @@ const props = defineProps({
seconds: {type: Number, required: true}
})
const {t} = useI18n()
const initialDurationSeconds = ref(props.seconds)
const durationSeconds = ref(initialDurationSeconds.value)
const timerRunning = ref(true)