fixed: 关于页面中删除ElectronBuildId字段.

This commit is contained in:
chriswang521 2024-06-21 14:53:02 +08:00 committed by wangpenglong
parent 1a9a004205
commit 690826041f
2 changed files with 2 additions and 3 deletions

View File

@ -4717,7 +4717,7 @@
"join.closeStorage": "正在保存 UI 状态"
},
"vs/workbench/electron-sandbox/parts/dialogs/dialogHandler": {
"aboutDetail": "版本: {0}\r\n提交: {1}\r\n日期: {2}\r\nElectron: {3}\r\nElectronBuildId: {4}\r\nChromium: {5}\r\nNode.js: {6}\r\nV8: {7}\r\nOS: {8}",
"aboutDetail": "版本: {0}\r\n提交: {1}\r\n日期: {2}\r\nElectron: {3}\r\nChromium: {4}\r\nNode.js: {5}\r\nV8: {6}\r\nOS: {7}",
"copy": "复制(&&C)",
"okButton": "确定"
},

View File

@ -78,12 +78,11 @@ export class NativeDialogHandler extends AbstractDialogHandler {
const detailString = (useAgo: boolean): string => {
return localize({ key: 'aboutDetail', comment: ['Electron, Chromium, Node.js and V8 are product names that need no translation'] },
"Version: {0}\nCommit: {1}\nDate: {2}\nElectron: {3}\nElectronBuildId: {4}\nChromium: {5}\nNode.js: {6}\nV8: {7}\nOS: {8}",
"Version: {0}\nCommit: {1}\nDate: {2}\nElectron: {3}\nChromium: {4}\nNode.js: {5}\nV8: {6}\nOS: {7}",
version,
this.productService.commit || 'Unknown',
this.productService.date ? `${this.productService.date}${useAgo ? ' (' + fromNow(new Date(this.productService.date), true) + ')' : ''}` : 'Unknown',
process.versions['electron'],
process.versions['microsoft-build'],
process.versions['chrome'],
process.versions['node'],
process.versions['v8'],