clean up remaining references to docs-translations content

This commit is contained in:
Zeke Sikelianos 2017-11-08 19:06:18 -08:00
parent 387ed21f94
commit 2ad1d8ba28
3 changed files with 3 additions and 18 deletions

View file

@ -1,7 +1,5 @@
# Contributing to Electron # 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: :+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). This project adheres to the Contributor Covenant [code of conduct](CODE_OF_CONDUCT.md).

View file

@ -230,17 +230,4 @@ a module or a class.
## Documentation Translations ## Documentation Translations
Translations of the Electron docs are located within the `docs-translations` See [electron/electron-i18n](https://github.com/electron/electron-i18n#readme)
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.

View file

@ -48,8 +48,8 @@
"lint-js": "standard && cd spec && standard", "lint-js": "standard && cd spec && standard",
"lint-cpp": "python ./script/cpplint.py", "lint-cpp": "python ./script/cpplint.py",
"lint-py": "python ./script/pylint.py", "lint-py": "python ./script/pylint.py",
"lint-docs": "npm run lint-api-docs-js && npm run create-typescript-definitions", "lint-docs": "npm run lint-js-in-markdown && npm run create-typescript-definitions",
"lint-api-docs-js": "standard-markdown docs && standard-markdown docs-translations", "lint-js-in-markdown": "standard-markdown docs",
"create-api-json": "electron-docs-linter docs --outfile=out/electron-api.json --version=$npm_package_version", "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", "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", "merge-release": "node ./script/merge-release.js",