add account localization and switchable rooms

Centralize control and OBS copy in a shared TOML catalog, persist the selected locale per account, and broadcast language changes to component streams. Allow account owners to atomically switch their Bilibili room and restart the shared listener without changing component URLs.
This commit is contained in:
2026-07-18 23:28:05 -07:00
parent 53ae90ec13
commit f79852d8e6
35 changed files with 1946 additions and 472 deletions
+5 -5
View File
@@ -1,18 +1,18 @@
<!doctype html>
<html lang="zh-CN">
<html lang="__DEFAULT_LANGUAGE__">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<meta name="color-scheme" content="dark" />
<meta name="theme-color" content="#0a302f" />
<meta name="description" content="洛星瓷直播组件与 OBS 浏览器源控制台" />
<meta name="application-name" content="洛星瓷直播云台" />
<meta name="description" content="__APP_DESCRIPTION__" />
<meta name="application-name" content="__APP_NAME__" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="直播云台" />
<meta name="apple-mobile-web-app-title" content="__APP_SHORT_NAME__" />
<link rel="icon" type="image/svg+xml" href="/pwa/icon.svg" />
<link rel="apple-touch-icon" sizes="180x180" href="/pwa/apple-touch-icon.png" />
<title>洛星瓷直播云台</title>
<title>__APP_NAME__</title>
</head>
<body>
<div id="root"></div>