节点在线、应用在线、配置在线使用令牌查询
大石头 authored at 2021-12-16 19:49:30
5.59 KiB
Stardust
# 简体中文译文。键为英文源文,缺失时运行期回退英文。
"Routes fetched from StarServer are empty; falling back to the database": "从 StarServer 拉取的路由为空,回退数据库"
"Fetched route configuration from StarServer: {0} route(s)": "从 StarServer 拉取路由配置完成,共 {0} 条路由"
"Loaded route configuration from local file {0}: {1} route(s) (local fallback)": "从本地文件 {0} 加载路由配置,共 {1} 条(本地兜底)"
"Loaded route configuration from the database: {0} route(s)": "从数据库加载路由配置完成,共 {0} 条路由"
"Failed to read static file: {0} - {1}": "读取静态文件失败: {0} - {1}"
"Service [{0}] stop timed out; forcing shutdown": "服务 [{0}] 停止超时,强制关闭"
"Loading SSL certificate: {0} -> {1}": "加载SSL证书: {0} -> {1}"
"Health check: {0} -> {1}": "健康检查: {0} -> {1}"
"No default page in static directory: {0}": "静态目录无默认页: {0}"
"Static file not found: {0}": "静态文件不存在: {0}"
"Static file root directory not found: {0}": "静态文件根目录不存在: {0}"
"Path traversal attack blocked: {0}": "路径穿越攻击被阻止: {0}"
"Database initialization completed": "数据库初始化完成"
"No SSL certificate configured; only HTTP is supported": "未配置SSL证书,仅支持HTTP"
"Gracefully shutting down the service...": "正在优雅关闭服务……"
"HTTP reverse proxy started, listening on port {0}, route count: {1}": "Http反向代理启动,监听端口:{0},路由数:{1}"
"NAT proxy => {0}": "NAT代理 => {0}"
"SPA fallback: {0} -> {1}": "SPA回退: {0} -> {1}"
"StarGateway has no StarServer configured; running in standalone mode (database + local configuration only)": "StarGateway 未配置 StarServer,将以独立模式运行(仅数据库 + 本地配置)"
"StarGateway connected to StarServer: {0}": "StarGateway 已连接 StarServer: {0}"
"StarGateway started, listening on port {0}, remote server {1}": "StarGateway 已启动,监听端口 {0},远程服务器 {1}"
# 运行时消息补充词条
"Configuration refreshed.": "配置已刷新"
"Failed to load the SSL certificate configuration: {0}": "加载SSL证书配置失败:{0}"
"Failed to load certificate {0}: {1}": "加载证书 {0} 失败:{1}"
"Failed to load configuration from {0}: {1}": "从 {0} 加载配置失败:{1}"
"StarServer is using plain HTTP. Remote certificate loading is refused for security because the private key password would be exposed on the wire; falling back to the database. Use HTTPS in production.": "StarServer 使用明文 http,出于安全考虑拒绝从远程加载证书(私钥密码会在链路上暴露),证书回退数据库加载;生产环境请改用 https"
"Failed to fetch configuration from StarServer; falling back to the database: {0}": "从 StarServer 拉取配置失败,回退数据库:{0}"
"Failed to load route configuration: {0}": "加载路由配置失败:{0}"
"Failed to start service {0} via StarAgent: {1}": "调用StarAgent启动服务失败 {0}:{1}"
"Failed to stop service {0} via StarAgent: {1}": "调用StarAgent停止服务失败 {0}:{1}"
"Idle recycle: {0} has been inactive for more than {1} seconds": "空闲回收:{0} 超过 {1} 秒无活动"
"WebSocket is forbidden by route {0}: {1} {2}": "WebSocket被路由 {0} 禁止:{1} {2}"
"Static {0} {1} -> 404 {2}": "静态 {0} {1} -> 404 {2}"
"Route {0} has no available backend nodes": "路由 {0} 没有可用的后端节点"
"Error handling request {0} {1}: {2}": "处理请求异常 {0} {1}:{2}"
"WS upgrade succeeded: {0}": "WS 升级成功:{0}"
"Cold start: trying to wake {0} (route: {1})": "冷启动:尝试唤醒 {0}(路由:{1})"
"Failed to connect {0} to remote server {1}! elapsed {2}! {3}": "无法为 {0} 连接远程服务器 {1}!耗时 {2}!{3}"
"Error forwarding to the client: {0}": "转发给客户端出错:{0}"
"Directory: {0}": "目录:{0}"
"Failed to read directory: {0}": "读取目录失败:{0}"
"Stardust gateway": "星尘网关"
"Stardust gateway proxy. Provides traffic forwarding and reverse proxy with dynamic route switching, and works with the Stardust registry for service discovery and load balancing in microservice gateway scenarios.": "星尘网关代理。提供流量转发与反向代理能力,支持动态路由切换,可与星尘注册中心协同实现服务发现与负载均衡,适用于微服务网关场景。"
"Debug switch. Default true.": "调试开关。默认true"
"Service port. Default 8800.": "服务端口。默认8800"
"Token secret. Algorithm and secret used to generate JWT tokens, e.g. HS256:ABCD1234": "令牌密钥。用于生成JWT令牌的算法和密钥,如HS256:ABCD1234"
"Stardust server address, e.g. http://star.newlifex.com:6600": "星尘服务端地址。如 http://star.newlifex.com:6600"
"Local configuration file path. Fallback configuration used when StarServer is unreachable.": "本地配置文件路径。StarServer不可达时的兜底配置"
"Admin API token. Non-loopback access to /api/* requires a matching token; leave empty to allow only local loopback": "Admin API 令牌。非回环访问 /api/* 需携带匹配令牌;留空仅允许本机回环"
"Health check interval. In seconds, default 10 seconds": "健康检查间隔。单位秒,默认10秒"
"Configuration refresh interval. Unit: seconds, default 15 seconds.": "配置刷新间隔。单位秒,默认15秒"
"Idle timeout. In seconds; backend connections with no traffic longer than this are reclaimed. Default 900 seconds (15 minutes)": "空闲超时。单位秒,后端超过该时间无流量的连接将被回收,默认900秒(15分钟)"