fix-71570 Fixed localize string issue

This commit is contained in:
pkoushik
2019-04-06 12:19:10 +05:30
parent 10a4ebf006
commit bda2870db9

View File

@@ -94,10 +94,11 @@ export class MarkdownContentProvider {
resource: vscode.Uri,
): Promise<string> {
const resourcePath = path.basename(resource.fsPath);
const body = localize('preview.notFound', '{0} cannot be found', resourcePath);
return `<!DOCTYPE html>
<html>
<body class="vscode-body">
${resourcePath} cannot be found.
${body}
</body>
</html>`;
}