mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-11-11 12:10:45 +08:00
feat: 修改一些提示信息 (#1274)
This commit is contained in:
parent
4631da2212
commit
f79293be69
4 changed files with 5 additions and 10 deletions
|
|
@ -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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1191,8 +1191,7 @@ const message = {
|
||||||
takeDown: 'TakeDown',
|
takeDown: 'TakeDown',
|
||||||
allReadyInstalled: 'Installed',
|
allReadyInstalled: 'Installed',
|
||||||
installHelper: 'Configuring image acceleration can solve the problem of image pull failure',
|
installHelper: 'Configuring image acceleration can solve the problem of image pull failure',
|
||||||
upgradeHelper:
|
upgradeHelper: 'The abnormal application needs to be synchronized to the normal state first',
|
||||||
'If the upgrade fails or the abnormal application needs to be synchronized to the normal state first',
|
|
||||||
},
|
},
|
||||||
website: {
|
website: {
|
||||||
website: 'Website',
|
website: 'Website',
|
||||||
|
|
@ -1502,7 +1501,7 @@ const message = {
|
||||||
|
|
||||||
firewall: 'Firewall',
|
firewall: 'Firewall',
|
||||||
dockerHelper:
|
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',
|
quickJump: 'Quick jump',
|
||||||
used: 'Used',
|
used: 'Used',
|
||||||
unUsed: 'Unused',
|
unUsed: 'Unused',
|
||||||
|
|
|
||||||
|
|
@ -1166,7 +1166,7 @@ const message = {
|
||||||
takeDown: '已废弃',
|
takeDown: '已废弃',
|
||||||
allReadyInstalled: '已安装',
|
allReadyInstalled: '已安装',
|
||||||
installHelper: '配置镜像加速可以解决镜像拉取失败的问题',
|
installHelper: '配置镜像加速可以解决镜像拉取失败的问题',
|
||||||
upgradeHelper: '升级失败或者异常应用需要先同步到正常状态',
|
upgradeHelper: '异常应用需要先同步到正常状态',
|
||||||
},
|
},
|
||||||
website: {
|
website: {
|
||||||
website: '网站',
|
website: '网站',
|
||||||
|
|
@ -1463,7 +1463,7 @@ const message = {
|
||||||
cookieBlockList: 'Cookie 黑名单',
|
cookieBlockList: 'Cookie 黑名单',
|
||||||
|
|
||||||
firewall: '防火墙',
|
firewall: '防火墙',
|
||||||
dockerHelper: 'Linux 防火墙 {0} 无法禁用 Docker 端口映射,需要在 Docker 配置中禁用 iptables',
|
dockerHelper: 'Linux 防火墙 {0} 无法禁用 Docker 端口映射,应用可以在 [已安装] 页面编辑参数来控制端口是否放开',
|
||||||
quickJump: '快速跳转',
|
quickJump: '快速跳转',
|
||||||
used: '已使用',
|
used: '已使用',
|
||||||
unUsed: '未使用',
|
unUsed: '未使用',
|
||||||
|
|
|
||||||
|
|
@ -214,7 +214,7 @@ const onOpenDialog = async (
|
||||||
};
|
};
|
||||||
|
|
||||||
const quickJump = () => {
|
const quickJump = () => {
|
||||||
router.push({ name: 'ContainerSetting' });
|
router.push({ name: 'AppInstalled' });
|
||||||
};
|
};
|
||||||
const toDoc = () => {
|
const toDoc = () => {
|
||||||
window.open('https://1panel.cn/docs/user_manual/hosts/firewall/', '_blank');
|
window.open('https://1panel.cn/docs/user_manual/hosts/firewall/', '_blank');
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue