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.
2021-11-29 10:25:23 -08:00
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
<ul class="list-singular">
|
|
|
|
<li v-for="w in noun[gender]">
|
2022-02-13 06:20:14 -08:00
|
|
|
<Abbreviation :v="w" v-slot="{word}">
|
|
|
|
<Declension v-if="gender === 'neutr' && config.nouns.declension" :word="word" tooltip/>
|
|
|
|
<Spelling v-else :text="word"/>
|
|
|
|
</Abbreviation>
|
2021-11-29 10:25:23 -08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<ul v-if="config.nouns.plurals" class="list-plural">
|
|
|
|
<li v-for="w in noun[gender + 'Pl']">
|
2022-02-13 06:20:14 -08:00
|
|
|
<Abbreviation :v="w" v-slot="{word}">
|
|
|
|
<Declension v-if="gender === 'neutr' && config.nouns.declension" :word="word" plural :singularOptions="noun.neutr" tooltip/>
|
|
|
|
<Spelling v-else :text="word"/>
|
|
|
|
</Abbreviation>
|
2021-11-29 10:25:23 -08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
noun: {required: true},
|
|
|
|
gender: {required: true},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|