Add en/fr content

This commit is contained in:
PascalMarchesseault
2024-08-22 22:53:09 -04:00
parent 0712693ed6
commit d3f253f9ed
7 changed files with 58 additions and 22 deletions

View File

@@ -35,13 +35,13 @@
</template>
<v-list>
<v-list-item @click="editMessage(message)">
<v-list-item-title>Edit</v-list-item-title>
<v-list-item-title>{{ $t('message.edit') }}</v-list-item-title>
</v-list-item>
<v-list-item @click="deleteMessage(message)">
<v-list-item-title>Delete</v-list-item-title>
<v-list-item-title>{{ $t('message.delete') }}</v-list-item-title>
</v-list-item>
<v-list-item @click="reportMessage(message)">
<v-list-item-title>Report</v-list-item-title>
<v-list-item-title>{{ $t('message.report') }}</v-list-item-title>
</v-list-item>
</v-list>
</v-menu>

View File

@@ -8,7 +8,7 @@
v-model="value"
density="compact"
variant="underlined"
placeholder="Votre commentaire..."
:placeholder="$t('message.yourcomment')"
hide-details
auto-grow
rows="1"
@@ -72,6 +72,7 @@ const props = defineProps({
const emits = defineEmits(['message-posted'])
const loginModal = ref(false);
const client = useClient()
const value = ref("")