Skip to content

Commit 5f3a718

Browse files
authored
Improve translation accuracy and consistency (#31960)
1 parent 2f952cf commit 5f3a718

File tree

150 files changed

+2038
-720
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+2038
-720
lines changed

docs/api/en/animation/AnimationAction.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ <h2>Constructor</h2>
2424

2525
<h3>
2626
[name]( [param:AnimationMixer mixer], [param:AnimationClip clip],
27-
[param:Object3D localRoot] )
27+
[param:Object3D localRoot], [param:Number blendMode] )
2828
</h3>
2929
<p>
3030
[page:AnimationMixer mixer] - the `AnimationMixer` that is controlled by
3131
this action.<br />
3232
[page:AnimationClip clip] - the `AnimationClip` that holds the animation
3333
data for this action.<br />
34-
[page:Object3D localRoot] - the root object on which this action is
35-
performed.<br />
36-
[page:Number blendMode] - defines how the animation is blended/combined
37-
when two or more animations are simultaneously played.<br /><br />
34+
[page:Object3D localRoot] (optional) - the root object on which this action is
35+
performed. Default is `null`.<br />
36+
[page:Number blendMode] (optional)- defines how the animation is blended/combined
37+
when two or more animations are simultaneously played. Default is *clip.blendMode*.<br /><br />
3838

3939
Note: Instead of calling this constructor directly you should instantiate
4040
an AnimationAction with [page:AnimationMixer.clipAction] since this method

docs/api/en/animation/AnimationClip.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ <h1>[name]</h1>
2020
<h2>Constructor</h2>
2121

2222
<h3>
23-
[name]( [param:String name], [param:Number duration], [param:Array tracks] )
23+
[name]( [param:String name], [param:Number duration], [param:Array tracks], [param:Number blendMode] )
2424
</h3>
2525
<p>
2626
[page:String name] - a name for this clip.<br />
2727
[page:Number duration] - the duration of this clip (in seconds). If a
2828
negative value is passed, the duration will be calculated from the passed
2929
`tracks` array.<br />
3030
[page:Array tracks] - an array of [page:KeyframeTrack KeyframeTracks].<br />
31-
[page:Number blendMode] - defines how the animation is blended/combined
32-
when two or more animations are simultaneously played.<br /><br />
31+
[page:Number blendMode] (optional) - defines how the animation is blended/combined
32+
when two or more animations are simultaneously played. Default is *NormalAnimationBlendMode*.<br /><br />
3333

3434
Note: Instead of instantiating an AnimationClip directly with the
3535
constructor, you can use one of its static methods to create

docs/api/en/constants/Core.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ <h2>Mouse Buttons</h2>
6565

6666
<h2>Touch Actions</h2>
6767
<code>
68-
THREE.TOUCH.ROTATE THREE.TOUCH.PAN THREE.TOUCH.DOLLY_PAN
68+
THREE.TOUCH.ROTATE
69+
THREE.TOUCH.PAN
70+
THREE.TOUCH.DOLLY_PAN
6971
THREE.TOUCH.DOLLY_ROTATE
7072
</code>
7173

docs/api/en/constants/Textures.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,10 @@ <h2>Internal Formats</h2>
452452
<br /><br />
453453

454454
[page:constant RGB8] stores the red, green, and blue components on 8 bits
455-
each. [page:constant RGB8_SNORM] stores the red, green, and blue
455+
each.
456+
<br /><br />
457+
458+
[page:constant RGB8_SNORM] stores the red, green, and blue
456459
components on 8 bits each. Every component is stored as normalized.
457460
<br /><br />
458461

docs/api/en/geometries/TorusGeometry.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ <h2>Code Example</h2>
3838
<code>
3939
const geometry = new THREE.TorusGeometry( 10, 3, 16, 100 );
4040
const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
41-
const torus = new THREE.Mesh( geometry, material ); scene.add( torus );
41+
const torus = new THREE.Mesh( geometry, material );
42+
scene.add( torus );
4243
</code>
4344

4445
<h2>Constructor</h2>

docs/api/en/geometries/TorusKnotGeometry.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ <h2>Code Example</h2>
4242
<code>
4343
const geometry = new THREE.TorusKnotGeometry( 10, 3, 100, 16 );
4444
const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
45-
const torusKnot = new THREE.Mesh( geometry, material ); scene.add( torusKnot );
45+
const torusKnot = new THREE.Mesh( geometry, material );
46+
scene.add( torusKnot );
4647
</code>
4748

4849
<h2>Constructor</h2>

docs/api/en/lights/DirectionalLight.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,6 @@ <h2>Methods</h2>
126126

127127
<p>See the base [page:Light Light] class for common methods.</p>
128128

129-
<h3>[method:undefined dispose]()</h3>
130-
<p>
131-
Frees the GPU-related resources allocated by this instance. Call this
132-
method whenever this instance is no longer used in your app.
133-
</p>
134-
135129
<h3>[method:this copy]( [param:DirectionalLight source] )</h3>
136130
<p>
137131
Copies value of all the properties from the [page:DirectionalLight source]

docs/api/en/lights/LightProbe.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ <h2>Methods</h2>
7171
<p>See the base [page:Light Light] class for common methods.</p>
7272
<h2>Source</h2>
7373

74+
<h3>[method:this copy]( [param:LightProbe source] )</h3>
75+
<p>
76+
Copies value of all the properties from the [page:LightProbe source] to
77+
this LightProbe.
78+
</p>
79+
7480
<p>
7581
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
7682
</p>

docs/api/en/lights/PointLight.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,6 @@ <h3>[property:PointLightShadow shadow]</h3>
113113
<h2>Methods</h2>
114114
<p>See the base [page:Light Light] class for common methods.</p>
115115

116-
<h3>[method:undefined dispose]()</h3>
117-
<p>
118-
Frees the GPU-related resources allocated by this instance. Call this
119-
method whenever this instance is no longer used in your app.
120-
</p>
121-
122116
<h3>[method:this copy]( [param:PointLight source] )</h3>
123117
<p>
124118
Copies value of all the properties from the [page:PointLight source] to

docs/api/en/lights/SpotLight.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,6 @@ <h2>Methods</h2>
164164

165165
<p>See the base [page:Light Light] class for common methods.</p>
166166

167-
<h3>[method:undefined dispose]()</h3>
168-
<p>
169-
Frees the GPU-related resources allocated by this instance. Call this
170-
method whenever this instance is no longer used in your app.
171-
</p>
172-
173167
<h3>[method:this copy]( [param:SpotLight source] )</h3>
174168
<p>
175169
Copies value of all the properties from the [page:SpotLight source] to

0 commit comments

Comments
 (0)