This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/locale/ja/pronouns/EnglishTable.vue

43 lines
1.1 KiB
Vue
Raw Normal View History

2021-11-24 13:24:53 -08:00
<template>
2021-12-29 10:26:51 -08:00
<div class="table-responsive">
<table class="table text-nowrap">
<thead>
<tr>
<th>Japanese</th>
<th v-if="t[0].formal !== undefined">Formal?</th>
<th>Romanised</th>
<th>IPA pronunciation</th>
<th>Meaning</th>
</tr>
</thead>
<tbody>
<tr v-for="{pronoun, formal, romanised, ipa, meaning} in t">
<th>
<LinkedText :text="pronoun"/>
</th>
<td v-if="formal !== undefined">
{{ formal ? 'Yes' : 'No' }}
</td>
<td>
{{ romanised }}
</td>
<td>
{{ ipa }}
</td>
<td>
{{ meaning }}
</td>
</tr>
</tbody>
</table>
</div>
2021-11-24 13:24:53 -08:00
</template>
2021-12-29 10:26:51 -08:00
<script>
export default {
props: {
t: { required: true },
},
}
</script>