mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 18:04:18 +00:00
feat(native): a proxy's sign-in page in the app has a way out and says what cannot work there
Behind Pangolin or authentik the app shows the proxy's sign-in page itself, and nothing on it led back to the address screen: a failed passkey left users stuck on every launch. A bar over that page now offers to change the server and says that passkeys and security keys do not work there, as a web view cannot use them for a domain the app is not tied to. It steps aside while the keyboard is up. On iOS the page also gets the room the keyboard takes, so a button under it can be scrolled into view. The address screen hands the bar its words in the user's language when it connects.
This commit is contained in:
@@ -20,6 +20,8 @@ const native: TranslationStrings = {
|
||||
'native.offline.hint': 'TREK không thể kết nối tới {server}. Hãy kiểm tra kết nối và thử lại.',
|
||||
'native.offline.retry': 'Thử lại',
|
||||
'native.changeServer': 'Đổi máy chủ',
|
||||
'native.signInBar.hint':
|
||||
'Khóa truy cập và khóa bảo mật không hoạt động trên trang này trong ứng dụng. Hãy đăng nhập bằng mật khẩu hoặc cho ứng dụng đi qua proxy của bạn.',
|
||||
'native.login.failed': 'Đăng nhập không thành công. Vui lòng thử lại.',
|
||||
'native.handoff.title': 'Tiếp tục trong ứng dụng',
|
||||
'native.handoff.hint': 'Bạn đã đăng nhập với tên {name}. Mở ứng dụng TREK để hoàn tất đăng nhập ở đó.',
|
||||
|
||||
Reference in New Issue
Block a user