Files
VibeCoding/webrtc_controller_flutter/lib/l10n/app_en.arb
TongTongStudio 79cffcb041 feat(auth): 添加登录/注册页面及令牌恢复流程
- 新增 SplashPage(启动页)和 LoginPage(登录页),支持路由跳转
- 扩展 AuthState,增加 submitting/alert/busy 状态及消费机制
- AuthController 增加 checkLoginState/register/showAlert 等方法
- 删除旧模型文件(binding_item, token_response, verify_response)
- 删除旧版 LoginPage,迁移至 features/auth 目录
- 更新本地化字符串,增加注册相关文案
- 调整默认 API 地址为本地开发环境
2026-08-03 16:47:08 +08:00

72 lines
3.4 KiB
Plaintext

{
"@@locale": "en",
"appTitle": "WebRTC Controller",
"login": "Login",
"logout": "Logout",
"registerAccount": "Create Account",
"registerSuccess": "Registered successfully, please log in",
"registerFailed": "Registration failed: {error}",
"loginSubtitle": "Log in to connect your bound devices",
"cancel": "Cancel",
"confirm": "OK",
"connect": "Connect",
"connecting": "Connecting...",
"loginAccount": "Login Account",
"connectDevice": "Connect Device",
"serverUrl": "Signal Server URL:",
"serverUrlPlaceholder": "wss://www.ttstd.com/signal",
"deviceId": "Device ID (assigned by server):",
"deviceIdPlaceholder": "Assigned by server",
"targetDeviceId": "Target Device ID:",
"targetDeviceIdPlaceholder": "Controlled device ID",
"username": "Username",
"password": "Password",
"loginFailed": "Login failed: {error}",
"usernamePasswordRequired": "Please enter username and password",
"serverAndTargetRequired": "Please enter server URL and target device ID",
"authTitle": "Connection Auth",
"authNone": "Passwordless",
"authNoneDesc": "Manual confirmation on the controlled device",
"authCode": "Dynamic Code",
"authCodeDesc": "Use a one-time dynamic code",
"authPassword": "Fixed Password",
"authPasswordDesc": "Use a fixed connection password",
"authNonePlaceholder": "No value needed",
"authPasswordPlaceholder": "Enter fixed password",
"authCodePlaceholder": "Enter dynamic code",
"authValueRequired": "Please enter the code or password",
"statusStopped": "Status: Stopped",
"statusConnectingSignal": "Status: Connecting to signal server...",
"statusConnected": "Status: Connected - remote control active",
"statusDisconnected": "Status: Remote disconnected",
"statusSignalConnected": "Status: Signal connected, waiting for registration...",
"statusRegistered": "Status: Registered ({deviceId}), establishing...",
"statusAuthFailed": "Status: Auth failed - {error}",
"statusConnectError": "Status: Connection error - {error}",
"statusTargetAccept": "Status: Target accepted, establishing connection...",
"statusTokenRefreshFailed": "Status: Token refresh failed - {error}",
"statusForceLogout": "Status: Account logged in elsewhere, force logged out",
"connectedBindings": "Bound devices: {uids}",
"resolutionSwitch": "Switch Resolution",
"fpsSwitch": "Switch FPS",
"selfCodec": "SelfCodec",
"record": "Record",
"stop": "Stop",
"recording": "Recording...",
"recordSaved": "Saved: {path}",
"recordStopped": "Recording stopped",
"recordNoStream": "Not connected or no video stream available",
"recordSwitchToStd": "Switching back to standard mode to record...",
"recordStartFailed": "Failed to start recording: {error}",
"recordNoVideoTrack": "No remote video track received",
"selfCodecNotSupported": "Self-codec hardware decoding is not supported on this platform, fell back to WebRTC media stream.",
"iceDisconnected": "ICE connection disconnected",
"targetOffline": "Target device is offline. Please confirm it is powered on and connected.",
"connectionFailed": "Connection failed: {error}",
"tokenExpired": "Session expired. Please login again.",
"forceLogout": "Account logged in elsewhere, force logged out.",
"loginFirst": "Please login before connecting",
"pleaseFillAuth": "Please enter the code or password",
"streamModeSelfCodecDesc": "Self-codec hardware decoding is not supported on this platform."
}