fix(stage-tamagotchi): sync pairing settings and QR state (#2318)
This commit is contained in:
@@ -1470,39 +1470,29 @@ pages:
|
||||
description: Configure WebSocket server connection
|
||||
title: Connection
|
||||
websocket-url:
|
||||
description: Full address of the WebSocket server (e.g., ws://localhost:6121/ws)
|
||||
label: WebSocket Server Address
|
||||
description: The address that this app uses to connect to the local server.
|
||||
label: Server Address
|
||||
placeholder: ws://localhost:6121/ws
|
||||
server-hostname:
|
||||
label: Expose On Network
|
||||
description: >-
|
||||
Choose whether the AIRI gateway only listens on this device or can be
|
||||
reached from your local network.
|
||||
advanced-label: Bind Hostname
|
||||
advanced-description: >-
|
||||
Use a specific hostname or IP address when you need manual network
|
||||
binding.
|
||||
options:
|
||||
this-device: This device
|
||||
all: All
|
||||
advanced: Advanced
|
||||
label: Expose To All
|
||||
description: Allow other devices on the local network to connect to this server.
|
||||
server-auth-token:
|
||||
label: Auth Token
|
||||
label: Pairing Token
|
||||
description: >-
|
||||
Security token required by remote clients that connect to this gateway.
|
||||
When left empty, AIRI generates a new token automatically.
|
||||
Other devices use this token to pair with this server. AIRI generates a
|
||||
token when this field is empty.
|
||||
placeholder: Auto-generate
|
||||
qr:
|
||||
title: Connect from Stage Pocket
|
||||
title: Pairing
|
||||
description: >-
|
||||
Scan this QR code from Stage Pocket to try all reachable local network
|
||||
addresses and save the first working one.
|
||||
Scan this QR code with the mobile app. The app tries each local address
|
||||
and saves the first working address.
|
||||
refresh: Refresh
|
||||
image-alt: AIRI server channel connection QR code
|
||||
image-alt: AIRI pairing QR code
|
||||
candidates: Candidate addresses
|
||||
token-hint: >-
|
||||
The QR code includes the auth token so Stage Pocket can authenticate
|
||||
after connecting. Do not share it publicly.
|
||||
The QR code includes the pairing token. Do not share the QR code
|
||||
publicly.
|
||||
errors:
|
||||
title: QR code unavailable
|
||||
unavailable: Failed to prepare the connection QR code.
|
||||
@@ -1844,10 +1834,9 @@ tachie:
|
||||
render-scale: Render Scale
|
||||
shadow: Theme-colored drop shadow
|
||||
websocket-secure-enabled:
|
||||
title: Enable Secure WebSocket (WSS)
|
||||
title: Serve as Secure WebSocket (WSS)
|
||||
description: >-
|
||||
Enable WSS (WebSocket Secure) to allow HTTPS connections for mobile (pocket)
|
||||
in development mode. This will automatically generate a self-signed
|
||||
Use WSS for secure mobile connections. AIRI creates a self-signed
|
||||
certificate.
|
||||
wip:
|
||||
title: Work in Progress
|
||||
|
||||
@@ -1415,34 +1415,23 @@ pages:
|
||||
description: 配置 WebSocket 服务器连接
|
||||
title: 连接
|
||||
websocket-url:
|
||||
description: WebSocket 服务器的完整地址(例如,ws://localhost:6121/ws)
|
||||
label: WebSocket 服务器地址
|
||||
description: 此应用连接本地服务器时使用的地址。
|
||||
label: 服务器地址
|
||||
placeholder: ws://localhost:6121/ws
|
||||
server-hostname:
|
||||
label: 是否暴露在连接的网络下(WiFi,有线)
|
||||
description: >-
|
||||
选择是否只允许此设备与 AIRI 进行配对,或是也允许来自其他本地网络的设备进行配对
|
||||
advanced-label: 会监听的 hostname
|
||||
advanced-description: >-
|
||||
当您需要手动绑定时,使用指定的主机名或 IP 地址。
|
||||
options:
|
||||
this-device: 仅此设备
|
||||
all: 本地网络所有人
|
||||
advanced: 高级配置
|
||||
label: 向所有设备开放
|
||||
description: 允许本地网络中的其他设备连接此服务器。
|
||||
server-auth-token:
|
||||
label: 认证凭据
|
||||
description: >-
|
||||
连接和配对需要安全令牌。如果留空,AIRI 自动生成一个新的令牌。
|
||||
label: 配对令牌
|
||||
description: 其他设备使用此令牌与服务器配对。如果此字段为空,AIRI 会生成一个令牌。
|
||||
placeholder: 自动生成
|
||||
qr:
|
||||
title: 从 Pocket(口袋)版配对
|
||||
description: >-
|
||||
从 Pocket(口袋)版扫描此二维码以进行配对
|
||||
title: 配对
|
||||
description: 使用移动应用扫描此二维码。应用会尝试每个本地地址,并保存第一个可用地址。
|
||||
refresh: 刷新
|
||||
image-alt: AIRI 配对码
|
||||
image-alt: AIRI 配对二维码
|
||||
candidates: 备选连接地址
|
||||
token-hint: >-
|
||||
二维码包含了认证凭据,所以 Pocket(口袋)版可以自动配对,请不要公开分享此二维码。
|
||||
token-hint: 二维码包含配对令牌。请勿公开分享此二维码。
|
||||
errors:
|
||||
title: 二维码暂不可用
|
||||
unavailable: 无法生成配对二维码
|
||||
@@ -1773,9 +1762,8 @@ tachie:
|
||||
render-scale: 渲染缩放
|
||||
shadow: 主题色动态阴影
|
||||
websocket-secure-enabled:
|
||||
title: 启用安全WebSocket (WSS)
|
||||
description: >-
|
||||
启用 WSS (WebSocket Secure) 以便在开发模式下允许移动设备(Pocket) 连接HTTPS 。这将自动生成一个自签名证书。
|
||||
title: 作为安全 WebSocket (WSS) 提供服务
|
||||
description: 使用 WSS 建立安全的移动端连接。AIRI 会创建一个自签名证书。
|
||||
wip:
|
||||
title: 正在开发中
|
||||
description: >-
|
||||
|
||||
Reference in New Issue
Block a user