|
38 | 38 | "properties": { |
39 | 39 | "python-envs.defaultEnvManager": { |
40 | 40 | "type": "string", |
41 | | - "description": "The default environment manager to use for creating and managing environments", |
| 41 | + "description": "%python-envs.defaultEnvManager.description%", |
42 | 42 | "default": "ms-python.python:venv", |
43 | 43 | "scope": "window" |
44 | 44 | }, |
45 | 45 | "python-envs.defaultPackageManager": { |
46 | 46 | "type": "string", |
47 | | - "description": "The default package manager to use for installing and managing packages", |
| 47 | + "description": "%python-envs.defaultPackageManager.description%", |
48 | 48 | "default": "ms-python.python:pip", |
49 | 49 | "scope": "window" |
50 | 50 | }, |
51 | 51 | "python-envs.pythonProjects": { |
52 | 52 | "type": "array", |
53 | 53 | "default": [], |
54 | | - "description": "The list of python workspaces", |
| 54 | + "description": "%python-envs.pythonProjects.description%", |
55 | 55 | "scope": "window", |
56 | 56 | "items": { |
57 | 57 | "type": "object", |
58 | 58 | "properties": { |
59 | 59 | "path": { |
60 | 60 | "type": "string", |
61 | | - "description": "The path to the workspace folder or a file" |
| 61 | + "description": "%python-envs.pythonProjects.path.description%" |
62 | 62 | }, |
63 | 63 | "envManager": { |
64 | 64 | "type": "string", |
65 | | - "description": "The environment manager to use for this workspace", |
| 65 | + "description": "%python-envs.pythonProjects.envManager.description%", |
66 | 66 | "default": "ms-python.python:venv" |
67 | 67 | }, |
68 | 68 | "packageManager": { |
69 | 69 | "type": "string", |
70 | | - "description": "The package manager to use for this workspace", |
| 70 | + "description": "%python-envs.pythonProjects.packageManager.description%", |
71 | 71 | "default": "ms-python.python:pip" |
72 | 72 | } |
73 | 73 | } |
74 | 74 | } |
75 | 75 | }, |
76 | 76 | "python-envs.showActivateButton": { |
77 | 77 | "type": "boolean", |
78 | | - "description": "Show the activate button in the terminal", |
| 78 | + "description": "%python-envs.showActivateButton.description%", |
79 | 79 | "default": false, |
80 | 80 | "scope": "machine", |
81 | 81 | "tags": [ |
|
88 | 88 | "commands": [ |
89 | 89 | { |
90 | 90 | "command": "python-envs.setEnvManager", |
91 | | - "title": "Set Environment Manager", |
| 91 | + "title": "%python-envs.setEnvManager.title%", |
92 | 92 | "category": "Python", |
93 | 93 | "icon": "$(gear)" |
94 | 94 | }, |
95 | 95 | { |
96 | 96 | "command": "python-envs.setPkgManager", |
97 | | - "title": "Set Package Manager", |
| 97 | + "title": "%python-envs.setPkgManager.title%", |
98 | 98 | "category": "Python", |
99 | 99 | "icon": "$(package)" |
100 | 100 | }, |
101 | 101 | { |
102 | 102 | "command": "python-envs.addPythonProject", |
103 | | - "title": "Add Python Project", |
| 103 | + "title": "%python-envs.addPythonProject.title%", |
104 | 104 | "category": "Python", |
105 | 105 | "icon": "$(new-folder)" |
106 | 106 | }, |
107 | 107 | { |
108 | 108 | "command": "python-envs.removePythonProject", |
109 | | - "title": "Remove Python Project", |
| 109 | + "title": "%python-envs.removePythonProject.title%", |
110 | 110 | "category": "Python", |
111 | 111 | "icon": "$(remove)" |
112 | 112 | }, |
113 | 113 | { |
114 | 114 | "command": "python-envs.create", |
115 | | - "title": "Create Environment", |
| 115 | + "title": "%python-envs.create.title%", |
116 | 116 | "category": "Python", |
117 | 117 | "icon": "$(add)" |
118 | 118 | }, |
119 | 119 | { |
120 | 120 | "command": "python-envs.createAny", |
121 | | - "title": "Create Environment", |
| 121 | + "title": "%python-envs.createAny.title%", |
122 | 122 | "category": "Python", |
123 | 123 | "icon": "$(add)" |
124 | 124 | }, |
125 | 125 | { |
126 | 126 | "command": "python-envs.set", |
127 | | - "title": "Set Workspace Environment", |
| 127 | + "title": "%python-envs.set.title%", |
128 | 128 | "category": "Python", |
129 | 129 | "icon": "$(check)" |
130 | 130 | }, |
131 | 131 | { |
132 | 132 | "command": "python-envs.setEnv", |
133 | | - "title": "Set As Workspace Environment", |
| 133 | + "title": "%python-envs.setEnv.title%", |
134 | 134 | "category": "Python", |
135 | 135 | "icon": "$(check)" |
136 | 136 | }, |
137 | 137 | { |
138 | 138 | "command": "python-envs.reset", |
139 | | - "title": "Reset Environment Selection to Default", |
| 139 | + "title": "%python-envs.reset.title%", |
140 | 140 | "shortTitle": "Reset Environment", |
141 | 141 | "category": "Python", |
142 | 142 | "icon": "$(sync)" |
143 | 143 | }, |
144 | 144 | { |
145 | 145 | "command": "python-envs.remove", |
146 | | - "title": "Delete Environment", |
| 146 | + "title": "%python-envs.remove.title%", |
147 | 147 | "category": "Python", |
148 | 148 | "icon": "$(remove)" |
149 | 149 | }, |
150 | 150 | { |
151 | 151 | "command": "python-envs.refreshAllManagers", |
152 | | - "title": "Refresh All Environment Managers", |
| 152 | + "title": "%python-envs.refreshAllManagers.title%", |
153 | 153 | "shortTitle": "Refresh All", |
154 | 154 | "category": "Python", |
155 | 155 | "icon": "$(refresh)" |
156 | 156 | }, |
157 | 157 | { |
158 | 158 | "command": "python-envs.refreshManager", |
159 | | - "title": "Refresh Environments List", |
| 159 | + "title": "%python-envs.refreshManager.title%", |
160 | 160 | "category": "Python", |
161 | 161 | "icon": "$(refresh)" |
162 | 162 | }, |
163 | 163 | { |
164 | 164 | "command": "python-envs.refreshPackages", |
165 | | - "title": "Refresh Packages List", |
| 165 | + "title": "%python-envs.refreshPackages.title%", |
166 | 166 | "category": "Python", |
167 | 167 | "icon": "$(refresh)" |
168 | 168 | }, |
169 | 169 | { |
170 | 170 | "command": "python-envs.packages", |
171 | | - "title": "Install or Remove Packages", |
| 171 | + "title": "%python-envs.packages.title%", |
172 | 172 | "shortTitle": "Modify Packages", |
173 | 173 | "category": "Python", |
174 | 174 | "icon": "$(package)" |
175 | 175 | }, |
176 | 176 | { |
177 | 177 | "command": "python-envs.clearCache", |
178 | | - "title": "Clear Cache", |
| 178 | + "title": "%python-envs.clearCache.title%", |
179 | 179 | "category": "Python", |
180 | 180 | "icon": "$(trash)" |
181 | 181 | }, |
182 | 182 | { |
183 | 183 | "command": "python-envs.runInTerminal", |
184 | | - "title": "Run in Terminal", |
| 184 | + "title": "%python-envs.runInTerminal.title%", |
185 | 185 | "category": "Python Envs", |
186 | 186 | "icon": "$(play)" |
187 | 187 | }, |
188 | 188 | { |
189 | 189 | "command": "python-envs.createTerminal", |
190 | | - "title": "Create Python Terminal", |
| 190 | + "title": "%python-envs.createTerminal.title%", |
191 | 191 | "category": "Python Envs", |
192 | 192 | "icon": "$(terminal)" |
193 | 193 | }, |
194 | 194 | { |
195 | 195 | "command": "python-envs.runAsTask", |
196 | | - "title": "Run as Task", |
| 196 | + "title": "%python-envs.runAsTask.title%", |
197 | 197 | "category": "Python Envs", |
198 | 198 | "icon": "$(play)" |
199 | 199 | }, |
200 | 200 | { |
201 | 201 | "command": "python-envs.terminal.activate", |
202 | | - "title": "Activate Environment in Current Terminal", |
| 202 | + "title": "%python-envs.terminal.activate.title%", |
203 | 203 | "category": "Python Envs", |
204 | 204 | "icon": "$(zap)" |
205 | 205 | }, |
206 | 206 | { |
207 | 207 | "command": "python-envs.terminal.deactivate", |
208 | | - "title": "Deactivate Environment in Current Terminal", |
| 208 | + "title": "%python-envs.terminal.deactivate.title%", |
209 | 209 | "category": "Python Envs", |
210 | 210 | "icon": "$(circle-slash)" |
211 | 211 | } |
|
0 commit comments