mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 08:38:56 +01:00
fix-71570 Fixed localize string issue
This commit is contained in:
@@ -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>`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user