瀏覽代碼

Docs: fix untranslated parts (#23487)

Jovey Zheng 3 年之前
父節點
當前提交
6c05a1610c
共有 2 個文件被更改,包括 2 次插入6 次删除
  1. 1 2
      docs/api/zh/loaders/AnimationLoader.html
  2. 1 4
      docs/api/zh/loaders/ImageBitmapLoader.html

+ 1 - 2
docs/api/zh/loaders/AnimationLoader.html

@@ -73,8 +73,7 @@
 		<h3>[method:Array parse]( [param:JSON json] )</h3>
 		<h3>[method:Array parse]( [param:JSON json] )</h3>
 		<p>
 		<p>
 		[page:JSON json] — 请求 <br /><br />
 		[page:JSON json] — 请求 <br /><br />
-		Parse the JSON object and return an array of animation clips. Individual clips in the object will
-		be parsed with [page:AnimationClip.parse].
+		解析 JSON 对象并返回 animation clips 的数组。对象中的各个片段将被 [page:AnimationClip.parse] 解析。
 		</p>
 		</p>
 
 
 		<h2>源代码</h2>
 		<h2>源代码</h2>

+ 1 - 4
docs/api/zh/loaders/ImageBitmapLoader.html

@@ -18,10 +18,7 @@
 		</p>
 		</p>
 
 
 		<p>
 		<p>
-			Note that [page:Texture.flipY] and [page:Texture.premultiplyAlpha] with [link:https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap ImageBitmap] are ignored.
-			[link:https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap ImageBitmap] needs these configuration on bitmap creation
-			unlike regular images need them on uploading to GPU. You need to set the equivalent options via [page:ImageBitmapLoader.setOptions]
-			instead. Refer to [link:https://www.khronos.org/registry/webgl/specs/latest/1.0/#6.10 WebGL specification] for the detail.
+			值得注意的是 [page:Texture.flipY] 和 [page:Texture.premultiplyAlpha] 在 [link:https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap ImageBitmap] 中会被忽略。不像常规图像上传到 GPU 时需要这些配置,[link:https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap ImageBitmap] 是创建位图时需要它们。比如你需要通过 [page:ImageBitmapLoader.setOptions] 来设置等效的选项。详情请参阅 [link:https://www.khronos.org/registry/webgl/specs/latest/1.0/#6.10 WebGL specification] 规范。
 		</p>
 		</p>
 
 
 		<h2>代码示例</h2>
 		<h2>代码示例</h2>