Skip to content

Commit 7eb4076

Browse files
committed
Move stuff around
1 parent bfdad5c commit 7eb4076

15 files changed

+14
-22
lines changed

Diff for: .gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
.DS_Store
22
.idea
3-
.env
43
node_modules/
54
repo/*
65
npm-debug.log
76
yarn-error.log
87
!.gitkeep
8+
9+
.env*
10+
!.env.sample

Diff for: Procfile

-1
This file was deleted.

Diff for: README.md

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# reactjs.org Translation
1+
# react.dev Translation
22

3-
This repo contains resources and scripts to enable translations of https://reactjs.org.
3+
This repo contains resources and scripts to enable translations of https://react.dev.
44

55
## Contributing to translations
66

7-
Check [translations.reactjs.org](https://translations.reactjs.org/) to see if your language already has a translation effort in progress. Click on "Track Progress" on the language you want to contribute to in order to receive further instructions.
7+
Check [translations.react.dev](https://translations.react.dev/) to see if your language already has a translation effort in progress. Click on "Track Progress" on the language you want to contribute to in order to receive further instructions.
88

99
## Starting a new translation
1010

@@ -31,8 +31,8 @@ Also, please read the [Maintainer Responsibilities](/maintainer-guide.md#maintai
3131

3232
Once the PR is accepted, the bot will:
3333

34-
* Create a new repository for you at `reactjs/{lang-code}.reactjs.org`
35-
* Add/invite all maintainers listed to a "reactjs.org {language} Translation" team in the reactjs organization
34+
* Create a new repository for you at `reactjs/{lang-code}.react.dev`
35+
* Add/invite all maintainers listed to a "react.dev {language} Translation" team in the reactjs organization
3636
* Create an issue from [PROGRESS.template.md](/PROGRESS.template.md) in the new repository to track your translation progress
3737

3838
If you are not a member of the reactjs organization, you should receive an email invite to join. Please accept this invite so you can get admin access to your repository!
@@ -51,10 +51,9 @@ If you are interested in becoming a maintainer for a translation, please ask one
5151

5252
## Before publishing
5353

54-
1. Review your translations and make sure that the pages listed in "Core Pages" are fully translated. Run the site yourself locally to make sure there are no bugs or missing translations.
55-
2. ask {TBD} to add {lang-code}.reactjs.org as a subdomain.
56-
3. submit a PR to [reactjs/reactjs.org](https://github.com/reactjs/reactjs.org) adding the language in the dropdown (once we make it).
57-
4. Celebrate! 🎉🌐
54+
1. Review your translations and make sure that the pages listed in "Main Content" are fully translated. Run the site yourself locally to make sure there are no bugs or missing translations.
55+
2. Raise an issue in this repository so that your translation is added to the list of completed ones
56+
3. Celebrate! 🎉🌐
5857

5958
## Acknowledgements
6059

Diff for: .env.sample renamed to scripts/.env.sample

File renamed without changes.

Diff for: config.json renamed to scripts/config.json

File renamed without changes.
File renamed without changes.

Diff for: package.json renamed to scripts/package.json

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: util.js renamed to scripts/util.js

File renamed without changes.

Diff for: style-guide.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ NOTE TO MAINTAINERS: You may want to translate this guide so that it can be more
99
All headings have explicit IDs like this:
1010

1111
```md
12-
## Try React {#try-react}
12+
## Try React {/*try-react*/}
1313
```
1414

1515
Do **not** translate these IDs! They are used for navigation and will break if the document is referred to externally, i.e.:
@@ -21,13 +21,13 @@ See the [beginning section](/getting-started#try-react) for more information.
2121
✅ DO:
2222

2323
```md
24-
## Prueba React {#try-react}
24+
## Prueba React {/*try-react*/}
2525
```
2626

2727
❌ DON'T:
2828

2929
```md
30-
## Prueba React {#prueba-react}
30+
## Prueba React {/*prueba-react*/}
3131
```
3232

3333
This will break the link above.

Diff for: website/.gitignore

-8
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,3 @@
1313

1414
# misc
1515
.DS_Store
16-
.env.local
17-
.env.development.local
18-
.env.test.local
19-
.env.production.local
20-
21-
npm-debug.log*
22-
yarn-debug.log*
23-
yarn-error.log*

0 commit comments

Comments
 (0)