feat: 修改一些提示信息 (#1274)

This commit is contained in:
zhengkunwang223 2023-06-07 14:55:24 +08:00 committed by GitHub
parent 4631da2212
commit f79293be69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 10 deletions

View file

@ -448,10 +448,6 @@ func (a *AppInstallService) ChangeAppPort(req request.PortUpdate) error {
}
}
if err := OperateFirewallPort([]int{int(appInstall.Port)}, []int{int(req.Port)}); err != nil {
global.LOG.Errorf("allow firewall failed, err: %v", err)
}
return nil
}

View file

@ -1191,8 +1191,7 @@ const message = {
takeDown: 'TakeDown',
allReadyInstalled: 'Installed',
installHelper: 'Configuring image acceleration can solve the problem of image pull failure',
upgradeHelper:
'If the upgrade fails or the abnormal application needs to be synchronized to the normal state first',
upgradeHelper: 'The abnormal application needs to be synchronized to the normal state first',
},
website: {
website: 'Website',
@ -1502,7 +1501,7 @@ const message = {
firewall: 'Firewall',
dockerHelper:
'Linux firewall {0} cannot disable Docker port mapping, you need to disable iptables in Docker configuration.',
'Linux firewall {0} cannot disable Docker port mapping, the application can edit the parameters on the [Installed] page to control whether the port is released',
quickJump: 'Quick jump',
used: 'Used',
unUsed: 'Unused',

View file

@ -1166,7 +1166,7 @@ const message = {
takeDown: '已废弃',
allReadyInstalled: '已安装',
installHelper: '配置镜像加速可以解决镜像拉取失败的问题',
upgradeHelper: '升级失败或者异常应用需要先同步到正常状态',
upgradeHelper: '异常应用需要先同步到正常状态',
},
website: {
website: '网站',
@ -1463,7 +1463,7 @@ const message = {
cookieBlockList: 'Cookie 黑名单',
firewall: '防火墙',
dockerHelper: 'Linux 防火墙 {0} 无法禁用 Docker 端口映射需要在 Docker 配置中禁用 iptables',
dockerHelper: 'Linux 防火墙 {0} 无法禁用 Docker 端口映射应用可以在 [已安装] 页面编辑参数来控制端口是否放开',
quickJump: '快速跳转',
used: '已使用',
unUsed: '未使用',

View file

@ -214,7 +214,7 @@ const onOpenDialog = async (
};
const quickJump = () => {
router.push({ name: 'ContainerSetting' });
router.push({ name: 'AppInstalled' });
};
const toDoc = () => {
window.open('https://1panel.cn/docs/user_manual/hosts/firewall/', '_blank');