|
138 | 138 | "command": "qtForPython.editTranslations", |
139 | 139 | "title": "Edit Qt Translation File (linguist)", |
140 | 140 | "category": "Qt for Python" |
| 141 | + }, |
| 142 | + { |
| 143 | + "command": "qtForPython.compileTranslations", |
| 144 | + "title": "Compile Qt Translation File (lrelease)", |
| 145 | + "category": "Qt for Python" |
141 | 146 | } |
142 | 147 | ], |
143 | 148 | "menus": { |
|
176 | 181 | "command": "qtForPython.editTranslations", |
177 | 182 | "when": "resourceExtname == .ts && resourceLangId == xml", |
178 | 183 | "group": "qtForPython" |
| 184 | + }, |
| 185 | + { |
| 186 | + "command": "qtForPython.compileTranslations", |
| 187 | + "when": "resourceExtname == .ts && resourceLangId == xml", |
| 188 | + "group": "qtForPython" |
179 | 189 | } |
180 | 190 | ], |
181 | 191 | "explorer/context": [ |
|
213 | 223 | "command": "qtForPython.editTranslations", |
214 | 224 | "when": "resourceExtname == .ts && resourceLangId == xml", |
215 | 225 | "group": "qtForPython" |
| 226 | + }, |
| 227 | + { |
| 228 | + "command": "qtForPython.compileTranslations", |
| 229 | + "when": "resourceExtname == .ts && resourceLangId == xml", |
| 230 | + "group": "qtForPython" |
216 | 231 | } |
217 | 232 | ], |
218 | 233 | "editor/title": [ |
|
250 | 265 | "command": "qtForPython.editTranslations", |
251 | 266 | "when": "resourceExtname == .ts && resourceLangId == xml", |
252 | 267 | "group": "qtForPython" |
| 268 | + }, |
| 269 | + { |
| 270 | + "command": "qtForPython.compileTranslations", |
| 271 | + "when": "resourceExtname == .ts && resourceLangId == xml", |
| 272 | + "group": "qtForPython" |
253 | 273 | } |
254 | 274 | ], |
255 | 275 | "editor/context": [ |
|
287 | 307 | "command": "qtForPython.editTranslations", |
288 | 308 | "when": "resourceExtname == .ts && resourceLangId == xml", |
289 | 309 | "group": "qtForPython" |
| 310 | + }, |
| 311 | + { |
| 312 | + "command": "qtForPython.compileTranslations", |
| 313 | + "when": "resourceExtname == .ts && resourceLangId == xml", |
| 314 | + "group": "qtForPython" |
290 | 315 | } |
291 | 316 | ] |
292 | 317 | }, |
|
420 | 445 | ], |
421 | 446 | "markdownDescription": "The options passed to Qt `lupdate` executable. See [here](https://github.com/seanwu1105/vscode-qt-for-python#predefined-variables) for a detailed list of predefined variables.", |
422 | 447 | "scope": "resource" |
| 448 | + }, |
| 449 | + "qtForPython.linguist.path": { |
| 450 | + "type": "string", |
| 451 | + "default": "", |
| 452 | + "markdownDescription": "The path to Qt `linguist` executable. Set to empty string to automatically resolve from the installed Python package. See [here](https://github.com/seanwu1105/vscode-qt-for-python#predefined-variables) for a detailed list of predefined variables.", |
| 453 | + "scope": "resource" |
| 454 | + }, |
| 455 | + "qtForPython.linguist.options": { |
| 456 | + "type": "array", |
| 457 | + "items": { |
| 458 | + "type": "string" |
| 459 | + }, |
| 460 | + "default": [], |
| 461 | + "markdownDescription": "The options passed to Qt `linguist` executable. See [here](https://github.com/seanwu1105/vscode-qt-for-python#predefined-variables) for a detailed list of predefined variables.", |
| 462 | + "scope": "resource" |
| 463 | + }, |
| 464 | + "qtForPython.lrelease.path": { |
| 465 | + "type": "string", |
| 466 | + "default": "", |
| 467 | + "markdownDescription": "The path to Qt `lrelease` executable. Set to empty string to automatically resolve from the installed Python package. See [here](https://github.com/seanwu1105/vscode-qt-for-python#predefined-variables) for a detailed list of predefined variables.", |
| 468 | + "scope": "resource" |
| 469 | + }, |
| 470 | + "qtForPython.lrelease.options": { |
| 471 | + "type": "array", |
| 472 | + "items": { |
| 473 | + "type": "string" |
| 474 | + }, |
| 475 | + "default": [], |
| 476 | + "markdownDescription": "The options passed to Qt `lrelease` executable. See [here](https://github.com/seanwu1105/vscode-qt-for-python#predefined-variables) for a detailed list of predefined variables.", |
| 477 | + "scope": "resource" |
423 | 478 | } |
424 | 479 | } |
425 | 480 | }, |
|
0 commit comments