fix missing translation

This commit is contained in:
Adrian Zürcher
2025-11-11 08:12:44 +01:00
parent 8d243302f0
commit 0793bb5e31
4 changed files with 13 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
<template>
<DialogFrame ref="dialog" :header-title="$t('attendees')" :width="600">
<DialogFrame ref="dialog" :header-title="$t('attendees')" :width="600" :height="600">
<div class="q-pa-md">
<q-table
flat
@@ -93,8 +93,13 @@
</template>
</q-table>
</div>
<DialogFrame ref="memberTableDialog" :header-title="$t('members')" :width="700">
<MembersTable add-attendees v-on:update-event="updateTable" :event-id="localEvent?.id ?? 0" />
<DialogFrame ref="memberTableDialog" :header-title="$t('members')" :width="700" :height="500">
<MembersTable
add-attendees
:compare-members="attendees"
v-on:update-event="updateTable"
:event-id="localEvent?.id ?? 0"
/>
</DialogFrame>
<OkDialog
@@ -164,7 +169,7 @@ function openRemoveDialog(...attendees: Members) {
}
deleteText.value += "'";
} else {
deleteText.value = String(attendees.length) + ' attendees';
deleteText.value = String(attendees.length) + ' ' + i18n.global.t('attendees');
}
okDialog.value?.open(attendees);
}