mirror of
https://github.com/nezhahq/scripts.git
synced 2025-07-12 13:29:32 +08:00
218 lines
15 KiB
JSON
218 lines
15 KiB
JSON
{
|
||
"zh_CN": {
|
||
"locale": "zh_CN",
|
||
"script": "install.sh",
|
||
"ErrorFetchFile": "文件下载失败,请检查本机能否连接",
|
||
"ErrorFetchScript": "脚本获取失败,请检查本机能否链接 ",
|
||
"ErrorObtainVersion": "获取 %s 版本号失败,请检查本机能否链接",
|
||
"ErrorModifyConfig": "所有选项都不能为空",
|
||
"DoNotEdit": "# Generated by nezhahq/scriptgen. DO NOT EDIT",
|
||
"SudoError": "错误: 您的系统未安装 sudo,因此无法进行该项操作。",
|
||
"SystemdCheckError": "不支持此系统:未找到 systemctl 命令",
|
||
"GeoInfo": "根据geoip api提供的信息,当前IP可能在中国",
|
||
"PromptMirror": "是否选用中国镜像完成安装? [Y/n] (自定义镜像输入 3):",
|
||
"UseCustomMirror": "使用自定义镜像",
|
||
"PromptCustomImage": "请输入自定义镜像 (例如:dn-dao-github-mirror.daocloud.io),留空为不使用:",
|
||
"UseChineseMirror": "使用中国镜像",
|
||
"NoUseChineseMirror": "不使用中国镜像",
|
||
"DockerImageFound": "存在带有 nezha-dashboard 仓库的 Docker 镜像:",
|
||
"DockerImageNotFound": "未找到带有 nezha-dashboard 仓库的 Docker 镜像。",
|
||
"SelectInstallMethod": "请自行选择您的安装方式(如果你是安装Agent,输入哪个都是一样的):",
|
||
"PromptSelectVersion": "请输入选择 [1-2]:",
|
||
"StandaloneInstall": "独立安装",
|
||
"ErrorSelectVersion": "请输入正确的选择 [1-2]",
|
||
"UpdateScript": "更新脚本",
|
||
"ExecuteScriptInfo": "3s后执行新脚本",
|
||
"BeforeShowMenu": "按回车返回主菜单",
|
||
"InstallDashboard": "安装面板",
|
||
"InstallDashboardInfo": "您可能已经安装过面板端,重复安装会覆盖数据,请注意备份。",
|
||
"PromptInstallDashboard": "是否退出安装? [Y/n] ",
|
||
"ContinueInstallation": "继续安装",
|
||
"ExitInstallation": "退出安装",
|
||
"InstallDockerInfo": "正在安装 Docker",
|
||
"InstallDockerSuccess": "Docker 安装成功",
|
||
"SELinuxInfo": "SELinux是开启状态,正在关闭!",
|
||
"InstallAgent": "安装监控Agent",
|
||
"ObtainAgentVersion": "正在获取监控Agent版本号",
|
||
"CurrentVersionInfo": "当前最新版本为:",
|
||
"DownloadAgent": "正在下载监控端",
|
||
"ErrorDownloadAgent": "Release 下载失败,请检查本机能否连接",
|
||
"ModifyConfiguration": "修改 %s 配置",
|
||
"SuccessModifyConfig": "%[1]s 配置 修改成功,请稍等 %[1]s 重启生效",
|
||
"ModifyAgentConfInfo": "请先在管理面板上添加Agent,记录下密钥",
|
||
"PromptModifyAgent_1": "请输入一个解析到面板所在IP的域名(不可套CDN): ",
|
||
"PromptModifyAgent_2": "请输入面板RPC端口 (默认值 5555): ",
|
||
"PromptModifyAgent_3": "请输入Agent 密钥: ",
|
||
"PromptModifyAgent_4": "是否启用针对 gRPC 端口的 SSL/TLS加密 (--tls),需要请按 [y],默认是不需要,不理解用户可回车跳过: ",
|
||
"DownloadDockerScript": "正在下载 Docker 脚本",
|
||
"ErrorCheckDocker": "请手动安装 docker-compose。",
|
||
"PromptModifyDashboard_1": "关于 GitHub Oauth2 应用:在 https://github.com/settings/developers 创建,无需审核,Callback 填 http(s)://域名或IP/oauth2/callback",
|
||
"PromptModifyDashboard_2": "关于 Gitee Oauth2 应用:在 https://gitee.com/oauth/applications 创建,无需审核,Callback 填 http(s)://域名或IP/oauth2/callback",
|
||
"PromptModifyDashboard_3": "请输入 OAuth2 提供商(github/gitlab/jihulab/gitee,默认 github): ",
|
||
"PromptModifyDashboard_4": "请输入 Oauth2 应用的 Client ID: ",
|
||
"PromptModifyDashboard_5": "请输入 Oauth2 应用的 Client Secret: ",
|
||
"PromptModifyDashboard_6": "请输入 GitHub/Gitee 登录名作为管理员,多个以逗号隔开: ",
|
||
"PromptModifyDashboard_7": "请输入站点标题: ",
|
||
"PromptModifyDashboard_8": "请输入站点访问端口: (默认 8008)",
|
||
"PromptModifyDashboard_9": "请输入用于 Agent 接入的 RPC 端口: (默认 5555)",
|
||
"DownloadServiceScript": "正在下载服务文件",
|
||
"RestartAndUpdate": "重启并更新面板",
|
||
"SuccessRestartDashboard": "哪吒监控 重启成功",
|
||
"SuccessStartDashboard": "哪吒监控 启动成功",
|
||
"DashboardInfo": "默认管理面板地址:域名:站点访问端口",
|
||
"ErrorRestartDashboard": "重启失败,可能是因为启动时间超过了两秒,请稍后查看日志信息",
|
||
"StartDashboard": "启动面板",
|
||
"ErrorFailedToStart": "启动失败,请稍后查看日志信息",
|
||
"ErrorFailedToStop": "停止失败,请稍后查看日志信息",
|
||
"StopDashboard": "停止面板",
|
||
"SuccessStopDashboard": "哪吒监控 停止成功",
|
||
"ViewLog": "获取 %s 日志",
|
||
"UninstallDashboard": "卸载 Dashboard",
|
||
"UninstallAgent": "卸载 Agent",
|
||
"RestartAgent": "重启 Agent",
|
||
"Usage1": "哪吒监控 管理脚本使用方法: ",
|
||
"Usage2": "./nezha.sh - 显示管理菜单",
|
||
"Usage3": "./nezha.sh install_dashboard - 安装面板端",
|
||
"Usage4": "./nezha.sh modify_dashboard_config - 修改面板配置",
|
||
"Usage5": "./nezha.sh start_dashboard - 启动面板",
|
||
"Usage6": "./nezha.sh stop_dashboard - 停止面板",
|
||
"Usage7": "./nezha.sh restart_and_update - 重启并更新面板",
|
||
"Usage8": "./nezha.sh show_dashboard_log - 查看面板日志",
|
||
"Usage9": "./nezha.sh uninstall_dashboard - 卸载管理面板",
|
||
"Usage10": "./nezha.sh install_agent - 安装监控Agent",
|
||
"Usage11": "./nezha.sh modify_agent_config - 修改Agent配置",
|
||
"Usage12": "./nezha.sh show_agent_log - 查看Agent日志",
|
||
"Usage13": "./nezha.sh uninstall_agent - 卸载Agent",
|
||
"Usage14": "./nezha.sh restart_agent - 重启Agent",
|
||
"Usage15": "./nezha.sh update_script - 更新脚本",
|
||
"MenuInfo": "哪吒监控管理脚本",
|
||
"Menu0": "退出脚本",
|
||
"Menu1": "安装面板端",
|
||
"Menu2": "修改面板配置",
|
||
"Menu3": "启动面板",
|
||
"Menu4": "停止面板",
|
||
"Menu5": "重启并更新面板",
|
||
"Menu6": "查看面板日志",
|
||
"Menu7": "卸载管理面板",
|
||
"Menu8": "安装监控Agent",
|
||
"Menu9": "修改Agent配置",
|
||
"Menu10": "查看Agent日志",
|
||
"Menu11": "卸载Agent",
|
||
"Menu12": "重启Agent",
|
||
"Menu13": "更新脚本",
|
||
"PromptMenu": "请输入选择 [0-13]: ",
|
||
"ErrorPromptMenu": "请输入正确的数字 [0-13]",
|
||
"InstallArchPrompt1": "提示:Arch安装libselinux需添加nezha-agent用户,安装完会自动删除,建议手动检查一次",
|
||
"InstallArchPrompt2": "是否安装libselinux? [Y/n] ",
|
||
"InstallArchPrompt3": "提示: 已删除用户nezha-agent,请务必手动核查一遍!",
|
||
"InstallArchPrompt4": "不安装libselinux"
|
||
},
|
||
"en_US": {
|
||
"locale": "en_US",
|
||
"script": "install_en.sh",
|
||
"ErrorFetchFile": "File failed to get, please check if the network can link",
|
||
"ErrorFetchScript": "Script failed to get, please check if the network can link",
|
||
"ErrorObtainVersion": "Fail to obtain %s version, please check if the network can link",
|
||
"ErrorModifyConfig": "All options cannot be empty",
|
||
"DoNotEdit": "# Generated by nezhahq/scriptgen. DO NOT EDIT",
|
||
"SudoError": "ERROR: sudo is not installed on the system, the action cannot be proceeded.",
|
||
"SystemdCheckError": "System not supported: systemctl not found",
|
||
"GeoInfo": "According to the information provided by various geoip api, the current IP may be in China",
|
||
"PromptMirror": "Will the installation be done with a Chinese Mirror? [Y/n] (Custom Mirror Input 3): ",
|
||
"UseCustomMirror": "Use Custom Mirror",
|
||
"PromptCustomImage": "Please enter a custom image (e.g. :dn-dao-github-mirror.daocloud.io). If left blank, it won't be used: ",
|
||
"UseChineseMirror": "Use Chinese Mirror",
|
||
"NoUseChineseMirror": "Do Not Use Chinese Mirror",
|
||
"DockerImageFound": "Docker image with nezha-dashboard repository exists:",
|
||
"DockerImageNotFound": "No Docker images with the nezha-dashboard repository were found.",
|
||
"SelectInstallMethod": "Select your installation method(Input anything is ok if you are installing agent):",
|
||
"PromptSelectVersion": "Please enter [1-2]: ",
|
||
"StandaloneInstall": "Standalone",
|
||
"ErrorSelectVersion": "Please enter the correct number [1-2]",
|
||
"UpdateScript": "Update Script",
|
||
"ExecuteScriptInfo": "Execute new script after 3s",
|
||
"BeforeShowMenu": "Press Enter to return to the main menu",
|
||
"InstallDashboard": "Install Dashboard",
|
||
"InstallDashboardInfo": "You may have already installed the dashboard, repeated installation will overwrite the data, please pay attention to backup.",
|
||
"PromptInstallDashboard": "Exit the installation? [Y/n] ",
|
||
"ContinueInstallation": "Continue.",
|
||
"ExitInstallation": "Exit the installation.",
|
||
"InstallDockerInfo": "Installing Docker",
|
||
"InstallDockerSuccess": "Docker installed successfully",
|
||
"SELinuxInfo": "SELinux running, closing now!",
|
||
"InstallAgent": "Install Agent",
|
||
"ObtainAgentVersion": "Obtaining Agent version number",
|
||
"CurrentVersionInfo": "The current latest version is:",
|
||
"DownloadAgent": "Downloading Agent",
|
||
"ErrorDownloadAgent": "Fail to download agent, please check if the network can link",
|
||
"ModifyConfiguration": "Modify %s Configuration",
|
||
"SuccessModifyConfig": "%[1]s configuration modified successfully, please wait for %[1]s self-restart to take effect",
|
||
"ModifyAgentConfInfo": "Please add Agent in the Dashboard first, record the secret",
|
||
"PromptModifyAgent_1": "Please enter a domain that resolves to the IP where Dashboard is located (no CDN): ",
|
||
"PromptModifyAgent_2": "Please enter Dashboard RPC port (default 5555): ",
|
||
"PromptModifyAgent_3": "Please enter the Agent secret: ",
|
||
"PromptModifyAgent_4": "Do you want to enable SSL/TLS encryption for the gRPC port (--tls)? Press [y] if yes, the default is not required, and users can press Enter to skip if you don't understand: ",
|
||
"DownloadDockerScript": "Download Docker Script",
|
||
"ErrorCheckDocker": "Please install docker-compose manually.",
|
||
"PromptModifyDashboard_1": "About the GitHub Oauth2 application: create it at https://github.com/settings/developers, no review required, and fill in the http(s)://domain_or_IP/oauth2/callback",
|
||
"PromptModifyDashboard_2": "(Not recommended) About the Gitee Oauth2 application: create it at https://gitee.com/oauth/applications, no auditing required, and fill in the http(s)://domain_or_IP/oauth2/callback",
|
||
"PromptModifyDashboard_3": "Please enter the OAuth2 provider (github/gitlab/jihulab/gitee, default github): ",
|
||
"PromptModifyDashboard_4": "Please enter the Client ID of the Oauth2 application: ",
|
||
"PromptModifyDashboard_5": "Please enter the Client Secret of the Oauth2 application: ",
|
||
"PromptModifyDashboard_6": "Please enter your GitHub/Gitee login name as the administrator, separated by commas: ",
|
||
"PromptModifyDashboard_7": "Please enter the site title: ",
|
||
"PromptModifyDashboard_8": "Please enter the site access port: (default 8008)",
|
||
"PromptModifyDashboard_9": "Please enter the RPC port to be used for Agent access: (default 5555)",
|
||
"DownloadServiceScript": "Downloading service file",
|
||
"RestartAndUpdate": "Restart and Update Dashboard",
|
||
"SuccessRestartDashboard": "Nezha Monitoring Restart Successful",
|
||
"SuccessStartDashboard": "Nezha Monitoring Start Successful",
|
||
"DashboardInfo": "Default Dashboard address: domain:site_access_port",
|
||
"ErrorRestartDashboard": "The restart failed, probably because the boot time exceeded two seconds, please check the log information later",
|
||
"StartDashboard": "Start Dashboard",
|
||
"ErrorFailedToStart": "Failed to start, please check the log message later",
|
||
"ErrorFailedToStop": "Failed to stop, please check the log message later",
|
||
"StopDashboard": "Stop Dashboard",
|
||
"SuccessStopDashboard": "Nezha Monitoring Stop Successful",
|
||
"ViewLog": "View %s Log",
|
||
"UninstallDashboard": "Uninstall Dashboard",
|
||
"UninstallAgent": "Uninstall Agent",
|
||
"RestartAgent": "Restart Agent",
|
||
"Usage1": "Nezha Monitor Management Script Usage: ",
|
||
"Usage2": "./nezha.sh - Show Menu",
|
||
"Usage3": "./nezha.sh install_dashboard - Install Dashboard",
|
||
"Usage4": "./nezha.sh modify_dashboard_config - Modify Dashboard Configuration",
|
||
"Usage5": "./nezha.sh start_dashboard - Start Dashboard",
|
||
"Usage6": "./nezha.sh stop_dashboard - Stop Dashboard",
|
||
"Usage7": "./nezha.sh restart_and_update - Restart and Update the Dashboard",
|
||
"Usage8": "./nezha.sh show_dashboard_log - View Dashboard Log",
|
||
"Usage9": "./nezha.sh uninstall_dashboard - Uninstall Dashboard",
|
||
"Usage10": "./nezha.sh install_agent - Install Agent",
|
||
"Usage11": "./nezha.sh modify_agent_config - Modify Agent Configuration",
|
||
"Usage12": "./nezha.sh show_agent_log - View Agent Log",
|
||
"Usage13": "./nezha.sh uninstall_agent - Uninstall Agent",
|
||
"Usage14": "./nezha.sh restart_agent - Restart Agent",
|
||
"Usage15": "./nezha.sh update_script - Update Script",
|
||
"MenuInfo": "Nezha Monitor Management Script",
|
||
"Menu0": "Exit Script",
|
||
"Menu1": "Install Dashboard",
|
||
"Menu2": "Modify Dashbaord Configuration",
|
||
"Menu3": "Start Dashboard",
|
||
"Menu4": "Stop Dashboard",
|
||
"Menu5": "Restart and Update Dashboard",
|
||
"Menu6": "View Dashboard Log",
|
||
"Menu7": "Uninstall Dashboard",
|
||
"Menu8": "Install Agent",
|
||
"Menu9": "Modify Agent Configuration",
|
||
"Menu10": "View Agent Log",
|
||
"Menu11": "Uninstall Agent",
|
||
"Menu12": "Restart Agent",
|
||
"Menu13": "Update Script",
|
||
"PromptMenu": "Please enter [0-13]: ",
|
||
"ErrorPromptMenu": "Please enter the correct number [0-13]",
|
||
"InstallArchPrompt1": "Archlinux needs to add nezha-agent user to install libselinux. It will be deleted automatically after installation. It is recommended to check manually",
|
||
"InstallArchPrompt2": "Do you need to install libselinux? [Y/n] ",
|
||
"InstallArchPrompt3": "Info: user nezha-agent has been deleted, Be sure to check it manually!",
|
||
"InstallArchPrompt4": "Libselinux will not be installed"
|
||
}
|
||
} |