mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 10:44:23 +00:00
feat(native): the app needs TREK 5.1.3 on the server and checks a remembered one once after the update
The fixes that keep the app's sign-in in the app live in the server's UI, so an updated app on a 5.1.2 server still ended in the browser. The server now reports nativeApi 2 and the app refuses anything below it, naming 5.1.3. A server the app remembers from before is not loaded unchecked: the first launch after the update shows the address screen filled in with it, says why and checks it right away. A server that is new enough loads again with its session; an older one gets the update hint.
This commit is contained in:
@@ -11,7 +11,8 @@ const native: TranslationStrings = {
|
||||
'native.connect.errorInvalid': '这看起来不像网址。',
|
||||
'native.connect.errorUnreachable': '此地址没有服务器响应。请检查地址和网络连接。',
|
||||
'native.connect.errorNotTrek': '此地址上的服务器不是 TREK。',
|
||||
'native.connect.errorTooOld': '此 TREK 服务器版本过旧,无法用于应用。请先更新服务器。',
|
||||
'native.connect.errorTooOld': '此服务器运行的是旧版 TREK。应用需要 TREK 5.1.3 或更高版本,请先更新服务器。',
|
||||
'native.connect.recheckHint': '此版本的应用需要服务器运行 TREK 5.1.3 或更高版本,因此会再次检查你的服务器。',
|
||||
'native.offline.title': '无法连接服务器',
|
||||
'native.offline.hint': 'TREK 无法连接到 {server}。请检查网络连接后重试。',
|
||||
'native.offline.retry': '重试',
|
||||
|
||||
Reference in New Issue
Block a user