diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index eca76a43809b..bff9a648f5bd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,5 @@ # Contributing to Electron -:memo: Available Translations: [Korean](https://github.com/electron/electron/tree/master/docs-translations/ko-KR/project/CONTRIBUTING.md) | [Simplified Chinese](https://github.com/electron/electron/tree/master/docs-translations/zh-CN/project/CONTRIBUTING.md) | [Brazilian Portuguese](https://github.com/electron/electron/tree/master/docs-translations/pt-BR/project/CONTRIBUTING.md) | [Dutch](https://github.com/electron/electron/tree/master/docs-translations/nl/project/CONTRIBUTING.md) - :+1::tada: First off, thanks for taking the time to contribute! :tada::+1: This project adheres to the Contributor Covenant [code of conduct](CODE_OF_CONDUCT.md). diff --git a/docs/styleguide.md b/docs/styleguide.md index 8f59c8a34197..4159dfe8e297 100644 --- a/docs/styleguide.md +++ b/docs/styleguide.md @@ -230,17 +230,4 @@ a module or a class. ## Documentation Translations -Translations of the Electron docs are located within the `docs-translations` -directory. - -To add another set (or partial set): - -* Create a subdirectory named by language abbreviation. -* Translate the files. -* Update the `README.md` within your language directory to link to the files - you have translated. -* Add a link to your translation directory on the main Electron - [README](https://github.com/electron/electron#documentation-translations). - -Note that the files under `docs-translations` must only include the translated -ones, the original English files should not be copied there. +See [electron/electron-i18n](https://github.com/electron/electron-i18n#readme) \ No newline at end of file diff --git a/package.json b/package.json index 8c31ab7a04df..d42bf431af31 100644 --- a/package.json +++ b/package.json @@ -48,8 +48,8 @@ "lint-js": "standard && cd spec && standard", "lint-cpp": "python ./script/cpplint.py", "lint-py": "python ./script/pylint.py", - "lint-docs": "npm run lint-api-docs-js && npm run create-typescript-definitions", - "lint-api-docs-js": "standard-markdown docs && standard-markdown docs-translations", + "lint-docs": "npm run lint-js-in-markdown && npm run create-typescript-definitions", + "lint-js-in-markdown": "standard-markdown docs", "create-api-json": "electron-docs-linter docs --outfile=out/electron-api.json --version=$npm_package_version", "create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=out/electron-api.json --out=out/electron.d.ts", "merge-release": "node ./script/merge-release.js",