fix(locale): translation typo

This commit is contained in:
xilesun 2023-05-22 19:58:55 +08:00
parent db349ccb68
commit 518ca740f8
2 changed files with 5 additions and 5 deletions

View File

@ -779,10 +779,10 @@ export default {
'Form data templates': '表单数据模板', 'Form data templates': '表单数据模板',
'Data template': '数据模板', 'Data template': '数据模板',
'Reload Application': '重载应用', 'Reload application': '重载应用',
'The application is reloading, please do not close the page.': '应用正在重新加载,请勿关闭页面。', 'The application is reloading, please do not close the page.': '应用正在重新加载,请勿关闭页面。',
'Application reloading': '应用重新加载中', 'Application reloading': '应用重新加载中',
'Reboot Application': '重启应用', 'Reboot application': '重启应用',
"Allows to clear cache, reboot application": "允许清除缓存,重启应用", "Allows to clear cache, reboot application": "允许清除缓存,重启应用",
'The will interrupt service, it may take a few seconds to restart. Are you sure to continue?': '重启将会中断当前服务,这个过程可能需要一点时间,确定要继续吗?', 'The will interrupt service, it may take a few seconds to restart. Are you sure to continue?': '重启将会中断当前服务,这个过程可能需要一点时间,确定要继续吗?',
'Reboot': '重启', 'Reboot': '重启',

View File

@ -80,13 +80,13 @@ export const CurrentUser = () => {
window.location.reload(); window.location.reload();
}} }}
> >
{t('Clear Cache')} {t('Clear cache')}
</Menu.Item> </Menu.Item>
<Menu.Item <Menu.Item
key="reboot" key="reboot"
onClick={async () => { onClick={async () => {
Modal.confirm({ Modal.confirm({
title: t('Reboot Application'), title: t('Reboot application'),
content: t( content: t(
'The will interrupt service, it may take a few seconds to restart. Are you sure to continue?', 'The will interrupt service, it may take a few seconds to restart. Are you sure to continue?',
), ),
@ -102,7 +102,7 @@ export const CurrentUser = () => {
}); });
}} }}
> >
{t('Reboot Application')} {t('Reboot application')}
</Menu.Item> </Menu.Item>
<Menu.Divider /> <Menu.Divider />
</> </>