|
164 | 164 | },
|
165 | 165 | {
|
166 | 166 | "command": "vscode-cnb.post.pull-all",
|
167 |
| - "title": "下载全部随笔", |
| 167 | + "title": "下载全部", |
168 | 168 | "icon": "$(cloud-download)",
|
169 | 169 | "enablement": "vscode-cnb.isAuthed && !vscode-cnb.post.list-view.refreshing && vscode-cnb.post.list-view.pageCount > 0",
|
170 | 170 | "category": "Cnblogs Post List"
|
|
177 | 177 | "enablement": "vscode-cnb.isAuthed"
|
178 | 178 | },
|
179 | 179 | {
|
180 |
| - "command": "vscode-cnb.post.create-local-draft", |
181 |
| - "title": "新建本地草稿", |
| 180 | + "command": "vscode-cnb.post.create-local", |
| 181 | + "title": "新建博文", |
182 | 182 | "icon": "$(new-file)",
|
183 | 183 | "category": "Cnblogs Local Draft"
|
184 | 184 | },
|
|
322 | 322 | },
|
323 | 323 | {
|
324 | 324 | "command": "vscode-cnb.post.search",
|
325 |
| - "title": "搜索博文", |
| 325 | + "title": "搜索", |
326 | 326 | "category": "Cnblogs",
|
327 | 327 | "icon": "$(vscode-cnb-post-list-search)",
|
328 | 328 | "enablement": "vscode-cnb.isAuthed && !vscode-cnb.post.list-view.refreshing"
|
329 | 329 | },
|
330 | 330 | {
|
331 | 331 | "command": "vscode-cnb.post.list-view.search.clear",
|
332 |
| - "title": "清除随笔搜索结果", |
| 332 | + "title": "清除搜索结果", |
333 | 333 | "category": "Cnblogs",
|
334 | 334 | "icon": "$(clear-all)",
|
335 | 335 | "enablement": "vscode-cnb.isAuthed && !vscode-cnb.post.list-view.refreshing"
|
336 | 336 | },
|
337 | 337 | {
|
338 | 338 | "command": "vscode-cnb.post.list-view.search.refresh",
|
339 |
| - "title": "刷新随笔搜索结果", |
| 339 | + "title": "刷新搜索结果", |
340 | 340 | "category": "Cnblogs",
|
341 | 341 | "icon": "$(refresh)",
|
342 | 342 | "enablement": "vscode-cnb.isAuthed && !vscode-cnb.post.list-view-refreshing"
|
|
855 | 855 | "group": "navigation@6"
|
856 | 856 | },
|
857 | 857 | {
|
858 |
| - "command": "vscode-cnb.post.create-local-draft", |
| 858 | + "command": "vscode-cnb.post.create-local", |
859 | 859 | "when": "view == cnblogs-post-list || view == cnblogs-post-list-another",
|
860 | 860 | "group": "navigation@7"
|
861 | 861 | },
|
|
1059 | 1059 | "when": "viewItem =~ /^cnb-post/ && viewItem != cnb-post-category"
|
1060 | 1060 | },
|
1061 | 1061 | {
|
1062 |
| - "command": "vscode-cnb.post.create-local-draft", |
1063 |
| - "when": "viewItem == cnb-local-drafts-folder" |
| 1062 | + "command": "vscode-cnb.post.create-local", |
| 1063 | + "when": "viewItem == cnb-local-posts-folder" |
1064 | 1064 | },
|
1065 | 1065 | {
|
1066 | 1066 | "command": "vscode-cnb.post.rename",
|
|
0 commit comments