Selaa lähdekoodia

feat: 优化汉化显示

zhangwenya 10 kuukautta sitten
vanhempi
commit
d52c8b50ec
18 muutettua tiedostoa jossa 32 lisäystä ja 29 poistoa
  1. 1 1
      src/main/angular/src/app/core/components/agent-search-input/agent-search-input-container.component.html
  2. 1 1
      src/main/angular/src/app/core/components/agent-statistic-list/agent-statistic-list.component.ts
  3. 1 1
      src/main/angular/src/app/core/components/filtered-map-contents/filtered-map-contents-container.component.html
  4. 1 1
      src/main/angular/src/app/core/components/inspector-chart/agent-data-source-chart-container.component.html
  5. 9 6
      src/main/angular/src/app/core/components/inspector-chart/agent-data-source-chart-infotable.component.html
  6. 2 2
      src/main/angular/src/app/core/components/inspector-chart/application-data-source-chart-container.component.html
  7. 1 1
      src/main/angular/src/app/core/components/inspector-chart/inspector-chart-container.component.html
  8. 1 1
      src/main/angular/src/app/core/components/load-chart/load-chart-container.component.html
  9. 1 1
      src/main/angular/src/app/core/components/main-contents/main-contents-container.component.html
  10. 2 2
      src/main/angular/src/app/core/components/real-time/real-time-container.component.html
  11. 1 1
      src/main/angular/src/app/core/components/response-summary-chart/response-summary-chart-container.component.html
  12. 1 1
      src/main/angular/src/app/core/components/scatter-chart/scatter-chart-options.component.html
  13. 5 5
      src/main/angular/src/app/core/components/scatter-chart/scatter-chart-setting-popup.component.html
  14. 1 1
      src/main/angular/src/app/core/components/server-error-popup/server-error-popup.component.html
  15. 1 1
      src/main/angular/src/app/core/components/transaction-detail-contents/transaction-detail-contents-container.component.html
  16. 1 1
      src/main/angular/src/app/core/components/transaction-list-bottom-contents/transaction-list-bottom-contents-container.component.html
  17. 1 1
      src/main/angular/src/app/routes/inspector-page/inspector-page.component.html
  18. 1 1
      src/main/angular/src/app/routes/main-page/main-page.component.html

+ 1 - 1
src/main/angular/src/app/core/components/agent-search-input/agent-search-input-container.component.html

@@ -8,5 +8,5 @@
             (outSearch)="onSearchQuery($event)">
         <button class="fas fa-search"></button>
     </div>
-    <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button>
+    <!-- <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button> -->
 </div>

+ 1 - 1
src/main/angular/src/app/core/components/agent-statistic-list/agent-statistic-list.component.ts

@@ -43,7 +43,7 @@ export class AgentStatisticListComponent implements OnInit  {
             },
             columnDefs : this.makeColumnDefs(),
             headerHeight: 34,
-            floatingFilter: true,
+            floatingFilter: false,
             animateRows: true,
             rowHeight: 30,
             getNodeChildDetails: (file) => {

+ 1 - 1
src/main/angular/src/app/core/components/filtered-map-contents/filtered-map-contents-container.component.html

@@ -5,6 +5,6 @@
     <div class="l-search-result-viewer-wrapper">
         <pp-server-map-search-result-viewer-container></pp-server-map-search-result-viewer-container>
     </div>
-    <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button>
+    <!-- <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button> -->
 </div>
 <pp-server-map-for-filtered-map-container></pp-server-map-for-filtered-map-container>

+ 1 - 1
src/main/angular/src/app/core/components/inspector-chart/agent-data-source-chart-container.component.html

@@ -8,7 +8,7 @@
                 (outCheckedIdChange)="onCheckedIdChange($event)">
             </pp-agent-data-source-chart-select-source>
         </ng-container>
-        <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button>
+        <!-- <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button> -->
     </div>
 </div>
 <div class="l-chart-area-wrapper">

+ 9 - 6
src/main/angular/src/app/core/components/inspector-chart/agent-data-source-chart-infotable.component.html

@@ -1,20 +1,23 @@
 <table class="l-source-info-table">
     <thead>
         <tr>
-            <th colspan="2">Data Source Info</th>
+            <th colspan="2">数据源信息</th>
         </tr>
     </thead>
     <tbody>
         <tr>
-            <th>Active Avg</th>
+          <!-- Active Avg -->
+            <th>平均值</th>
             <td>{{infoTableObj.activeAvg}}</td>
         </tr>
         <tr>
-            <th>Active Max</th>
+          <!-- Active Max -->
+            <th>最大值</th>
             <td>{{infoTableObj.activeMax}}</td>
         </tr>
         <tr>
-            <th>Total Max</th>
+          <!-- Total Max -->
+            <th>总最大值</th>
             <td>{{infoTableObj.totalMax}}</td>
         </tr>
         <tr>
@@ -22,11 +25,11 @@
             <td>{{infoTableObj.id}}</td>
         </tr>
         <tr>
-            <th>Type</th>
+            <th>类型</th>
             <td>{{infoTableObj.serviceType}}</td>
         </tr>
         <tr>
-            <th>Database Name</th>
+            <th>数据库名称</th>
             <td>{{infoTableObj.databaseName}}</td>
         </tr>
         <tr>

+ 2 - 2
src/main/angular/src/app/core/components/inspector-chart/application-data-source-chart-container.component.html

@@ -1,6 +1,6 @@
 <div class="l-title-group">
-    <h4>Data Source</h4>
-    <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button>
+    <h4>数据源</h4>
+    <!-- <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button> -->
 </div>
 <div class="l-chart-area-wrapper">
     <pp-loading [showLoading]="isActiveLayer('loading')" [zIndex]="10"></pp-loading>

+ 1 - 1
src/main/angular/src/app/core/components/inspector-chart/inspector-chart-container.component.html

@@ -1,6 +1,6 @@
 <div class="l-title-group">
     <ng-container *ngIf="chartContainer">{{chartContainer.title}}</ng-container>
-    <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button>
+    <!-- <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button> -->
 </div>
 <div class="l-chart-area-wrapper">
     <pp-loading [showLoading]="isActiveLayer('loading')" [zIndex]="10"></pp-loading>

+ 1 - 1
src/main/angular/src/app/core/components/load-chart/load-chart-container.component.html

@@ -1,7 +1,7 @@
 <article class="l-chart-item">
     <div class="l-tool-box">
         <p class="l-title">负载</p>
-        <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button>
+        <!-- <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button> -->
     </div>
     <div class="l-content-section">
         <pp-loading [showLoading]="showLoading" [zIndex]="10"></pp-loading>

+ 1 - 1
src/main/angular/src/app/core/components/main-contents/main-contents-container.component.html

@@ -7,7 +7,7 @@
     <div class="l-search-result-viewer-wrapper">
         <pp-server-map-search-result-viewer-container></pp-server-map-search-result-viewer-container>
     </div>
-    <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button>
+    <!-- <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button> -->
 </div>
 <pp-server-map-container></pp-server-map-container>
 <ng-container *ngIf="enableRealTime$ | async">

+ 2 - 2
src/main/angular/src/app/core/components/real-time/real-time-container.component.html

@@ -1,11 +1,11 @@
 <div class="l-thread-chart-wrap" [style.height.px]="lastHeight" [hidden]="hiddenComponent">
     <div ppResizeTop [minHeight]="minHeight" [maxHeightPadding]="maxHeightPadding" class="l-title-group font-opensans">
         <div class="l-title">
-            <span class="fas fa-chart-area"></span>Active Request
+            <span class="fas fa-chart-area"></span>主动请求
         </div>
         <div class="l-tool-box">
             <button class="fas fa-thumbtack" [class.l-pin-up]="isPinUp" (click)="onPinUp()"></button>
-            <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button>
+            <!-- <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button> -->
         </div>
     </div>
     <div class="l-chart-group-wrap font-opensans">

+ 1 - 1
src/main/angular/src/app/core/components/response-summary-chart/response-summary-chart-container.component.html

@@ -1,7 +1,7 @@
 <article class="l-chart-item">
     <div class="l-tool-box">
         <p class="l-title">响应总结</p>
-        <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button>
+        <!-- <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button> -->
     </div>
     <div class="l-content-section">
         <pp-loading [showLoading]="showLoading" [zIndex]="10"></pp-loading>

+ 1 - 1
src/main/angular/src/app/core/components/scatter-chart/scatter-chart-options.component.html

@@ -2,5 +2,5 @@
     <button [hidden]="hiddenOptions.setting" class="fas fa-cog" (click)="outShowSetting.emit()"></button>
     <button [hidden]="hiddenOptions.download" class="fas fa-download" (click)="outDownload.emit()"></button>
     <button [hidden]="hiddenOptions.open" class="fas fa-expand-arrows-alt" (click)="outOpenScatterPage.emit()"></button>
-    <button [hidden]="hiddenOptions.help" class="fas fa-question-circle l-last-child" (click)="onShowHelp($event)"></button>
+    <!-- <button [hidden]="hiddenOptions.help" class="fas fa-question-circle l-last-child" (click)="onShowHelp($event)"></button> -->
 </div>

+ 5 - 5
src/main/angular/src/app/core/components/scatter-chart/scatter-chart-setting-popup.component.html

@@ -1,17 +1,17 @@
 <article class="l-chart-setting">
     <div class="l-title-group">
         <dl>
-            <dt>Setting</dt>
+            <dt>设置</dt>
         </dl>
     </div>
     <div class="l-contents-group">
         <ul>
-            <li><label>Min of Y axis</label><input type="number" min="0" #minInput value="{{min}}"></li>
-            <li><label>Max of Y axis</label><input type="number" min="0" #maxInput value="{{max}}"></li>
+            <li><label>Y轴最小值</label><input type="number" min="0" #minInput value="{{min}}"></li>
+            <li><label>Y轴最大值</label><input type="number" min="0" #maxInput value="{{max}}"></li>
         </ul>
     </div>
     <div class="l-bottom-group">
-        <button class="active btn" (click)="onApply()">Apply</button>
-        <button class="btn" (click)="onCancel()">Cancel</button>
+        <button class="active btn" (click)="onApply()">应用</button>
+        <button class="btn" (click)="onCancel()">取消</button>
     </div>
 </article>

+ 1 - 1
src/main/angular/src/app/core/components/server-error-popup/server-error-popup.component.html

@@ -1,6 +1,6 @@
 <div class="l-title-group">
     <dl>
-        <dt>Server Error</dt>
+        <dt>服务器错误</dt>
     </dl>
     <button class="far fa-window-close" (click)="onClose()"></button>
 </div>

+ 1 - 1
src/main/angular/src/app/core/components/transaction-detail-contents/transaction-detail-contents-container.component.html

@@ -4,7 +4,7 @@
         <pp-transaction-detail-menu-for-detail-container></pp-transaction-detail-menu-for-detail-container>
         <pp-transaction-search-container [hidden]="!showSearch"></pp-transaction-search-container>
         <div>
-            <button class="fas fa-question-circle l-middle-tool-box-tip" (click)="onShowHelp($event)"></button>
+            <!-- <button class="fas fa-question-circle l-middle-tool-box-tip" (click)="onShowHelp($event)"></button> -->
         </div>
     </div>
     <div class="l-component-wrapper">

+ 1 - 1
src/main/angular/src/app/core/components/transaction-list-bottom-contents/transaction-list-bottom-contents-container.component.html

@@ -12,7 +12,7 @@
             <div>
                 <button class="fas fa-external-link-alt l-middle-tool-box-tip" (click)="onOpenTransactionDetailPage()"></button>
                 &nbsp;
-                <button class="fas fa-question-circle l-middle-tool-box-tip" (click)="onShowHelp($event)"></button>
+                <!-- <button class="fas fa-question-circle l-middle-tool-box-tip" (click)="onShowHelp($event)"></button> -->
             </div>
         </div>
         <div class="l-component-wrapper">

+ 1 - 1
src/main/angular/src/app/routes/inspector-page/inspector-page.component.html

@@ -5,7 +5,7 @@
         <pp-application-list-for-header-container></pp-application-list-for-header-container>
         <pp-period-selector-container></pp-period-selector-container>
     </div>
-    <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button>
+    <!-- <button class="fas fa-question-circle" (click)="onShowHelp($event)"></button> -->
     <pp-configuration-icon-container></pp-configuration-icon-container>
 </header>
 <div class="l-main-container">

+ 1 - 1
src/main/angular/src/app/routes/main-page/main-page.component.html

@@ -14,7 +14,7 @@
             </ng-template>
         </ng-container>
     </div>
-    <button class="fa fa-question-circle" (click)="onShowHelp($event)"></button>
+    <!-- <button class="fa fa-question-circle" (click)="onShowHelp($event)"></button> -->
     <pp-configuration-icon-container></pp-configuration-icon-container>
 </header>
 <div class="l-main-container">