Commit abad99e1b209d5e2a5b39c294731356dc5a33f25

Authored by Min
1 parent 1aaa957c

1.MES最大化,退出翻译成中文

Showing 1 changed file with 4 additions and 2 deletions
src/mes/indexMes/index.js
@@ -712,6 +712,8 @@ const MachineMessageComponent = ({ e, shutDown, props }) => { @@ -712,6 +712,8 @@ const MachineMessageComponent = ({ e, shutDown, props }) => {
712 const second = commonFunc.showLocalMessage(props, 'second', '秒'); 712 const second = commonFunc.showLocalMessage(props, 'second', '秒');
713 const ExitLogin = commonFunc.showLocalMessage(props, 'ExitLogin', '退出'); 713 const ExitLogin = commonFunc.showLocalMessage(props, 'ExitLogin', '退出');
714 const minimize = commonFunc.showLocalMessage(props, 'minimize', '最小化'); 714 const minimize = commonFunc.showLocalMessage(props, 'minimize', '最小化');
  715 + const maximize = commonFunc.showLocalMessage(props, 'maximize', '最大化');
  716 +
715 717
716 const sct = commonFunc.showLocalMessage(props, 'sct', '系统当前时间:'); 718 const sct = commonFunc.showLocalMessage(props, 'sct', '系统当前时间:');
717 const DowntimeStartTime = commonFunc.showLocalMessage(props, 'DowntimeStartTime', '停机开始时间:'); 719 const DowntimeStartTime = commonFunc.showLocalMessage(props, 'DowntimeStartTime', '停机开始时间:');
@@ -763,8 +765,8 @@ const MachineMessageComponent = ({ e, shutDown, props }) => { @@ -763,8 +765,8 @@ const MachineMessageComponent = ({ e, shutDown, props }) => {
763 <div className="p">{beginTime} {startTime}</div> 765 <div className="p">{beginTime} {startTime}</div>
764 <div className="p">{downtimeDuration}{diffHours}{second} {diffMins}{min} {diffSecs}{second}</div> 766 <div className="p">{downtimeDuration}{diffHours}{second} {diffMins}{min} {diffSecs}{second}</div>
765 <div className="btn"> 767 <div className="btn">
766 - <Button size="large" type="primary" className={styles.btnWg} onClick={() => isMinMax.current = 'max'} > 最大化 </Button>  
767 - <Button size="large" type="primary" className={styles.btnWg} onClick={handleMenuClose} > 退出 </Button> 768 + <Button size="large" type="primary" className={styles.btnWg} onClick={() => isMinMax.current = 'max'} > {maximize} </Button>
  769 + <Button size="large" type="primary" className={styles.btnWg} onClick={handleMenuClose} > {ExitLogin} </Button>
768 </div> 770 </div>
769 </div> 771 </div>
770 </div> 772 </div>