Translate static texts
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
const { t } = useI18n();
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
title?: string;
|
||||
@@ -42,7 +43,7 @@ const isOpen = ref(false);
|
||||
</template>
|
||||
</VaImage>
|
||||
<template #footer>
|
||||
<VaButton @click="isOpen = false">Close</VaButton>
|
||||
<VaButton @click="isOpen = false">{{ t('vuestic.close') }}</VaButton>
|
||||
</template>
|
||||
</VaModal>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user