Skip to content

Commit 8e1862e

Browse files
authored
Merge branch 'master' into develop
2 parents b5a16a3 + 2299e6f commit 8e1862e

File tree

7 files changed

+65
-70
lines changed

7 files changed

+65
-70
lines changed

content/blog/2019-02-23-is-react-translated-yet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Finally, I would like to extend my gratitude to the following people and groups:
6969

7070
* All the translation maintainers and contributors who are helping translate React to more than thirty languages.
7171
* The [Vue.js Japan User Group](https://github.com/vuejs-jp) for initiating the idea of having bot-managed translations, and especially [Hanatani Takuma](https://github.com/potato4d) for helping us understand their approach and helping maintain the Japanese translation.
72-
* [Soichiro Miki](https://github.com/smikitki) for many [contributions](https://github.com/reactjs/reactjs.org/pull/1636) and thoughtful comments on the overall translation process, as well as for maintaining the Japanese translation.
72+
* [Soichiro Miki](https://github.com/smikitky) for many [contributions](https://github.com/reactjs/reactjs.org/pull/1636) and thoughtful comments on the overall translation process, as well as for maintaining the Japanese translation.
7373
* [Eric Nakagawa](https://github.com/ericnakagawa) for managing our previous translation process.
7474
* [Brian Vaughn](https://github.com/bvaughn) for setting up the [languages page](/languages) and managing all the subdomains.
7575

content/docs/nav.yml

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -3,86 +3,86 @@
33
- id: getting-started
44
title: Getting Started
55
- id: add-react-to-a-website
6-
title: Add React to a Website
6+
title: 既存のウェブサイトに React を追加する
77
- id: create-a-new-react-app
8-
title: Create a New React App
8+
title: 新しい React アプリを作る
99
- id: cdn-links
10-
title: CDN Links
10+
title: CDN リンク
1111
- title: Main Concepts
1212
isOrdered: true
1313
items:
1414
- id: hello-world
1515
title: Hello World
1616
- id: introducing-jsx
17-
title: Introducing JSX
17+
title: JSX の導入
1818
- id: rendering-elements
19-
title: Rendering Elements
19+
title: 要素のレンダー
2020
- id: components-and-props
21-
title: Components and Props
21+
title: コンポーネントと props
2222
- id: state-and-lifecycle
23-
title: State and Lifecycle
23+
title: state とライフサイクル
2424
- id: handling-events
25-
title: Handling Events
25+
title: イベント処理
2626
- id: conditional-rendering
27-
title: Conditional Rendering
27+
title: 条件付きレンダー
2828
- id: lists-and-keys
29-
title: Lists and Keys
29+
title: リストと key
3030
- id: forms
31-
title: Forms
31+
title: フォーム
3232
- id: lifting-state-up
33-
title: Lifting State Up
33+
title: state のリフトアップ
3434
- id: composition-vs-inheritance
35-
title: Composition vs Inheritance
35+
title: コンポジション vs 継承
3636
- id: thinking-in-react
37-
title: Thinking In React
37+
title: React の流儀
3838
- title: Advanced Guides
3939
items:
4040
- id: accessibility
41-
title: Accessibility
41+
title: アクセシビリティ
4242
- id: code-splitting
43-
title: Code-Splitting
43+
title: コード分割
4444
- id: context
45-
title: Context
45+
title: コンテクスト
4646
- id: error-boundaries
4747
title: Error Boundaries
4848
- id: forwarding-refs
49-
title: Forwarding Refs
49+
title: ref のフォワーディング
5050
- id: fragments
51-
title: Fragments
51+
title: フラグメント
5252
- id: higher-order-components
53-
title: Higher-Order Components
53+
title: 高階 (Higher-Order) コンポーネント
5454
- id: integrating-with-other-libraries
55-
title: Integrating with Other Libraries
55+
title: 他のライブラリとのインテグレーション
5656
- id: jsx-in-depth
57-
title: JSX In Depth
57+
title: JSX を深く理解する
5858
- id: optimizing-performance
5959
title: Optimizing Performance
6060
- id: portals
61-
title: Portals
61+
title: ポータル
6262
- id: react-without-es6
63-
title: React Without ES6
63+
title: ES6 なしで React を使う
6464
- id: react-without-jsx
65-
title: React Without JSX
65+
title: JSX なしで React を使う
6666
- id: reconciliation
67-
title: Reconciliation
67+
title: 差分検出処理
6868
- id: refs-and-the-dom
69-
title: Refs and the DOM
69+
title: Ref と DOM
7070
- id: render-props
71-
title: Render Props
71+
title: レンダープロップ
7272
- id: static-type-checking
7373
title: Static Type Checking
7474
- id: strict-mode
75-
title: Strict Mode
75+
title: strict モード
7676
- id: typechecking-with-proptypes
7777
title: Typechecking With PropTypes
7878
- id: uncontrolled-components
79-
title: Uncontrolled Components
79+
title: 非制御コンポーネント
8080
- id: web-components
8181
title: Web Components
8282
- title: API Reference
8383
items:
8484
- id: react-api
85-
title: React
85+
title: React の最上位 API
8686
subitems:
8787
- id: react-component
8888
title: React.Component
@@ -91,34 +91,34 @@
9191
- id: react-dom-server
9292
title: ReactDOMServer
9393
- id: dom-elements
94-
title: DOM Elements
94+
title: DOM 要素
9595
- id: events
96-
title: SyntheticEvent
96+
title: 合成イベント (SyntheticEvent)
9797
- id: test-utils
98-
title: Test Utilities
98+
title: テストユーティリティ
9999
- id: shallow-renderer
100100
title: Shallow Renderer
101101
- id: test-renderer
102102
title: Test Renderer
103103
- id: javascript-environment-requirements
104-
title: JS Environment Requirements
104+
title: JavaScript 環境の要件
105105
- id: glossary
106-
title: Glossary
106+
title: React 用語集
107107
- title: Hooks (New)
108108
isOrdered: true
109109
items:
110110
- id: hooks-intro
111-
title: Introducing Hooks
111+
title: フックの導入
112112
- id: hooks-overview
113-
title: Hooks at a Glance
113+
title: フック早わかり
114114
- id: hooks-state
115-
title: Using the State Hook
115+
title: ステートフックの利用法
116116
- id: hooks-effect
117-
title: Using the Effect Hook
117+
title: 副作用フックの利用法
118118
- id: hooks-rules
119-
title: Rules of Hooks
119+
title: フックのルール
120120
- id: hooks-custom
121-
title: Building Your Own Hooks
121+
title: カスタムフックの作成
122122
- id: hooks-reference
123123
title: Hooks API Reference
124124
- id: hooks-faq
@@ -136,18 +136,18 @@
136136
- title: FAQ
137137
items:
138138
- id: faq-ajax
139-
title: AJAX and APIs
139+
title: AJAX と API
140140
- id: faq-build
141-
title: Babel, JSX, and Build Steps
141+
title: BabelJSX、ビルドステップ
142142
- id: faq-functions
143-
title: Passing Functions to Components
143+
title: コンポーネントに関数を渡す
144144
- id: faq-state
145-
title: Component State
145+
title: コンポーネントの state
146146
- id: faq-styling
147-
title: Styling and CSS
147+
title: CSS とスタイルの使用
148148
- id: faq-structure
149-
title: File Structure
149+
title: ファイル構成
150150
- id: faq-versioning
151-
title: Versioning Policy
151+
title: バージョニングポリシー
152152
- id: faq-internals
153-
title: Virtual DOM and Internals
153+
title: 仮想 DOM と内部処理

src/components/CodeEditor/CodeEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class CodeEditor extends Component {
4343
}
4444

4545
render() {
46-
const {children, containerNodeID} = this.props;
46+
const {containerNodeID} = this.props;
4747
const {
4848
compiledES6,
4949
code,

src/components/CodeExample/CodeExample.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class CodeExample extends Component {
4141

4242
'& h3': {
4343
color: colors.dark,
44-
maxWidth: '11em',
44+
marginRight: 40, // patched in ja.reactjs.org
4545
paddingTop: 0,
4646
},
4747

src/components/LayoutFooter/Footer.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
6060
},
6161
}}>
6262
<FooterNav layoutHasSidebar={layoutHasSidebar}>
63-
<MetaTitle onDark={true}>Docs</MetaTitle>
63+
<MetaTitle onDark={true}>ドキュメント</MetaTitle>
6464
{sectionListDocs.map(section => {
6565
const defaultItem = section.items[0];
6666
return (
@@ -73,7 +73,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
7373
})}
7474
</FooterNav>
7575
<FooterNav layoutHasSidebar={layoutHasSidebar}>
76-
<MetaTitle onDark={true}>Channels</MetaTitle>
76+
<MetaTitle onDark={true}>チャンネル</MetaTitle>
7777
<ExternalFooterLink
7878
href="https://github.com/facebook/react"
7979
target="_blank"
@@ -118,7 +118,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
118118
</ExternalFooterLink>
119119
</FooterNav>
120120
<FooterNav layoutHasSidebar={layoutHasSidebar}>
121-
<MetaTitle onDark={true}>Community</MetaTitle>
121+
<MetaTitle onDark={true}>コミュニティ</MetaTitle>
122122
{sectionListCommunity.map(section => (
123123
<FooterLink
124124
to={`/community/${section.items[0].id}.html`}
@@ -128,12 +128,10 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
128128
))}
129129
</FooterNav>
130130
<FooterNav layoutHasSidebar={layoutHasSidebar}>
131-
<MetaTitle onDark={true}>More</MetaTitle>
132-
<FooterLink to="/tutorial/tutorial.html">Tutorial</FooterLink>
131+
<MetaTitle onDark={true}>その他</MetaTitle>
132+
<FooterLink to="/tutorial/tutorial.html">チュートリアル</FooterLink>
133133
<FooterLink to="/blog/">Blog</FooterLink>
134-
<FooterLink to="/acknowledgements.html">
135-
Acknowledgements
136-
</FooterLink>
134+
<FooterLink to="/acknowledgements.html">謝辞</FooterLink>
137135
<ExternalFooterLink
138136
href="https://facebook.github.io/react-native/"
139137
target="_blank"

src/pages/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class Home extends Component {
133133
fontSize: 30,
134134
},
135135
}}>
136-
A JavaScript library for building user interfaces
136+
ユーザインターフェース構築のための JavaScript ライブラリ
137137
</p>
138138
<Flex
139139
valign="center"
@@ -148,12 +148,12 @@ class Home extends Component {
148148
<ButtonLink
149149
to="/docs/getting-started.html"
150150
type="primary">
151-
Get Started
151+
スタートガイド
152152
</ButtonLink>
153153
</CtaItem>
154154
<CtaItem>
155155
<ButtonLink to="/tutorial/tutorial.html" type="secondary">
156-
Take the Tutorial
156+
チュートリアルを見る
157157
</ButtonLink>
158158
</CtaItem>
159159
</Flex>
@@ -285,12 +285,12 @@ class Home extends Component {
285285
<Flex valign="center">
286286
<CtaItem>
287287
<ButtonLink to="/docs/getting-started.html" type="primary">
288-
Get Started
288+
スタートガイド
289289
</ButtonLink>
290290
</CtaItem>
291291
<CtaItem>
292292
<ButtonLink to="/tutorial/tutorial.html" type="secondary">
293-
Take the Tutorial
293+
チュートリアルを見る
294294
</ButtonLink>
295295
</CtaItem>
296296
</Flex>

src/templates/components/Sidebar/Section.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,7 @@ class Section extends React.Component {
8181
? activeItemId === item.id
8282
: isItemActive(location, item),
8383
item: section.isOrdered
84-
? {
85-
...item,
86-
title: `${index + 1}. ${item.title}`,
87-
}
84+
? {...item, title: `${index + 1}. ${item.title}`}
8885
: item,
8986
location,
9087
onLinkClick,

0 commit comments

Comments
 (0)