mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-03 16:41:26 +01:00
fix(gui,cli,core): offer the CAPTCHA in the browser when the web view cannot start (B195)
The verification window now runs in its own process, so the app survives when WebKit cannot start its sandbox on secureblue, but the CAPTCHA still could not be solved there (#29). WebKit binds the journal socket with `--ro-bind-try`, bubblewrap only skips a missing path, not an unreadable one, and WebKit has no switch to leave the socket out. Proton Mail Bridge never uses a web view: it opens verify.proton.me in the system browser and retries with the original challenge token, typed with the offered methods. Do the same as a fallback. - core: `browser_verification_url` and `browser_verified` build the page URL and the retry credential from the challenge - gui: when the verification window fails, a dialog opens the page in the browser and continues the sign-in once the user is done - cli: `pdfs login` handles a CAPTCHA the same way instead of failing - i18n: translate the new dialog in every catalog - docs: B195, TROUBLESHOOTING.md, ARCHITECTURE.md, changelog Fixes #29
This commit is contained in:
1 parent
07c9b675d3
commit
d13e74fc12
16 files changed
+752
-426
No files matched your search
+62
-41
@@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: proton-drive-linux 2.1.0\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/narrrl/proton-drive-linux/issues\n"
|
||||
"POT-Creation-Date: 2026-10-08 10:15+0200\n"
|
||||
"POT-Creation-Date: 2026-10-08 18:47+0200\n"
|
||||
"PO-Revision-Date: 2026-09-23 12:00+0200\n"
|
||||
"Last-Translator: Proton Drive for Linux contributors\n"
|
||||
"Language-Team: English (United Kingdom)\n"
|
||||
@@ -271,8 +271,9 @@ msgstr ""
|
||||
#: crates/pdfs-gui/src/app/pages/locations.rs:1013
|
||||
#: crates/pdfs-gui/src/app/pages/locations.rs:1488
|
||||
#: crates/pdfs-gui/src/app/pages/locations.rs:1538
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:393
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:507
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:389
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:503
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:549
|
||||
#: crates/pdfs-gui/src/app/pages/photos.rs:2055
|
||||
#: crates/pdfs-gui/src/app/pages/shared.rs:946
|
||||
#: crates/pdfs-gui/src/app/pages/shared.rs:1027
|
||||
@@ -3150,33 +3151,23 @@ msgstr "Enter your email and password."
|
||||
msgid "Signing in…"
|
||||
msgstr "Signing in…"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:164
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:160
|
||||
msgid "Complete the verification to continue…"
|
||||
msgstr "Complete the verification to continue…"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:197
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:195
|
||||
msgid "login cancelled"
|
||||
msgstr "login cancelled"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:210
|
||||
msgid ""
|
||||
"The verification page couldn't be opened, so the sign-in was cancelled. Your "
|
||||
"system may keep the web view's sandbox from starting; the troubleshooting "
|
||||
"guide explains what to do."
|
||||
msgstr ""
|
||||
"The verification page couldn't be opened, so the sign-in was cancelled. Your "
|
||||
"system may keep the web view's sandbox from starting; the troubleshooting "
|
||||
"guide explains what to do."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:233
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:228
|
||||
msgid "Too many sign-in attempts. Wait a few minutes and try again."
|
||||
msgstr "Too many sign-in attempts. Wait a few minutes and try again."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:239
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:234
|
||||
msgid "Couldn't reach Proton. Check your internet connection and try again."
|
||||
msgstr "Couldn't reach Proton. Check your internet connection and try again."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:242
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:237
|
||||
msgid ""
|
||||
"Signed in, but the session couldn't be saved to the system keyring. Make "
|
||||
"sure a keyring (GNOME Keyring or KWallet) is running and unlocked."
|
||||
@@ -3184,19 +3175,19 @@ msgstr ""
|
||||
"Signed in, but the session couldn't be saved to the system keyring. Make "
|
||||
"sure a keyring (GNOME Keyring or KWallet) is running and unlocked."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:245
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:240
|
||||
msgid "Sign-in cancelled: no two-factor code was entered."
|
||||
msgstr "Sign-in cancelled: no two-factor code was entered."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:248
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:243
|
||||
msgid "Sign-in cancelled: no mailbox password was entered."
|
||||
msgstr "Sign-in cancelled: no mailbox password was entered."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:251
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:246
|
||||
msgid "That mailbox password didn't unlock your account."
|
||||
msgstr "That mailbox password didn't unlock your account."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:254
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:249
|
||||
msgid ""
|
||||
"Sign-in cancelled: the verification wasn't completed. Sign in again to get a "
|
||||
"new one."
|
||||
@@ -3205,34 +3196,34 @@ msgstr ""
|
||||
"new one."
|
||||
|
||||
#. Translators: {error} is an error message, usually in English.
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:259
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:254
|
||||
#, rust-format
|
||||
msgid "Sign-in failed: {error}"
|
||||
msgstr "Sign-in failed: {error}"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:369
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:365
|
||||
msgid "That mailbox password didn't unlock your account. Try again."
|
||||
msgstr "That mailbox password didn't unlock your account. Try again."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:371
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:367
|
||||
msgid ""
|
||||
"This account has a separate mailbox password. Enter it to unlock your files."
|
||||
msgstr ""
|
||||
"This account has a separate mailbox password. Enter it to unlock your files."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:374
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:370
|
||||
msgid "Mailbox Password"
|
||||
msgstr "Mailbox Password"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:380
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:376
|
||||
msgid "Mailbox password"
|
||||
msgstr "Mailbox password"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:384
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:380
|
||||
msgid "Keep unlocked on this computer"
|
||||
msgstr "Keep unlocked on this computer"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:386
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:382
|
||||
msgid ""
|
||||
"Stores the unlock in the system keyring, so Proton Drive opens without "
|
||||
"asking after every login. Otherwise you enter the password once per session."
|
||||
@@ -3240,46 +3231,67 @@ msgstr ""
|
||||
"Stores the unlock in the system keyring, so Proton Drive opens without "
|
||||
"asking after every login. Otherwise you enter the password once per session."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:394
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:447
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:390
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:443
|
||||
msgid "Unlock"
|
||||
msgstr "Unlock"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:446
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:442
|
||||
msgid "Proton Drive is locked. Enter your mailbox password to unlock it."
|
||||
msgstr "Proton Drive is locked. Enter your mailbox password to unlock it."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:475
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:471
|
||||
msgid "Unlocked."
|
||||
msgstr "Unlocked."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:480
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:476
|
||||
msgid "Couldn't unlock"
|
||||
msgstr "Couldn't unlock"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:493
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:489
|
||||
msgid "Two-Factor Authentication"
|
||||
msgstr "Two-Factor Authentication"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:495
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:491
|
||||
msgid ""
|
||||
"Enter the code from your authenticator app, or one of your recovery codes."
|
||||
msgstr ""
|
||||
"Enter the code from your authenticator app, or one of your recovery codes."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:501
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:497
|
||||
msgid "Authentication code"
|
||||
msgstr "Authentication code"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:508
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:504
|
||||
msgid "Confirm"
|
||||
msgstr "Confirm"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:536
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:535
|
||||
#
|
||||
msgid "Verify in Your Browser"
|
||||
msgstr "Verify in Your Browser"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:537
|
||||
msgid ""
|
||||
"The verification page can't be shown in the app on this system. Open it in "
|
||||
"your browser, complete it there, then come back and choose Continue."
|
||||
msgstr "The verification page can't be shown in the app on this system. Open it in your browser, complete it there, then come back and choose Continue."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:543
|
||||
#
|
||||
msgid "Open Verification Page"
|
||||
msgstr "Open Verification Page"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:550
|
||||
#
|
||||
msgid "Continue"
|
||||
msgstr "Continue"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:589
|
||||
msgid "Sign Out?"
|
||||
msgstr "Sign Out?"
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:538
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:591
|
||||
msgid ""
|
||||
"Proton Drive will disconnect and stop syncing until you sign in again. Files "
|
||||
"already on this computer stay where they are."
|
||||
@@ -3287,7 +3299,7 @@ msgstr ""
|
||||
"Proton Drive will disconnect and stop syncing until you sign in again. Files "
|
||||
"already on this computer stay where they are."
|
||||
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:540
|
||||
#: crates/pdfs-gui/src/app/pages/login.rs:593
|
||||
msgid "Sign Out"
|
||||
msgstr "Sign Out"
|
||||
|
||||
@@ -6020,6 +6032,15 @@ msgstr "{count}y"
|
||||
msgid "cannot reach the Proton Drive daemon: {error}"
|
||||
msgstr "cannot reach the Proton Drive daemon: {error}"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "The verification page couldn't be opened, so the sign-in was cancelled. "
|
||||
#~ "Your system may keep the web view's sandbox from starting; the "
|
||||
#~ "troubleshooting guide explains what to do."
|
||||
#~ msgstr ""
|
||||
#~ "The verification page couldn't be opened, so the sign-in was cancelled. "
|
||||
#~ "Your system may keep the web view's sandbox from starting; the "
|
||||
#~ "troubleshooting guide explains what to do."
|
||||
|
||||
#~ msgid "Jump to a month"
|
||||
#~ msgstr "Jump to a month"
|
||||
|
||||
|
||||
Reference in new issue
Block a user