fix: surface remote sync reauthentication failures (#1351)

This commit is contained in:
ZacharyZcR
2026-08-27 17:06:16 +08:00
committed by GitHub
parent 6277d15c2a
commit 50f1882fa9
8 changed files with 179 additions and 26 deletions
+4
View File
@@ -500,6 +500,8 @@
"disconnectButton": "Disconnect",
"syncNowButton": "Sync Now",
"syncing": "Syncing...",
"syncSuccess": "Remote sync completed",
"syncUnavailable": "Remote sync could not be started",
"serverUrl": "Server URL",
"enterServerUrl": "Please enter a server URL",
"mustIncludeProtocol": "Server URL must start with http:// or https://",
@@ -2966,6 +2968,8 @@
"resetCodeRateLimited": "Rate limited: Too many verification attempts. Please try again later.",
"resetCodeRateLimitedWithTime": "Rate limited: Too many verification attempts. Please wait {{time}} seconds before trying again.",
"authTokenSaveFailed": "Failed to save authentication token",
"authTokenMissing": "The server did not return a new authentication token. Please sign in again.",
"authTokenRejected": "The remote server rejected the new authentication token",
"keyringUnavailable": "Signed in, but the session could not be stored: this system has no keyring available to encrypt it with. Start a Secret Service (such as gnome-keyring or KWallet) and sign in again.",
"failedToLoadServer": "Failed to load server",
"remoteServerRequired": "Remote server required. Connect a remote server in Settings to use this connection type."
+4
View File
@@ -474,6 +474,8 @@
"disconnectButton": "断开",
"syncNowButton": "立即同步",
"syncing": "正在同步...",
"syncSuccess": "远程同步已完成",
"syncUnavailable": "无法启动远程同步",
"serverUrl": "服务器 URL",
"enterServerUrl": "请输入服务器网址",
"mustIncludeProtocol": "服务器 URL 必须以 http:// 或 https:// 开头。",
@@ -2820,6 +2822,8 @@
"resetCodeRateLimited": "频率受限:验证尝试次数过多,请稍后再试。",
"resetCodeRateLimitedWithTime": "频率受限:验证尝试次数过多,请等待 {{time}} 秒后再试。",
"authTokenSaveFailed": "保存认证令牌失败",
"authTokenMissing": "服务器没有返回新的认证令牌,请重新登录。",
"authTokenRejected": "远程服务器拒绝了新的认证令牌",
"keyringUnavailable": "已登录,但会话无法保存:此系统没有可用于加密的密钥环。请启动密钥服务(例如 gnome-keyring 或 KWallet)并重新登录。",
"failedToLoadServer": "加载服务器失败",
"remoteServerRequired": "需要远程服务器。请在“设置”中连接远程服务器以使用此连接类型。"