Skip to content

Commit 307c4c8

Browse files
committed
adjust ui items order
1 parent 5b596c0 commit 307c4c8

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

package.nls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,5 +161,5 @@
161161
"string.eide.open_docs": "Learn More",
162162
"string.eide.open_docs.detail": "Click the link will open the home page that may help you learn more about usage.\n[Embedded IDE](https://em-ide.com/)",
163163

164-
"string.eide.project.welcome": "There are no projects in this workspace !\n[Open Project](command:eide.operation.open_project)\n[New Project](command:eide.operation.new_project)\n[Import Project](command:eide.operation.import_project)"
164+
"string.eide.project.welcome": "There are no projects in this workspace !\n[New Project](command:eide.operation.new_project)\n[Open Project](command:eide.operation.open_project)\n[Import Project](command:eide.operation.import_project)"
165165
}

package.nls.zh-CN.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,5 @@
154154
"string.eide.open_docs": "了解更多",
155155
"string.eide.open_docs.detail": "点击链接可以打开主页,也许能帮您了解到更多的用法。\n[Embedded IDE](https://em-ide.com/)",
156156

157-
"string.eide.project.welcome": "该工作区中没有任何项目!\n[打开项目](command:eide.operation.open_project)\n[新建项目](command:eide.operation.new_project)\n[导入项目](command:eide.operation.import_project)"
157+
"string.eide.project.welcome": "该工作区中没有任何项目!\n[新建项目](command:eide.operation.new_project)\n[打开项目](command:eide.operation.open_project)\n[导入项目](command:eide.operation.import_project)"
158158
}

src/OperationExplorer.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -211,25 +211,25 @@ export class OperationExplorer {
211211
iconPath: vscode.Uri.file(icoPath.path)
212212
});
213213

214-
icoPath = resManager.GetIconByName('Import_16x.svg');
214+
icoPath = resManager.GetIconByName('OpenFileFromProject_16x.svg');
215215
this.provider.AddData({
216-
label: view_str$import_project,
216+
label: open_project,
217217
command: {
218-
title: view_str$import_project,
219-
command: '_cl.eide.Operation.Import'
218+
title: open_project,
219+
command: '_cl.eide.Operation.Open'
220220
},
221-
tooltip: import_project_hit,
221+
tooltip: open_project_hit,
222222
iconPath: vscode.Uri.file(icoPath.path)
223223
});
224224

225-
icoPath = resManager.GetIconByName('OpenFileFromProject_16x.svg');
225+
icoPath = resManager.GetIconByName('Import_16x.svg');
226226
this.provider.AddData({
227-
label: open_project,
227+
label: view_str$import_project,
228228
command: {
229-
title: open_project,
230-
command: '_cl.eide.Operation.Open'
229+
title: view_str$import_project,
230+
command: '_cl.eide.Operation.Import'
231231
},
232-
tooltip: open_project_hit,
232+
tooltip: import_project_hit,
233233
iconPath: vscode.Uri.file(icoPath.path)
234234
});
235235

0 commit comments

Comments
 (0)