diff --git a/components/Header.vue b/components/Header.vue index f5b50859..5e0d83d6 100644 --- a/components/Header.vue +++ b/components/Header.vue @@ -114,11 +114,23 @@ } if (this.config.nouns.enabled) { + const extras = []; + for (let subroute of this.config.nouns.subroutes || []) { + extras.push(`/${this.config.nouns.route}/${subroute}`); + } + if (this.config.nouns.inclusive.enabled) { + extras.push(`/${this.config.nouns.route}/${this.config.nouns.inclusive.route}`); + } + if (this.config.nouns.terms.enabled) { + extras.push(`/${this.config.nouns.route}/${this.config.nouns.terms.route}`); + } + links.push({ link: '/' + this.config.nouns.route, icon: 'book', text: this.$t('nouns.header'), textLong: this.$t('nouns.headerLong'), + extra: extras, }); } diff --git a/locale/pl/config.suml b/locale/pl/config.suml index 72380701..1aa8942f 100644 --- a/locale/pl/config.suml +++ b/locale/pl/config.suml @@ -68,17 +68,20 @@ sources: nouns: enabled: true route: 'słowniki' - collapsable: true + collapsable: false plurals: true pluralsRequired: true declension: true submit: true templates: true - hashNamespace: 'neutratywy' + subroutes: + - 'neutratywy' + - 'dukatywy' + - 'osobatywy' inclusive: enabled: false categories: ['interpłciowość', 'lgbtq+', 'niepełnosprawność', 'rasa', 'trans'] - hashNamespace: 'inkluzywny' + route: 'inkluzywny' terms: enabled: false categories: @@ -88,7 +91,7 @@ nouns: - 'płeć' - 'ekspresja płciowa' - 'model relacji' - hashNamespace: 'terminologia' + route: 'terminologia' names: enabled: false diff --git a/locale/pl/nouns/NounsExtra.vue b/locale/pl/nouns/NounsExtra.vue index bbf8fc42..6beff519 100644 --- a/locale/pl/nouns/NounsExtra.vue +++ b/locale/pl/nouns/NounsExtra.vue @@ -1,498 +1,2 @@ - - - - diff --git a/locale/pl/nouns/NounsNav.vue b/locale/pl/nouns/NounsNav.vue index fba94410..d88d34f5 100644 --- a/locale/pl/nouns/NounsNav.vue +++ b/locale/pl/nouns/NounsNav.vue @@ -1,13 +1,13 @@