feat: replace hard-coded content with i18n translation keys
This commit is contained in:
parent
7fe9cdeef3
commit
eefc4cc8d4
9 changed files with 80 additions and 272 deletions
|
@ -16,14 +16,14 @@ defineProps<Props>();
|
|||
v-for="(heading, idx) in headings"
|
||||
:key="idx"
|
||||
>
|
||||
{{ heading }}
|
||||
{{ $t(heading) }}
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="data-table__body">
|
||||
<tr class="data-table__row" v-for="(row, idx) in data" :key="idx">
|
||||
<td class="data-table__cell" v-for="(cell, idx) in row" :key="idx">
|
||||
{{ cell }}
|
||||
{{ $t(cell) }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue