From d1fc234d8ace57b9f558f97c2bcc619165d24880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Criado-P=C3=A9rez?= Date: Fri, 25 Mar 2022 12:39:33 +0100 Subject: [PATCH] contributing --- src/common/navigation.yaml | 2 +- .../en/{contributing.md => contribute.md} | 2 +- src/pages/en/contribute/translations.md | 15 ++++++++++++ src/pages/en/contributing/translations.md | 23 ------------------- 4 files changed, 17 insertions(+), 25 deletions(-) rename src/pages/en/{contributing.md => contribute.md} (97%) create mode 100644 src/pages/en/contribute/translations.md delete mode 100644 src/pages/en/contributing/translations.md diff --git a/src/common/navigation.yaml b/src/common/navigation.yaml index c3290b14..93478380 100644 --- a/src/common/navigation.yaml +++ b/src/common/navigation.yaml @@ -97,4 +97,4 @@ sections: - path: /bns-contract - path: /stacking-contract - - path: /contributing \ No newline at end of file + - path: /contribute \ No newline at end of file diff --git a/src/pages/en/contributing.md b/src/pages/en/contribute.md similarity index 97% rename from src/pages/en/contributing.md rename to src/pages/en/contribute.md index e217802c..e73a2199 100644 --- a/src/pages/en/contributing.md +++ b/src/pages/en/contribute.md @@ -11,7 +11,7 @@ images: Welcome. Thank you for your interest in contributing and helping make these docs as good as they can be. This page outlines how this site is built, its general structure, getting it running locally, and some helpful tips for using all of its features. -These steps should only be followed to make changes on the general structure of the site and documents written in English. To make changes on pages in other languages, please refer to translations instead. This means that in the folder /src/pages/ you should any make changes in /src/pages/en, as changes in any other locale (/src/pages/es or /src/pages/fr for example) are overwritten. +These steps should only be followed to make changes on the general structure of the site and documents written in English. **To make changes in other languages**, please refer to [translations](/contribute/translations) instead. This means that in the folder /src/pages/ you should any make changes in /src/pages/en, as changes in any other locale (/src/pages/es or /src/pages/fr for example) are overwritten. ## Next.js, MDX, Markdown diff --git a/src/pages/en/contribute/translations.md b/src/pages/en/contribute/translations.md new file mode 100644 index 00000000..3ca6882f --- /dev/null +++ b/src/pages/en/contribute/translations.md @@ -0,0 +1,15 @@ +--- +title: How to contribute with translations +description: Want to help tranlating these docs to your local language?. +--- + +## Help with translations + +Translations are managed with Crowin. +Anybody can colaborate and no technichal skills are required, as it's all done on the browser. + +To help with translation please go to [this page](https://crowdin.com/project/docsstacksco), click any language and start translating. + +All help is appreciated. + +-> Please don't add any translations to the Github repository, as the translated pages get rewritten from Crowin. Translations need to be added on Crowin intead. diff --git a/src/pages/en/contributing/translations.md b/src/pages/en/contributing/translations.md deleted file mode 100644 index 2fc58fcf..00000000 --- a/src/pages/en/contributing/translations.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: How to contribute with translations -description: Want to help tranlating these docs to your local language?. -icon: BlockstackIcon -images: - large: /images/contribute.svg - sm: /images/contribute.svg ---- - -## Help with translations - -Translations are managed with Crowin. -Anybody can colaborate and no technichal skills are required, as it's all done on the browser. - -To help with translation please go to [this page](https://crowdin.com/project/docsstacksco), click and language and start translating. - -All help is appreciated. - -Note to Github users: please don't add any translations via our GitHub repository, as the translated pages get rewritten from Crowin, so you must use this tool instead. - -## Adding a language - -Want to add a new language that doesn't show in Crowin? Great! Let us know!