Skip to content

Commit 9947f5a

Browse files
committed
翻译 插件API 翻译简单词语
1 parent 4e48e02 commit 9947f5a

14 files changed

+51
-47
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# WorkspaceFolder
22

3-
工作空间下的项目目录,在左侧项目管理器内的每一个项目表示一个WorkspaceFolder
3+
The project directory under the workspace, each project in the project manager on the left represents a WorkspaceFolder
44

55
**Attribute list**
66

77
|Attribute name |Type |Description |
88
|-- |-- |-- |
9-
|uri |String或[Uri](/ExtensionDocs/Api/other/Uri)|项目目录地址 |
10-
|name |String |项目目录名称 |
11-
|nature |String |项目类型 |
12-
|id |String |项目唯一id |
9+
|uri |String或[Uri](/ExtensionDocs/Api/other/Uri)|Project Path |
10+
|name |String |Project directory name |
11+
|nature |String |Project Type |
12+
|id |String |Project ID |

en/ExtensionDocs/Api/other/languageId.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# languageId
22

3-
以下是目前支持的编程语言Id列表:
3+
The following is a list of currently supported programming language IDs:
44

55
- txt
66
- actionscript

en/ExtensionDocs/Api/workspace/copyFileWithPrompt.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# copyFileWithPrompt
22

3-
> 从HBuilderX 2.9.12及以上版本开始支持
3+
> Supported from HBuilderX 2.9.12+ version
44
5-
将指定文件或文件夹拷贝到目标文件夹下
5+
Copy the specified file or folder to the target folder
66

77
#### Parameter
88

@@ -20,9 +20,9 @@
2020

2121
|code |Description |
2222
|-- |-- |
23-
|-1 |操作失败 |
24-
|0 |操作成功 |
25-
|1 |操作取消 |
23+
|-1 |failed |
24+
|0 |Successful |
25+
|1 |Operation canceled |
2626

2727

2828
#### Example

en/ExtensionDocs/Api/workspace/getConfiguration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# getConfiguration
22

3-
根据指定的section获取对应的配置
3+
Get a workspace configuration object.
44

55
## Introduction
66

en/ExtensionDocs/Api/workspace/getWorkspaceFolder.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# getWorkspaceFolder
22

3-
>从HBuilderX 2.7.12及以上版本开始支持
3+
>Supported from HBuilderX 2.7.12+ version
44
5-
获取某个文件所在的项目
5+
Get the project where a file is located.
66

77
#### Parameter
88
|Name |Type |Description |

en/ExtensionDocs/Api/workspace/getWorkspaceFolders.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# getWorkspaceFolders
22

3-
> 从HBuilderX 2.7.12及以上版本开始支持
3+
> Supported from HBuilderX 2.7.12+ version
44
5-
获取项目管理器下所有的项目对象(不包含已关闭项目)
5+
Get all project objects under the project explorer (not including closed projects)
66

77
#### Parameter
8-
8+
9+
No
910

1011
#### Returns
1112
|Type |Description |
@@ -22,13 +23,14 @@
2223

2324

2425
#### WorkspaceFolder
25-
工作空间下的项目目录,在左侧项目管理器内的每一个项目表示一个WorkspaceFolder
26+
27+
The project directory under the workspace, each project in the project manager on the left represents a WorkspaceFolder
2628

2729
**Attribute list**
2830

2931
|Attribute name |Type |Description |
3032
|-- |-- |-- |
31-
|uri |String或[Uri](/ExtensionDocs/Api/other/Uri)|项目目录地址 |
32-
|name |String |项目目录名称 |
33-
|nature |String |项目类型 |
34-
|id |String |项目唯一id |
33+
|uri |String或[Uri](/ExtensionDocs/Api/other/Uri)|Project Path |
34+
|name |String |Project directory name |
35+
|nature |String |Project Type |
36+
|id |String |Project ID |

en/ExtensionDocs/Api/workspace/onDidChangeConfiguration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# onDidChangeConfiguration
22

3-
> 从HBuilderX 2.7.10及以上版本开始支持`
3+
> Supported from HBuilderX 2.7.10+ version
44
55
## Introduce
66

en/ExtensionDocs/Api/workspace/onDidChangeTextDocument.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# onDidChangeTextDocument
22

3-
文档被修改时的事件
3+
An event that is emitted when a text document is changed.
44

55
## Introduce
66

en/ExtensionDocs/Api/workspace/onDidChangeWorkspaceFolders.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# onDidChangeWorkspaceFolders
22

3-
> 从HBuilderX 2.7.10及以上版本开始支持
3+
> Supported from HBuilderX 2.7.10+ version
44
5-
项目管理器内的项目新增或者移除时产生的事件
5+
An event that is emitted when a workspace folder is added or removed.
66

77
## Introduce
88

en/ExtensionDocs/Api/workspace/onDidOpenTextDocument.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# onDidOpenTextDocument
22

3-
> 从HBuilderX 2.7.6及以上版本开始支持
3+
> Supported from HBuilderX 2.7.6+ version
44
5-
文档打开时的事件
5+
An event that is emitted when a text document is opened or when the language id of a text document has been changed.
66

77
#### Parameter
88

0 commit comments

Comments
 (0)