feat(i18n): 支持系统中英文切换

为页面、菜单及提示接入中英文资源,保留业务值和导出中文标题,以支持用户切换界面语言。
This commit is contained in:
2026-11-02 11:16:43 +08:00
parent 4bc1da6491
commit e30bb4b1b7
859 changed files with 91079 additions and 11959 deletions
@@ -4,7 +4,7 @@
<html>
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>完成百分比</title>
<title><asp:Literal runat="server" Mode="Encode" Text="<%$ Resources:UiText, T_完成百分比 %>" /></title>
<link href="../../res/HJGL/InfoQuery/css/Chart.css" rel="stylesheet" />
</head>
<body>
@@ -12,14 +12,14 @@
<div class="sub-sections">
<div class="sub-section sub-section-02">
<div class="sub-section-header">
<span class="sub-section-title">百分比</span>
<span class="sub-section-title"><asp:Literal runat="server" Mode="Encode" Text="<%$ Resources:UiText, T_百分比 %>" /></span>
<div class="sub-right-select">
<div class="sub-select-name">
<span class="sub-select-value">焊口完成百分比</span><span class="dropdown-arrow"></span>
<span class="sub-select-value"><asp:Literal runat="server" Mode="Encode" Text="<%$ Resources:UiText, T_焊口完成百分比 %>" /></span><span class="dropdown-arrow"></span>
</div>
<ul class="sub-select-ul">
<li class="sub-select-li active" data-type="1">焊口完成百分比</li>
<li class="sub-select-li" data-type="2">焊口预制百分比</li>
<li class="sub-select-li active" data-type="1"><asp:Literal runat="server" Mode="Encode" Text="<%$ Resources:UiText, T_焊口完成百分比 %>" /></li>
<li class="sub-select-li" data-type="2"><asp:Literal runat="server" Mode="Encode" Text="<%$ Resources:UiText, T_焊口预制百分比 %>" /></li>
</ul>
</div>
</div>
@@ -53,7 +53,7 @@
var data = [
{
name: '未完成', value: options.n, label: {
name: SGGLI18n.t("T_未完成"), value: options.n, label: {
rich: {
name: {
fontSize: 10,
@@ -69,7 +69,7 @@
}
},
{
name: '已完成', value: options.y, label: {
name: SGGLI18n.t("T_已完成"), value: options.y, label: {
rich: {
name: {
fontSize: 10,
@@ -100,7 +100,7 @@
formatter: '{b} : {d}%'
},
series: [{
name: '质量控制点统计',
name: SGGLI18n.t("T_质量控制点统计"),
type: 'pie',
radius: ['45%', '70%'],
top: '5%',