mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 10:24:05 +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,10 @@ 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