#209 [pl][sources] przykłady użycia w /unikanie
This commit is contained in:
parent
5398853cd6
commit
90d2b8098c
|
@ -59,6 +59,7 @@ sources:
|
|||
submit: true
|
||||
mergePronouns:
|
||||
they/them/themself: 'they'
|
||||
extraTypes: ['avoiding', 'nounself']
|
||||
|
||||
nouns:
|
||||
enabled: true
|
||||
|
|
|
@ -68,7 +68,7 @@ sources:
|
|||
ono/jenu: 'ono'
|
||||
vono/vego: 'ono'
|
||||
ono/eno: 'ono'
|
||||
extraTypes: ['dukatywy', 'osobatywy']
|
||||
extraTypes: ['dukatywy', 'osobatywy', 'unikanie']
|
||||
|
||||
nouns:
|
||||
enabled: true
|
||||
|
|
|
@ -19,13 +19,28 @@
|
|||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section v-if="sources && Object.keys(sources).length">
|
||||
<Literature :sources="sources"/>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {SourceLibrary} from "../src/classes";
|
||||
import { head } from "../src/helpers";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
sources: undefined,
|
||||
}
|
||||
},
|
||||
async mounted() {
|
||||
this.sources = {
|
||||
'': new SourceLibrary(await this.$axios.$get(`/sources?pronoun=${this.config.pronouns.avoiding}`)).getForPronoun(this.config.pronouns.avoiding),
|
||||
};
|
||||
},
|
||||
head() {
|
||||
return head({
|
||||
title: this.$t('pronouns.avoiding.header'),
|
||||
|
|
Reference in New Issue