diff --git a/util/nls/vscode.ts b/util/nls/vscode.ts index 4ec04f3..0ff1955 100644 --- a/util/nls/vscode.ts +++ b/util/nls/vscode.ts @@ -54,11 +54,34 @@ export function fixPackage() { touched = fix(item, "description") || touched; } + for (const key in pkg.contributes.submenus) { + const item = pkg.contributes.submenus[key]; + touched = fix(item, "label") || touched; + } + + for (const key in pkg.contributes.views) { + const items = pkg.contributes.views[key]; + for (const k in items) { + const item = items[k]; + touched = fix(item, "name") || touched; + } + } + for (const key in pkg.contributes.configuration.properties) { const item = pkg.contributes.configuration.properties[key]; touched = fix(item, "description") || touched; } + for (const key in pkg.contributes.notebooks) { + const item = pkg.contributes.notebooks[key]; + touched = fix(item, "displayName") || touched; + } + + for (const key in pkg.contributes.notebookRenderer) { + const item = pkg.contributes.notebookRenderer[key]; + touched = fix(item, "displayName") || touched; + } + for (const key in pkg.contributes.debuggers[0].configurationAttributes.launch.properties) { const item = pkg.contributes.debuggers[0].configurationAttributes.launch.properties[key]; touched = fix(item, "description") || touched;