2021-01-17 11:43:21 -08:00
|
|
|
<template>
|
|
|
|
<div>
|
2021-01-17 12:44:22 -08:00
|
|
|
<NounsNav/>
|
|
|
|
|
2021-01-17 13:05:06 -08:00
|
|
|
<h2>
|
2021-01-17 11:43:21 -08:00
|
|
|
<Icon v="user-friends"/>
|
|
|
|
<T>nouns.personNouns.header</T>
|
|
|
|
<small><NormativeBadge/></small>
|
2021-01-17 13:05:06 -08:00
|
|
|
</h2>
|
2021-01-17 11:43:21 -08:00
|
|
|
|
2021-09-05 10:44:54 -07:00
|
|
|
<div>
|
2021-01-17 11:43:21 -08:00
|
|
|
<T>nouns.personNouns.info</T>
|
|
|
|
<p><Share :title="$t('nouns.personNouns.header')"/></p>
|
2021-09-05 10:44:54 -07:00
|
|
|
</div>
|
2021-01-17 11:43:21 -08:00
|
|
|
|
|
|
|
<details open class="border mb-3">
|
|
|
|
<summary class="bg-light p-3">
|
|
|
|
<h4 class="h5 d-inline"><T>nouns.examples</T></h4>
|
|
|
|
</summary>
|
|
|
|
<div class="border-top table-responsive">
|
|
|
|
<table class="table table-striped table-hover table-fixed-3">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="text-nowrap">
|
|
|
|
<Icon v="mars"/>
|
|
|
|
<T>nouns.masculine</T>
|
|
|
|
</th>
|
|
|
|
<th class="text-nowrap">
|
|
|
|
<Icon v="venus"/>
|
|
|
|
<T>nouns.feminine</T>
|
|
|
|
</th>
|
|
|
|
<th class="text-nowrap">
|
|
|
|
<Icon v="neuter"/>
|
|
|
|
<T>nouns.personNouns.label</T>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr v-for="noun in personNouns" :key="noun.id">
|
|
|
|
<td>
|
|
|
|
<ul class="list-singular">
|
|
|
|
<li v-for="w in noun.masc">{{ w }}</li>
|
|
|
|
</ul>
|
|
|
|
<ul class="list-plural">
|
|
|
|
<li v-for="w in noun.mascPl">{{ w }}</li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<ul class="list-singular">
|
|
|
|
<li v-for="w in noun.fem">{{ w }}</li>
|
|
|
|
</ul>
|
|
|
|
<ul class="list-plural">
|
|
|
|
<li v-for="w in noun.femPl">{{ w }}</li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<ul class="list-singular">
|
|
|
|
<li v-for="w in noun.neutr">{{ w }}</li>
|
|
|
|
</ul>
|
|
|
|
<ul class="list-plural">
|
|
|
|
<li v-for="w in noun.neutrPl">{{ w }}</li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</details>
|
2021-03-24 11:29:25 -07:00
|
|
|
|
|
|
|
<section v-if="sources && Object.keys(sources).length">
|
|
|
|
<Literature :sources="sources"/>
|
|
|
|
</section>
|
2021-01-17 11:43:21 -08:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2021-03-24 11:29:25 -07:00
|
|
|
import {Noun, SourceLibrary} from "../../../src/classes";
|
2021-01-17 11:43:21 -08:00
|
|
|
import {head} from "../../../src/helpers";
|
2021-01-17 12:44:22 -08:00
|
|
|
import NounsNav from "./NounsNav";
|
2021-01-17 11:43:21 -08:00
|
|
|
|
|
|
|
export default {
|
2021-01-17 12:44:22 -08:00
|
|
|
components: { NounsNav },
|
2021-01-17 11:43:21 -08:00
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
personNouns: [
|
|
|
|
new Noun({
|
|
|
|
id: 'kandydat',
|
|
|
|
masc: 'kandydat', fem: 'kandydatka', neutr: 'osoba kandydująca',
|
|
|
|
mascPl: 'kandydaci', femPl: 'kandydatki', neutrPl: 'osoby kandydujące',
|
|
|
|
}),
|
|
|
|
new Noun({
|
|
|
|
id: 'kucharz',
|
|
|
|
masc: 'kucharz', fem: 'kucharka', neutr: 'osoba gotująca|osoba kucharska',
|
|
|
|
mascPl: 'kucharze', femPl: 'kucharki', neutrPl: 'osoby gotujące|osoby kucharskie',
|
|
|
|
}),
|
|
|
|
new Noun({
|
|
|
|
id: 'mężczyzna',
|
|
|
|
masc: 'mężczyzna', fem: 'kobieta', neutr: 'osoba|osoba niebinarna',
|
|
|
|
mascPl: 'mężczyźni', femPl: 'kobiety', neutrPl: 'osoby|osoby niebinarne',
|
|
|
|
}),
|
|
|
|
new Noun({
|
|
|
|
id: 'partner',
|
|
|
|
masc: 'partner', fem: 'partnerka', neutr: 'osoba partnerska',
|
|
|
|
mascPl: 'partnerzy', femPl: 'partnerki', neutrPl: 'osoby partnerskie',
|
|
|
|
}),
|
|
|
|
new Noun({
|
|
|
|
id: 'prezes',
|
2022-04-18 02:43:13 -07:00
|
|
|
masc: 'prezes', fem: 'prezeska', neutr: 'osoba prezesująca',
|
2021-01-17 11:43:21 -08:00
|
|
|
mascPl: 'prezesi', femPl: 'prezeski', neutrPl: 'osoby prezesujące',
|
|
|
|
}),
|
|
|
|
],
|
2021-03-24 11:29:25 -07:00
|
|
|
sources: undefined,
|
2021-01-17 11:43:21 -08:00
|
|
|
}
|
|
|
|
},
|
2021-03-24 11:29:25 -07:00
|
|
|
async mounted() {
|
|
|
|
this.sources = {
|
|
|
|
'': new SourceLibrary(await this.$axios.$get(`/sources?pronoun=osobatywy`)).getForPronoun('osobatywy'),
|
|
|
|
};
|
|
|
|
},
|
2021-01-17 11:43:21 -08:00
|
|
|
head() {
|
|
|
|
return head({
|
|
|
|
title: this.$t('nouns.personNouns.header'),
|
|
|
|
description: this.$t('nouns.personNouns.info')[0],
|
|
|
|
});
|
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|