#102 [pl] /rzeczowniki -> /słownik

This commit is contained in:
Andrea Vos 2020-11-16 22:22:04 +01:00
parent ec1ced24aa
commit 7e998778c2
8 changed files with 37 additions and 27 deletions

View File

@ -43,7 +43,7 @@ sources:
nouns:
enabled: true
route: 'nouns'
route: 'dictionary'
collapsable: false
plurals: true
declension: false

View File

@ -0,0 +1,2 @@
<template>
</template>

View File

@ -91,8 +91,9 @@ sources:
moderation: 'Submissions will have to get approved before getting published.'
nouns:
header: 'Nouns'
headerLong: 'Dictionary of gender neutral language'
header: 'Dictionary'
headerLong: 'Dictionary of neutral nouns'
headerLonger: 'Dictionary of gender neutral language'
description: 'It''s not just pronouns! Check out our dictionary of gender neutral nouns.'
intro:
- >

View File

@ -23,7 +23,7 @@ sources:
nouns:
enabled: true
route: 'rzeczowniki'
route: 'słownik'
collapsable: true
plurals: true
declension: true
@ -321,7 +321,9 @@ profile:
- ['partner', 'osoba partnerska', 'chłopak', 'dziewczyna', 'mąż', 'żona', 'towarzysz', 'kochanie', 'ukochane', 'małżonie', 'druga połówka']
redirects:
- { from: '^/neutratywy', to: '/rzeczowniki' }
- { from: '^/neutratywy', to: '/słownik' }
- { from: '^/rzeczowniki', to: '/słownik' }
- { from: '^/slownik', to: '/słownik' }
- { from: '^/literatura', to: '/korpus' }
api:

View File

@ -1,20 +1,5 @@
<template>
<div>
<div class="btn-group btn-block">
<a :href="'#' + $t('nouns.neuterNouns.id')" class="btn btn-outline-primary">
<Icon v="atom-alt"/>
<T>nouns.neuterNouns.header</T>
</a>
<a :href="'#' + $t('nouns.dukajNouns.id')" class="btn btn-outline-primary">
<Icon v="atom-alt"/>
<T>nouns.dukajNouns.header</T>
</a>
<a :href="'#' + $t('nouns.personNouns.id')" class="btn btn-outline-primary">
<Icon v="atom-alt"/>
<T>nouns.personNouns.header</T>
</a>
</div>
<Separator icon="atom-alt"/>
<h3 :id="$t('nouns.neuterNouns.id')">
@ -23,6 +8,8 @@
<T>nouns.neuterNouns.info</T>
<slot></slot>
<details class="border mb-3">
<summary class="bg-light p-3">
<h4 class="h5 d-inline"><T>nouns.neuterNouns.extended.header</T></h4>
@ -76,8 +63,6 @@
</div>
</details>
<slot></slot>
<Separator icon="atom-alt"/>
<h3 :id="$t('nouns.dukajNouns.id')">

View File

@ -0,0 +1,16 @@
<template>
<section class="btn-group btn-block mb-2">
<a :href="'#' + $t('nouns.neuterNouns.id')" class="btn btn-outline-primary">
<Icon v="atom-alt"/>
<T>nouns.neuterNouns.header</T>
</a>
<a :href="'#' + $t('nouns.dukajNouns.id')" class="btn btn-outline-primary">
<Icon v="atom-alt"/>
<T>nouns.dukajNouns.header</T>
</a>
<a :href="'#' + $t('nouns.personNouns.id')" class="btn btn-outline-primary">
<Icon v="atom-alt"/>
<T>nouns.personNouns.header</T>
</a>
</section>
</template>

View File

@ -103,8 +103,9 @@ sources:
moderation: 'Propozycje będą musiały zostać zatwierdzone przed opublikowaniem.'
nouns:
header: 'Rzeczowniki'
headerLong: 'Neutralne i niebinarne rzeczowniki'
header: 'Słownik'
headerLong: 'Słownik: neutralne rzeczowniki'
headerLonger: 'Neutralne i niebinarne rzeczowniki'
description: 'Feminatywy feminatywami, ale prawdziwe wyzwanie to tworzenie neutratywów! Przedstawiamy tworzony przez społeczność słownik rzeczowników z wyszczególnieniem ich formy męskiej, żeńskiej i neutralnej.'
intro:
- >

View File

@ -2,9 +2,11 @@
<div>
<h2>
<Icon v="atom-alt"/>
<T>nouns.headerLong</T>
<T>nouns.headerLonger</T>
</h2>
<NounsNav/>
<section>
<T>nouns.intro</T>
@ -30,10 +32,11 @@
<script>
import { head } from "../src/helpers";
import NounsNav from "../data/nouns/NounsNav.vue";
import NounsExtra from "../data/nouns/NounsExtra.vue";
export default {
components: { NounsExtra },
components: { NounsNav, NounsExtra },
mounted() {
if (process.client) {
if (window.location.hash) {
@ -56,7 +59,7 @@
},
head() {
return head({
title: this.$t('nouns.headerLong'),
title: this.$t('nouns.headerLonger'),
description: this.$t('nouns.description'),
banner: this.config.locale === 'pl' ? 'bannerNouns.png' : undefined,
});