提交 27a174a2 编写于 作者: nengyuangzhang's avatar nengyuangzhang

added language zh_TW to myems-web

上级 fe8d1480
......@@ -8,12 +8,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- added new protocols dtu-rtu, dtu-tcp, dtu-mqtt and mqtt-zhongxian
- added latest value to data source points table in myems-admin
- added menus for plan functions in database
- added energy plan reports (preview) in myems-web
- added energy plan reports (preview) in myems-web
- added new tables for energy, billing and carbon in database
- added language zh_TW to myems-web
### Changed
- updated Distribution System in myems-web
### Fixed
- fixed issues of optional svg textarea for equipment and combined equipment in myems-admin
- fixed issues of optional svg textarea for equipment and combined equipment in myems-admin
### Removed
-
......
......@@ -189,6 +189,7 @@ const LoginForm = ({ setRedirect, hasLabel, layout, t }) => {
<option value="tr">{t('language-tr')}</option>
<option value="ms">{t('language-ms')}</option>
<option value="id">{t('language-id')}</option>
<option value="id">{t('language-zh_TW')}</option>
</CustomInput>
<Row className="justify-content-center align-items-center">
<Col xs="auto">
......
......@@ -238,6 +238,9 @@ const SidePanelModal = ({ autoShow, showOnce, autoShowDelay, cookieExpireTime, p
<LanguageRadioBtn btnName={'ms'} />
<LanguageRadioBtn btnName={'id'} />
</ButtonGroup>
<ButtonGroup className="btn-block">
<LanguageRadioBtn btnName={'zh_TW'} />
</ButtonGroup>
</div>
<hr />
<div className="text-center mt-5">
......
export const version = '4.4.0';
export const navbarBreakPoint = 'xl'; // Vertical navbar breakpoint
export const topNavbarBreakpoint = 'lg';
// export const APIBaseURL = 'http://127.0.0.1:8000';
//export const APIBaseURL = 'http://127.0.0.1:8000';
export const APIBaseURL = window.location.protocol + '//' + window.location.hostname + ':' + window.location.port + '/api';
export const settings = {
isFluid: true,
......@@ -16,7 +16,7 @@ export const settings = {
currency: '¥',
isNavbarVerticalCollapsed: false,
navbarStyle: 'transparent',
language: 'zh_CN', //zh_CN, en, de, fr, es, ru, ar, vi, th, tr, ms, id
language: 'zh_CN', //zh_CN, en, de, fr, es, ru, ar, vi, th, tr, ms, id, zh_TW
showOnlineMap: false, // if you wnat to turn off online map feature, please set showOnlineMap to false
mapboxToken: 'GET-YOUR-TOKEN-AT-MAPBOX.COM', // you can get access token at https://mapbox.com
cookieExpireTime: 1000 * 60 * 60 //cookie expires time in milliseconds
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册