fix: 拓扑组图多语言

This commit is contained in:
TsMask
2024-01-09 20:15:43 +08:00
parent 584c1e1019
commit c0e7588712
3 changed files with 4 additions and 2 deletions

View File

@@ -1045,6 +1045,7 @@ export default {
serialNum: 'Serial Number', serialNum: 'Serial Number',
expiryDate: 'Expiry Date', expiryDate: 'Expiry Date',
switchLayout: "Switch Layout", switchLayout: "Switch Layout",
viewLogFile: "Viewing Log Files",
}, },
topologyBuild: { topologyBuild: {
graphMode: "Graph Model", graphMode: "Graph Model",

View File

@@ -1045,6 +1045,7 @@ export default {
serialNum: '序列号', serialNum: '序列号',
expiryDate: '许可证到期日期', expiryDate: '许可证到期日期',
switchLayout: "切换布局", switchLayout: "切换布局",
viewLogFile: "查看日志文件",
}, },
topologyBuild: { topologyBuild: {
graphMode: "图模式", graphMode: "图模式",

View File

@@ -71,13 +71,13 @@ const graphNodeMenu = new Menu({
${neState.neName ?? '--'} ${neState.neName ?? '--'}
</h3> </h3>
<div id="restart" style="cursor: pointer; margin-bottom: 4px"> <div id="restart" style="cursor: pointer; margin-bottom: 4px">
> 重启 > ${t('views.configManage.neManage.restart')}
</div> </div>
<div id="stop" style="cursor: pointer; margin-bottom: 4px;"> <div id="stop" style="cursor: pointer; margin-bottom: 4px;">
> ${t('views.configManage.neManage.stop')} > ${t('views.configManage.neManage.stop')}
</div> </div>
<div id="log" style="cursor: pointer; margin-bottom: 4px;"> <div id="log" style="cursor: pointer; margin-bottom: 4px;">
> 查看日志文件 > ${t('views.monitor.topology.viewLogFile')}
</div> </div>
</div> </div>
`; `;