Skip to content

Commit bc347b1

Browse files
authored
chore: Replace reactjs.org to ja.reactjs.org in configuration files (#8)
* chore: Replace reactjs.org to ja.reactjs.org in configuration files * feat: Change HTML lang from en to ja
1 parent 397b93d commit bc347b1

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Thank you for the PR! Contributors like you keep React awesome!
66
77
Please see the Contribution Guide for guidelines:
88
9-
https://github.com/reactjs/reactjs.org/blob/master/CONTRIBUTING.md
9+
https://github.com/reactjs/ja.reactjs.org/blob/master/CONTRIBUTING.md
1010
1111
If your PR references an existing issue, please add the issue number below
1212

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# reactjs.org
1+
# ja.reactjs.org
22

3-
This repo contains the source code and documentation powering [reactjs.org](https://reactjs.org/).
3+
This repo contains the source code and documentation powering [ja.reactjs.org](https://ja.reactjs.org/).
44

55
## Getting started
66

@@ -10,11 +10,11 @@ This repo contains the source code and documentation powering [reactjs.org](http
1010
1. Node: any 8.x version starting with 8.4.0 or greater
1111
1. Yarn: See [Yarn website for installation instructions](https://yarnpkg.com/lang/en/docs/install/)
1212
1. A fork of the repo (for any contributions)
13-
1. A clone of the [reactjs.org repo](https://github.com/reactjs/reactjs.org) on your local machine
13+
1. A clone of the [ja.reactjs.org repo](https://github.com/reactjs/ja.reactjs.org) on your local machine
1414

1515
### Installation
1616

17-
1. `cd reactjs.org` to go into the project root
17+
1. `cd ja.reactjs.org` to go into the project root
1818
1. `yarn` to install the website's npm dependencies
1919

2020
### Running locally
@@ -26,11 +26,11 @@ This repo contains the source code and documentation powering [reactjs.org](http
2626

2727
### Guidelines
2828

29-
The documentation is divided into several sections with a different tone and purpose. If you plan to write more than a few sentences, you might find it helpful to get familiar with the [contributing guidelines](https://github.com/reactjs/reactjs.org/blob/master/CONTRIBUTING.md#guidelines-for-text) for the appropriate sections.
29+
The documentation is divided into several sections with a different tone and purpose. If you plan to write more than a few sentences, you might find it helpful to get familiar with the [contributing guidelines](https://github.com/reactjs/ja.reactjs.org/blob/master/CONTRIBUTING.md#guidelines-for-text) for the appropriate sections.
3030

3131
### Create a branch
3232

33-
1. `git checkout master` from any folder in your local `reactjs.org` repository
33+
1. `git checkout master` from any folder in your local `ja.reactjs.org` repository
3434
1. `git pull origin master` to ensure you have the latest main code
3535
1. `git checkout -b the-name-of-my-branch` (replacing `the-name-of-my-branch` with a suitable name) to create a branch
3636

@@ -51,7 +51,7 @@ The documentation is divided into several sections with a different tone and pur
5151

5252
1. `git add -A && git commit -m "My message"` (replacing `My message` with a commit message, such as `Fixed header logo on Android`) to stage and commit your changes
5353
1. `git push my-fork-name the-name-of-my-branch`
54-
1. Go to the [reactjs.org repo](https://github.com/reactjs/reactjs.org) and you should see recently pushed branches.
54+
1. Go to the [ja.reactjs.org repo](https://github.com/reactjs/ja.reactjs.org) and you should see recently pushed branches.
5555
1. Follow GitHub's instructions.
5656
1. If possible, include screenshots of visual changes. A Netlify build will also be automatically created once you make your PR so other people can see your change.
5757

gatsby-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
module.exports = {
1010
siteMetadata: {
1111
title: 'React: A JavaScript library for building user interfaces',
12-
siteUrl: 'https://reactjs.org',
12+
siteUrl: 'https://ja.reactjs.org',
1313
rssFeedTitle: 'React',
1414
rssFeedDescription: 'A JavaScript library for building user interfaces',
1515
},

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.0.1",
55
"private": true,
66
"bugs": {
7-
"url": "https://github.com/reactjs/reactjs.org"
7+
"url": "https://github.com/reactjs/ja.reactjs.org"
88
},
99
"dependencies": {
1010
"babel-eslint": "^8.0.1",
@@ -60,15 +60,15 @@
6060
"node": ">8.4.0",
6161
"yarn": "^1.3.2"
6262
},
63-
"homepage": "https://reactjs.org/",
63+
"homepage": "https://ja.reactjs.org/",
6464
"keywords": [
6565
"gatsby"
6666
],
6767
"license": "CC",
6868
"main": "n/a",
6969
"repository": {
7070
"type": "git",
71-
"url": "git+https://github.com/reactjs/reactjs.org.git"
71+
"url": "git+https://github.com/reactjs/ja.reactjs.org.git"
7272
},
7373
"scripts": {
7474
"build": "gatsby build",

src/html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const JS_NPM_URLS = [
77
export default class HTML extends React.Component {
88
render() {
99
return (
10-
<html lang="en" {...this.props.htmlAttributes}>
10+
<html lang="ja" {...this.props.htmlAttributes}>
1111
<head>
1212
{JS_NPM_URLS.map(url => (
1313
<link key={url} rel="preload" href={url} as="script" />

src/site-constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
// NOTE: We can't just use `location.toString()` because when we are rendering
99
// the SSR part in node.js we won't have a proper location.
10-
const urlRoot = 'https://reactjs.org';
10+
const urlRoot = 'https://ja.reactjs.org';
1111
const version = '16.8.1';
1212
const babelURL = 'https://unpkg.com/babel-standalone@6.26.0/babel.min.js';
1313

0 commit comments

Comments
 (0)