Skip to content

Commit ef5ef30

Browse files
Localize and use product name
1 parent 8bf38bb commit ef5ef30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/vs/workbench/contrib/update/browser

src/vs/workbench/contrib/update/browser/update.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class OpenLatestReleaseNotesInBrowserAction extends Action {
5555
const uri = URI.parse(this.productService.releaseNotesUrl);
5656
await this.openerService.open(uri);
5757
} else {
58-
throw new Error('This version of Visual Studio Code does not have release notes online');
58+
throw new Error(nls.localize('update.noReleaseNotesOnline', "This version of {0} does not have release notes online", this.productService.nameLong));
5959
}
6060
}
6161
}

0 commit comments

Comments
 (0)