From 7eb9d00a503113d91e3b070cc15354fb99532cd9 Mon Sep 17 00:00:00 2001 From: felis Date: Tue, 21 Jul 2026 19:47:21 -0700 Subject: [PATCH] remove streamer-specific branding --- README.md | 2 +- apps/overlay/src/auth.tsx | 2 +- apps/server-rust/src/auth.rs | 4 ++-- config.toml.example | 2 +- resources/i18n.toml | 34 +++++++++++++++++----------------- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 6873e78..9161dc3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 洛星瓷直播组件服务 +# 多用户直播组件服务 这是一个多用户 Rust/Axum 直播组件后端。目前内建 `danmaku_overlay` 弹幕姬、`song_request` 点歌姬、 `gift_effect` 全屏礼物特效与 `gift_menu` diff --git a/apps/overlay/src/auth.tsx b/apps/overlay/src/auth.tsx index 1b53ced..60e0cb9 100644 --- a/apps/overlay/src/auth.tsx +++ b/apps/overlay/src/auth.tsx @@ -108,7 +108,7 @@ function RecoveryCodes({ codes, onContinue }: { codes: string[]; onContinue: () const url = URL.createObjectURL(blob) const anchor = document.createElement('a') anchor.href = url - anchor.download = 'luoxingci-recovery-codes.txt' + anchor.download = 'live-component-recovery-codes.txt' anchor.click() URL.revokeObjectURL(url) } diff --git a/apps/server-rust/src/auth.rs b/apps/server-rust/src/auth.rs index 60bf4ab..622c085 100644 --- a/apps/server-rust/src/auth.rs +++ b/apps/server-rust/src/auth.rs @@ -1971,8 +1971,8 @@ mod tests { #[test] fn username_and_room_validation_are_canonical() { assert_eq!( - normalize_username(" LuoXingCi ").expect("username"), - ("LuoXingCi".into(), "luoxingci".into()) + normalize_username(" ExampleStreamer ").expect("username"), + ("ExampleStreamer".into(), "examplestreamer".into()) ); assert!(normalize_username("ab").is_err()); assert!(normalize_username("bad name").is_err()); diff --git a/config.toml.example b/config.toml.example index 618faf2..f28777b 100644 --- a/config.toml.example +++ b/config.toml.example @@ -1,4 +1,4 @@ -# 洛星瓷多用户直播组件服务配置。 +# 多用户直播组件服务配置。 # # 使用方式:复制为 config.toml 后填写所有 replace-with-* 项。这个文件 # 包含首次迁移所需的 CookieCloud、bootstrap proof 和旧 OBS 令牌,请不要 diff --git a/resources/i18n.toml b/resources/i18n.toml index 6b7caab..7f21148 100644 --- a/resources/i18n.toml +++ b/resources/i18n.toml @@ -8,7 +8,7 @@ name = "简体中文" [locales."zh-CN".messages] "language.label" = "语言" "language.save_failed" = "语言偏好保存失败,请稍后重试。" -"brand.name" = "洛星瓷直播云台" +"brand.name" = "直播组件控制台" "brand.tagline" = "OBS 组件工作室" "common.star" = "星" "common.cloud" = "云" @@ -64,13 +64,13 @@ name = "简体中文" "main.obs_missing_credentials" = "OBS 地址缺少组件标识或访问令牌" "main.obs_invalid_token" = "OBS 访问令牌无效或已经轮换" "main.obs_connecting" = "正在连接组件…" -"main.redirecting" = "正在前往云台…" +"main.redirecting" = "正在前往控制台…" "main.not_found_title" = "这里没有组件" "main.not_found_description" = "地址可能已经失效,或者组件已被所属用户删除。" "main.back_to_console" = "返回控制台" "main.auth_unavailable" = "无法连接认证服务" "main.offline_title" = "控制台目前处于离线状态" -"main.unavailable_title" = "云台暂时无法连接" +"main.unavailable_title" = "控制台暂时无法连接" "main.offline_description" = "应用外壳已离线打开,但账户、直播源和组件数据不会缓存。联网后即可重新验证会话。" "main.retry" = "重新连接" "main.verifying_session" = "正在验证安全会话…" @@ -84,7 +84,7 @@ name = "简体中文" "auth.totp_step_manual" = "若无法扫码,选择“输入设置密钥”。" "auth.totp_step_confirm" = "输入应用中出现的 6 位动态码完成绑定。" "auth.manual_key" = "手工设置密钥" -"auth.recovery_file_title" = "洛星瓷直播组件恢复码" +"auth.recovery_file_title" = "直播组件控制台恢复码" "auth.recovery_file_warning" = "每个恢复码只能使用一次,请离线妥善保存。" "auth.security_complete" = "安全设置完成" "auth.save_recovery_codes" = "保存账户恢复码" @@ -95,8 +95,8 @@ name = "简体中文" "auth.recovery_saved" = "我已妥善保存" "auth.login_blocker" = "完成或清空正在填写的登录表单" "auth.login_failed" = "用户名或动态验证码不正确" -"auth.product_eyebrow" = "洛星瓷直播组件" -"auth.login_title" = "回到你的云台" +"auth.product_eyebrow" = "直播组件" +"auth.login_title" = "回到你的控制台" "auth.first_deployment" = "首次部署?" "auth.create_admin" = "创建系统管理员" "auth.have_invitation" = "持有邀请码?" @@ -252,7 +252,7 @@ name = "简体中文" "components.load_failed" = "控制台数据加载失败" "components.settings_saved" = "组件设置已保存,并实时同步到已连接的 OBS。" "components.settings_save_failed" = "组件设置保存失败" -"components.loading" = "正在展开云台…" +"components.loading" = "正在打开控制台…" "components.danmaku_settings" = "弹幕姬设置" "components.danmaku_description" = "每一项都独立保存在当前用户的组件下。" "components.song_settings" = "点歌姬设置" @@ -264,7 +264,7 @@ name = "简体中文" "components.open_song_stats" = "打开点歌统计" "components.generic_settings" = "组件设置" "components.no_editor" = "该组件类型的设置编辑器尚未安装。" -"components.welcome" = "欢迎来到直播云台" +"components.welcome" = "欢迎来到直播控制台" "components.none_configurable" = "当前账户还没有可配置的组件。" "account.load_failed" = "无法读取账户直播源" "account.title" = "直播账户" @@ -339,7 +339,7 @@ name = "简体中文" "forbidden.title" = "没有访问权限" "forbidden.description" = "邀请码管理仅对系统管理员开放。" "forbidden.back" = "返回我的组件" -"overlay.enter" = "踏入了云台" +"overlay.enter" = "进入了直播间" "overlay.guard" = "开通 {guard}" "overlay.like" = "点亮了一颗星" "overlay.share" = "分享了直播间" @@ -450,9 +450,9 @@ name = "简体中文" "pwa.offline" = "离线" "pwa.update" = "更新可用" "pwa.install" = "安装到设备" -"pwa.manifest.name" = "洛星瓷直播云台" -"pwa.manifest.short_name" = "直播云台" -"pwa.manifest.description" = "洛星瓷直播组件与 OBS 浏览器源控制台" +"pwa.manifest.name" = "直播组件控制台" +"pwa.manifest.short_name" = "直播控制台" +"pwa.manifest.description" = "直播组件与 OBS 浏览器源控制台" [locales."en-US"] name = "English" @@ -460,7 +460,7 @@ name = "English" [locales."en-US".messages] "language.label" = "Language" "language.save_failed" = "Could not save the language preference. Try again later." -"brand.name" = "Luoxingci Live Studio" +"brand.name" = "Live Component Console" "brand.tagline" = "OBS COMPONENT STUDIO" "common.star" = "Star" "common.cloud" = "Cloud" @@ -536,7 +536,7 @@ name = "English" "auth.totp_step_manual" = "If scanning fails, choose the option to enter a setup key." "auth.totp_step_confirm" = "Enter the six-digit code from the app to finish enrollment." "auth.manual_key" = "Manual setup key" -"auth.recovery_file_title" = "Luoxingci Live Studio recovery codes" +"auth.recovery_file_title" = "Live Component Console recovery codes" "auth.recovery_file_warning" = "Each recovery code works once. Store this file securely offline." "auth.security_complete" = "Security setup complete" "auth.save_recovery_codes" = "Save account recovery codes" @@ -547,7 +547,7 @@ name = "English" "auth.recovery_saved" = "I saved them securely" "auth.login_blocker" = "finish or clear the login form" "auth.login_failed" = "The username or verification code is incorrect" -"auth.product_eyebrow" = "Luoxingci Live Components" +"auth.product_eyebrow" = "Live Components" "auth.login_title" = "Return to your studio" "auth.first_deployment" = "First deployment?" "auth.create_admin" = "Create system administrator" @@ -902,6 +902,6 @@ name = "English" "pwa.offline" = "Offline" "pwa.update" = "Update available" "pwa.install" = "Install app" -"pwa.manifest.name" = "Luoxingci Live Studio" +"pwa.manifest.name" = "Live Component Console" "pwa.manifest.short_name" = "Live Studio" -"pwa.manifest.description" = "Luoxingci live components and OBS browser-source console" +"pwa.manifest.description" = "Live components and OBS browser-source console"