From 793f569ac6e5d8caa0c9cf0dd29b70e5cb50deca Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Fri, 14 May 2021 17:05:22 +0200 Subject: [PATCH] #203 fix key locations --- locale/de/config.suml | 2 +- locale/de/translations.suml | 2 +- locale/en/config.suml | 8 +++++--- locale/en/translations.suml | 11 +++++------ locale/es/config.suml | 2 +- locale/es/translations.suml | 2 +- locale/fr/config.suml | 3 +-- locale/fr/translations.suml | 1 + locale/nl/config.suml | 2 +- locale/nl/translations.suml | 1 + locale/pt/config.suml | 2 +- locale/pt/translations.suml | 3 ++- locale/ru/config.suml | 6 +----- locale/ru/translations.suml | 1 + locale/yi/config.suml | 3 +-- locale/yi/translations.suml | 1 + locale/zh/config.suml | 2 +- locale/zh/translations.suml | 1 + nuxt.config.js | 9 +++++---- 19 files changed, 32 insertions(+), 30 deletions(-) diff --git a/locale/de/config.suml b/locale/de/config.suml index a33e8375c..bfa33b458 100644 --- a/locale/de/config.suml +++ b/locale/de/config.suml @@ -173,6 +173,7 @@ links: url: 'https://twitter.com/PronounsPage' headline: '@PronounsPage' recommended: [] + blog: {} contact: enabled: true @@ -185,7 +186,6 @@ contact: team: enabled: true route: 'team' # TODO - blog: {} support: diff --git a/locale/de/translations.suml b/locale/de/translations.suml index 2228e3e80..2143f687e 100644 --- a/locale/de/translations.suml +++ b/locale/de/translations.suml @@ -297,6 +297,7 @@ links: headerLong: 'Extra links' recommended: 'Wir empfehlen' + blog: 'Blog' # TODO media: 'Pronouns.page in den Medien' social: 'Social Media' @@ -318,7 +319,6 @@ contact: are created by the “Neutral Language Council” collective. logo: 'Logo of the collective is a combination of the transgender symbol and a speech bubble that symbolises language.' # TODO members: 'Current members' # TODO - blog: 'Blog' # TODO upcoming: 'Upcoming language versions' # TODO support: diff --git a/locale/en/config.suml b/locale/en/config.suml index 588f5fa10..1f6ea248d 100644 --- a/locale/en/config.suml +++ b/locale/en/config.suml @@ -89,6 +89,7 @@ faq: links: enabled: true + split: false route: 'links' blogRoute: 'blog' links: @@ -169,7 +170,7 @@ links: iconSet: 'b' url: 'https://pronouns.alejo.io/' headline: 'Display pronouns in Twitch Chat' - + academic: [] mediaGuests: [] mediaMentions: [] @@ -181,6 +182,9 @@ links: headline: '@PronounsPage' recommended: [] + blog: + creating-new-language-version: 'How to create a new language version of Pronouns.page' + contact: enabled: true route: 'contact' @@ -192,8 +196,6 @@ contact: team: enabled: true route: 'team' - blog: - creating-new-language-version: 'How to create a new language version of Pronouns.page' support: enabled: true diff --git a/locale/en/translations.suml b/locale/en/translations.suml index 7e0f4a038..67a227f6b 100644 --- a/locale/en/translations.suml +++ b/locale/en/translations.suml @@ -374,7 +374,7 @@ links: header: 'Links' headerLong: 'Extra links' recommended: 'We recommend' - + blog: 'Blog' media: 'Pronouns.page in the media' social: 'Social media' @@ -389,15 +389,14 @@ contact: header: 'Contact' authors: 'Authors of the website' team: - name: 'The “Neutral Language Council” collective' # TODO + name: 'The “Neutral Language Council” collective' description: # TODO - > {https://pronouns.page=Pronouns.page} and related initiatives are created by the “Neutral Language Council” collective. - logo: 'Logo of the collective is a combination of the transgender symbol and a speech bubble that symbolises language.' # TODO - members: 'Current members' # TODO - blog: 'Blog' # TODO - upcoming: 'Upcoming language versions' # TODO + logo: 'Logo of the collective is a combination of the transgender symbol and a speech bubble that symbolises language.' + members: 'Current members' + upcoming: 'Upcoming language versions' support: header: 'Support' diff --git a/locale/es/config.suml b/locale/es/config.suml index defd2ef43..591b82dc4 100644 --- a/locale/es/config.suml +++ b/locale/es/config.suml @@ -91,6 +91,7 @@ links: url: 'https://twitter.com/PronounsPage' headline: '@PronounsPage' recommended: [] + blog: {} contact: enabled: true @@ -103,7 +104,6 @@ contact: team: enabled: true route: 'team' # TODO - blog: {} support: enabled: true diff --git a/locale/es/translations.suml b/locale/es/translations.suml index 52f953379..bf5a2a51f 100644 --- a/locale/es/translations.suml +++ b/locale/es/translations.suml @@ -306,6 +306,7 @@ links: headerLong: 'Enlaces externos' recommended: 'Recomendamos' + blog: 'Blog' # TODO media: 'Pronouns.page en los medios' social: 'Redes sociales' @@ -327,7 +328,6 @@ contact: are created by the “Neutral Language Council” collective. logo: 'Logo of the collective is a combination of the transgender symbol and a speech bubble that symbolises language.' # TODO members: 'Current members' # TODO - blog: 'Blog' # TODO upcoming: 'Upcoming language versions' # TODO support: diff --git a/locale/fr/config.suml b/locale/fr/config.suml index e5fdda8af..af4de4c53 100644 --- a/locale/fr/config.suml +++ b/locale/fr/config.suml @@ -176,6 +176,7 @@ links: url: 'https://twitter.com/PronounsPage' headline: '@PronounsPage' recommended: [] + blog: {} contact: enabled: true @@ -188,8 +189,6 @@ contact: team: enabled: true route: 'team' - blog: - creating-new-language-version: 'How to create a new language version of Pronouns.page' support: enabled: true diff --git a/locale/fr/translations.suml b/locale/fr/translations.suml index 30d9409a8..ffd856bf2 100644 --- a/locale/fr/translations.suml +++ b/locale/fr/translations.suml @@ -295,6 +295,7 @@ links: headerLong: 'Extra links' recommended: 'We recommend' + blog: 'Blog' # TODO media: 'Pronouns.page in the media' social: 'Social media' diff --git a/locale/nl/config.suml b/locale/nl/config.suml index aadd98138..acd0034a3 100644 --- a/locale/nl/config.suml +++ b/locale/nl/config.suml @@ -95,6 +95,7 @@ links: url: 'https://twitter.com/PronounsPage' headline: '@PronounsPage' recommended: [] + blog: {} contact: enabled: true @@ -107,7 +108,6 @@ contact: team: enabled: true route: 'team' # TODO - blog: {} support: enabled: true diff --git a/locale/nl/translations.suml b/locale/nl/translations.suml index d527f0317..26760ee59 100644 --- a/locale/nl/translations.suml +++ b/locale/nl/translations.suml @@ -299,6 +299,7 @@ links: headerLong: 'Extra links' recommended: 'Wij raden aan' + blog: 'Blog' # TODO media: 'Pronouns.page in de media' social: 'Sociale media' diff --git a/locale/pt/config.suml b/locale/pt/config.suml index cc9e5700e..cc1d10d64 100644 --- a/locale/pt/config.suml +++ b/locale/pt/config.suml @@ -77,6 +77,7 @@ links: url: 'https://twitter.com/PronounsPage' headline: '@PronounsPage' recommended: [] + blog: {} contact: enabled: true @@ -89,7 +90,6 @@ contact: team: enabled: true route: 'team' # TODO - blog: {} support: enabled: true diff --git a/locale/pt/translations.suml b/locale/pt/translations.suml index 9532af13a..7af9ebf1c 100644 --- a/locale/pt/translations.suml +++ b/locale/pt/translations.suml @@ -160,7 +160,7 @@ faq: A partir de um ponto de vista puramente biológico, distinguimos sexo cromossômico, sexo genético, sexo hormonal, sexo fenotípico… Eles não são necessariamente correspondentes um com o outro e nem sempre são binários. - + Quando partimos para o aspecto cultural, o “gênero” é visto como uma construção social. Dependendo do lugar e do momento, ser “uma mulher” ou ser “um homem” pode significar ter direitos, obrigações e regras a seguir radicalmente diferentes. Na Europa, não é comum que os homens a usem saltos altos e saias, @@ -303,6 +303,7 @@ links: headerLong: 'Links externos' recommended: 'Recomendamos' + blog: 'Blog' # TODO media: 'Pronouns.page nas mídias' social: 'Redes sociais' diff --git a/locale/ru/config.suml b/locale/ru/config.suml index e1b05a8af..8554de19e 100644 --- a/locale/ru/config.suml +++ b/locale/ru/config.suml @@ -379,6 +379,7 @@ english: description: - > Many nonbinary people use more than one form interchangeably and are fine with being called either of them. + blog: {} contact: @@ -392,11 +393,6 @@ contact: team: enabled: true route: 'kolektyw-rjn' - blog: - rekomendacja-formularze: 'Rekomendacja Rady w sprawie pytania o płeć w formularzach' - podsumowanie-2020: 'Podsumowanie działalności w roku 2020' - gwiezdne-wojny: 'Niebinarność w „Gwiezdnych Wojnach”' - czas-się-obnosić: 'Nadszedł czas się obnosić! – przemówienie Sybila z Wrocławskiego Marszu Równości' support: enabled: true diff --git a/locale/ru/translations.suml b/locale/ru/translations.suml index 2c813ae67..00342d3e3 100644 --- a/locale/ru/translations.suml +++ b/locale/ru/translations.suml @@ -783,6 +783,7 @@ links: headerLong: 'Dodatkowe materiały' recommended: 'Polecamy' + blog: 'Blog' # TODO media: 'Zaimki.pl w mediach' social: 'Social media' diff --git a/locale/yi/config.suml b/locale/yi/config.suml index fb350ccb1..19b013f5f 100644 --- a/locale/yi/config.suml +++ b/locale/yi/config.suml @@ -180,6 +180,7 @@ links: url: 'https://twitter.com/PronounsPage' headline: '@PronounsPage' recommended: [] + blog: {} contact: enabled: true @@ -192,8 +193,6 @@ contact: team: enabled: true route: 'team' - blog: - creating-new-language-version: 'How to create a new language version of Pronouns.page' support: enabled: true diff --git a/locale/yi/translations.suml b/locale/yi/translations.suml index d35996c4e..95d21c137 100644 --- a/locale/yi/translations.suml +++ b/locale/yi/translations.suml @@ -317,6 +317,7 @@ links: headerLong: 'Extra links' recommended: 'We recommend' + blog: 'Blog' # TODO media: 'Pronouns.page in the media' social: 'Social media' diff --git a/locale/zh/config.suml b/locale/zh/config.suml index 1556e2df0..87ca41bd3 100644 --- a/locale/zh/config.suml +++ b/locale/zh/config.suml @@ -80,6 +80,7 @@ links: url: 'https://twitter.com/PronounsPage' headline: '@PronounsPage' recommended: [] + blog: {} contact: enabled: true @@ -106,7 +107,6 @@ contact: team: enabled: true route: 'team' # TODO - blog: {} support: diff --git a/locale/zh/translations.suml b/locale/zh/translations.suml index ca576e535..ffd81ebb1 100644 --- a/locale/zh/translations.suml +++ b/locale/zh/translations.suml @@ -285,6 +285,7 @@ links: headerLong: '額外鏈接' recommended: '建議' + blog: 'Blog' # TODO media: 'Pronouns.page在傳媒' social: '社交媒體' diff --git a/nuxt.config.js b/nuxt.config.js index 519128196..b4c38bbc0 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -190,15 +190,16 @@ export default { if (config.links.academicRoute) { routes.push({ path: '/' + config.links.academicRoute, component: resolve(__dirname, 'routes/academic.vue') }); } - if (config.links.blog && Object.keys(config.links.blog).length) { - routes.push({ path: '/' + config.links.blogRoute, component: resolve(__dirname, 'routes/blog.vue'), name: 'blog' }); - routes.push({ path: '/' + config.links.blogRoute + '/:slug', component: resolve(__dirname, 'routes/blogEntry.vue'), name: 'blogEntry' }); - } if (config.links.mediaRoute) { routes.push({ path: '/' + config.links.mediaRoute, component: resolve(__dirname, 'routes/media.vue') }); } } + if (config.links.blog && Object.keys(config.links.blog).length) { + routes.push({ path: '/' + config.links.blogRoute, component: resolve(__dirname, 'routes/blog.vue'), name: 'blog' }); + routes.push({ path: '/' + config.links.blogRoute + '/:slug', component: resolve(__dirname, 'routes/blogEntry.vue'), name: 'blogEntry' }); + } + if (config.people.enabled) { routes.push({ path: '/' + config.people.route, component: resolve(__dirname, 'routes/people.vue') }); }