#70 [nouns][pl] /rzeczowniki - rename routes, set up redirects

This commit is contained in:
Andrea Vos 2020-10-12 19:17:25 +00:00
parent 099364f35b
commit d871f83544
6 changed files with 26 additions and 10 deletions

View File

@ -74,3 +74,5 @@ contact:
mail: 'zuzannagrzybowska@protonmail.com' mail: 'zuzannagrzybowska@protonmail.com'
areas: areas:
social_media: ~ social_media: ~
redirects: []

View File

@ -8,11 +8,11 @@ template:
sources: sources:
enabled: true enabled: true
route: 'literatura' route: 'korpus'
nouns: nouns:
enabled: true enabled: true
route: 'neutratywy' route: 'rzeczowniki'
names: names:
enabled: false enabled: false
@ -191,7 +191,7 @@ contact:
twitter: 'mykofanes' twitter: 'mykofanes'
mail: 'zuzannagrzybowska@protonmail.com' mail: 'zuzannagrzybowska@protonmail.com'
areas: areas:
neutratywy: '/neutratywy' neutratywy: '/rzeczowniki'
# imiona: '/imiona' # imiona: '/imiona'
social_media: ~ social_media: ~
@ -203,3 +203,7 @@ support:
iconSet: 'b' iconSet: 'b'
url: 'https://paypal.me/AndreAvris' url: 'https://paypal.me/AndreAvris'
headline: 'PayPal' headline: 'PayPal'
redirects:
- { from: '^/neutratywy', to: '/rzeczowniki' }
- { from: '^/literatura', to: '/korpus' }

View File

@ -88,8 +88,8 @@ sources:
Other: 'Inne' Other: 'Inne'
nouns: nouns:
header: 'Neutratywy' header: 'Rzeczowniki'
headerLong: 'Słownik neutratywów' headerLong: 'Słownik neutralnych rzeczowników'
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.' 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: intro:
- > - >
@ -346,7 +346,7 @@ faq:
Na przykład: owszem, można pisać „kandydaci/tki”, co jest inkluzywne dla kobiet, Na przykład: owszem, można pisać „kandydaci/tki”, co jest inkluzywne dla kobiet,
wciąż jednak pomija osoby niebinarne. wciąż jednak pomija osoby niebinarne.
Jednym z popularnieszych normatywnych pomysłów na neutralne rzeczowniki Jednym z popularnieszych normatywnych pomysłów na neutralne rzeczowniki
(alternatywa dla {/neutratywy=neutratywów}) (alternatywa dla {/rzeczowniki=neutratywów})
są konstrukcje „osoba” + imiesłów lub „osoba” + przymiotnik. są konstrukcje „osoba” + imiesłów lub „osoba” + przymiotnik.
Zamiast „kandydaci” lub „kandydatki” możemy mówić „osoby kandydujące”. Zamiast „kandydaci” lub „kandydatki” możemy mówić „osoby kandydujące”.
{http://transfuzja.org/=Fundacja Trans-Fuzja} na przykład zamiast „prezesa” lub „prezeski” ma „osobę prezesującą”. {http://transfuzja.org/=Fundacja Trans-Fuzja} na przykład zamiast „prezesa” lub „prezeski” ma „osobę prezesującą”.
@ -481,7 +481,7 @@ english:
We need to come up with a system that also includes We need to come up with a system that also includes
neutral forms for adjectives, conjugated forms of verbs and declined forms of pronouns. neutral forms for adjectives, conjugated forms of verbs and declined forms of pronouns.
(also: nouns like “painter”, “politician”, “journalist” etc. are also gendered, (also: nouns like “painter”, “politician”, “journalist” etc. are also gendered,
but that's [atom-alt] {/neutratywy=a story for another time}). but that's [atom-alt] {/rzeczowniki=a story for another time}).
- > - >
This website is an effort to put together in a structured and accessible way This website is an effort to put together in a structured and accessible way
the existing ideas for less gendered pronouns and other forms. the existing ideas for less gendered pronouns and other forms.
@ -492,7 +492,7 @@ english:
contact: contact:
header: 'Kontakt' header: 'Kontakt'
authors: '{/neutratywy#autor=Autorza} strony' authors: '{/rzeczowniki#autor=Autorza} strony'
support: support:
header: 'Wsparcie' header: 'Wsparcie'

View File

@ -1,6 +1,7 @@
import translations from './server/translations'; import translations from './server/translations';
import config from './server/config'; import config from './server/config';
const locale = config.locale;
const title = translations.title; const title = translations.title;
const description = translations.description; const description = translations.description;
const banner = process.env.BASE_URL + '/banner/zaimki.png'; const banner = process.env.BASE_URL + '/banner/zaimki.png';
@ -48,6 +49,9 @@ export default {
modules: [ modules: [
'@nuxtjs/pwa', '@nuxtjs/pwa',
'@nuxtjs/axios', '@nuxtjs/axios',
['@nuxtjs/redirect-module', {
rules: config.redirects,
}]
], ],
pwa: { pwa: {
manifest: { manifest: {
@ -56,7 +60,7 @@ export default {
description: description, description: description,
background_color: '#ffffff', background_color: '#ffffff',
theme_color: colour, theme_color: colour,
lang: 'pl', lang: locale,
} }
}, },
build: { build: {
@ -80,7 +84,7 @@ export default {
env: { env: {
baseUrl: process.env.BASE_URL, baseUrl: process.env.BASE_URL,
secret: process.env.SECRET, secret: process.env.SECRET,
lang: process.env.LANG, lang: locale,
}, },
serverMiddleware: { serverMiddleware: {
'/': bodyParser.json(), '/': bodyParser.json(),

View File

@ -12,6 +12,7 @@
"dependencies": { "dependencies": {
"@nuxtjs/axios": "^5.12.0", "@nuxtjs/axios": "^5.12.0",
"@nuxtjs/pwa": "^3.0.0-beta.20", "@nuxtjs/pwa": "^3.0.0-beta.20",
"@nuxtjs/redirect-module": "^0.3.1",
"body-parser": "^1.19.0", "body-parser": "^1.19.0",
"canvas": "^2.6.1", "canvas": "^2.6.1",
"dotenv": "^8.2.0", "dotenv": "^8.2.0",

View File

@ -1174,6 +1174,11 @@
jimp-compact "^0.8.0" jimp-compact "^0.8.0"
workbox-cdn "^4.3.1" workbox-cdn "^4.3.1"
"@nuxtjs/redirect-module@^0.3.1":
version "0.3.1"
resolved "https://registry.yarnpkg.com/@nuxtjs/redirect-module/-/redirect-module-0.3.1.tgz#90a6986882337401cb0576cdf9479d4e3b552cce"
integrity sha512-yL2unrYfUSqs+4cUtkQvEQMsuTeCOlQd+Y5sTqMZzWBadF8h01tCVDG95zmOTNIiCupb+sQho2Tixwl1f826aw==
"@nuxtjs/youch@^4.2.3": "@nuxtjs/youch@^4.2.3":
version "4.2.3" version "4.2.3"
resolved "https://registry.yarnpkg.com/@nuxtjs/youch/-/youch-4.2.3.tgz#36f8b22df5a0efaa81373109851e1d857aca6bed" resolved "https://registry.yarnpkg.com/@nuxtjs/youch/-/youch-4.2.3.tgz#36f8b22df5a0efaa81373109851e1d857aca6bed"