mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-29 07:53:27 -04:00
#209 [pl][sources] przykłady użycia w /unikanie
This commit is contained in:
parent
c1512edee4
commit
53853be01f
@ -59,6 +59,7 @@ sources:
|
|||||||
submit: true
|
submit: true
|
||||||
mergePronouns:
|
mergePronouns:
|
||||||
they/them/themself: 'they'
|
they/them/themself: 'they'
|
||||||
|
extraTypes: ['avoiding', 'nounself']
|
||||||
|
|
||||||
nouns:
|
nouns:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -68,7 +68,7 @@ sources:
|
|||||||
ono/jenu: 'ono'
|
ono/jenu: 'ono'
|
||||||
vono/vego: 'ono'
|
vono/vego: 'ono'
|
||||||
ono/eno: 'ono'
|
ono/eno: 'ono'
|
||||||
extraTypes: ['dukatywy', 'osobatywy']
|
extraTypes: ['dukatywy', 'osobatywy', 'unikanie']
|
||||||
|
|
||||||
nouns:
|
nouns:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -19,13 +19,28 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section v-if="sources && Object.keys(sources).length">
|
||||||
|
<Literature :sources="sources"/>
|
||||||
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import {SourceLibrary} from "../src/classes";
|
||||||
import { head } from "../src/helpers";
|
import { head } from "../src/helpers";
|
||||||
|
|
||||||
export default {
|
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() {
|
head() {
|
||||||
return head({
|
return head({
|
||||||
title: this.$t('pronouns.avoiding.header'),
|
title: this.$t('pronouns.avoiding.header'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user