feat: replace hard-coded content with i18n translation keys

This commit is contained in:
Sebin Nyshkim 2023-03-25 02:09:39 +01:00
parent 7fe9cdeef3
commit eefc4cc8d4
9 changed files with 80 additions and 272 deletions

View file

@ -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>