feat(core,fuse,gui): show a sync issue on its node in the file browser

A refused change was only on the Sync page. A folder listing now carries
each node's issue (by local id, so a file not yet on Drive has it too),
and the browser's badge ranks it first, folders included, with the
issue's explanation as its tooltip. The event sampler publishes Files
when the set of issues changes, so the badge comes and goes with it.
This commit is contained in:
nvrl committed 2026-10-05 01:06:03 +02:00
1 parent 9dfe4c5450
commit a8ed6060af
25 files changed
+390 -251

No files matched your search

+26 -26
View File
@@ -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-05 00:50+0200\n"
"POT-Creation-Date: 2026-10-05 01:01+0200\n"
"PO-Revision-Date: 2026-09-23 12:00+0200\n"
"Last-Translator: Proton Drive for Linux contributors\n"
"Language-Team: Dutch\n"
@@ -511,8 +511,8 @@ msgstr "Weergaveopties"
#: crates/pdfs-gui/src/app/pages/activity.rs:439
#: crates/pdfs-gui/src/app/pages/browser.rs:385
#: crates/pdfs-gui/src/app/pages/browser.rs:2109
#: crates/pdfs-gui/src/app/pages/browser.rs:2635
#: crates/pdfs-gui/src/app/pages/browser.rs:2639
#: crates/pdfs-gui/src/app/pages/browser.rs:2641
#: crates/pdfs-gui/src/app/pages/browser.rs:2645
#: crates/pdfs-gui/src/app/pages/devices.rs:325
#: crates/pdfs-gui/src/app/pages/locations.rs:192
#: crates/pdfs-gui/src/app/pages/locations.rs:1123
@@ -532,8 +532,8 @@ msgid "Couldn't read activity"
msgstr "Kon activiteit niet lezen"
#: crates/pdfs-gui/src/app/pages/activity.rs:470
#: crates/pdfs-gui/src/app/pages/browser.rs:2671
#: crates/pdfs-gui/src/app/pages/browser.rs:2853
#: crates/pdfs-gui/src/app/pages/browser.rs:2677
#: crates/pdfs-gui/src/app/pages/browser.rs:2859
#: crates/pdfs-gui/src/app/pages/photo_viewer.rs:308
#: crates/pdfs-gui/src/app/pages/photos.rs:3435
#: crates/pdfs-gui/src/app/pages/shared_by_me.rs:382
@@ -1541,7 +1541,7 @@ msgid "Cancel thumbnail build"
msgstr "Aanmaken van miniaturen annuleren"
#: crates/pdfs-gui/src/app/pages/browser.rs:255
#: crates/pdfs-gui/src/app/pages/browser.rs:2784
#: crates/pdfs-gui/src/app/pages/browser.rs:2790
msgid "Search this folder only"
msgstr "Alleen in deze map zoeken"
@@ -1831,7 +1831,7 @@ msgid "The Proton Drive service stopped reporting thumbnail progress."
msgstr "De Proton Drive-service meldt geen voortgang van miniaturen meer."
#: crates/pdfs-gui/src/app/pages/browser.rs:1705
#: crates/pdfs-gui/src/app/pages/browser.rs:2925
#: crates/pdfs-gui/src/app/pages/browser.rs:2932
#, rust-format
msgid "{n} folder"
msgid_plural "{n} folders"
@@ -1924,7 +1924,7 @@ msgstr "Geen mappen hier."
#: crates/pdfs-gui/src/app/pages/browser.rs:2287
#: crates/pdfs-gui/src/app/pages/browser.rs:2331
#: crates/pdfs-gui/src/app/pages/browser.rs:2578
#: crates/pdfs-gui/src/app/pages/browser.rs:2584
msgid "Couldn't move"
msgstr "Kon niet verplaatsen"
@@ -2002,51 +2002,51 @@ msgctxt "verb"
msgid "View"
msgstr "Bekijken"
#: crates/pdfs-gui/src/app/pages/browser.rs:2570
#: crates/pdfs-gui/src/app/pages/browser.rs:2576
#, rust-format
msgid "Moved into “{name}”"
msgstr "Verplaatst naar “{name}”"
#: crates/pdfs-gui/src/app/pages/browser.rs:2640
#: crates/pdfs-gui/src/app/pages/browser.rs:2646
#: crates/pdfs-gui/src/app/pages/devices.rs:261
msgid "Reading this folder."
msgstr "Deze map wordt gelezen."
#: crates/pdfs-gui/src/app/pages/browser.rs:2685
#: crates/pdfs-gui/src/app/pages/browser.rs:2691
msgid "Folder unavailable"
msgstr "Map niet beschikbaar"
#: crates/pdfs-gui/src/app/pages/browser.rs:2689
#: crates/pdfs-gui/src/app/pages/browser.rs:2695
msgid "Couldn't open this folder"
msgstr "Kon deze map niet openen"
#: crates/pdfs-gui/src/app/pages/browser.rs:2731
#: crates/pdfs-gui/src/app/pages/browser.rs:2737
#: crates/pdfs-gui/src/app/pages/devices.rs:101
#: crates/pdfs-gui/src/app/pages/shared.rs:456
msgid "This folder is empty"
msgstr "Deze map is leeg"
#: crates/pdfs-gui/src/app/pages/browser.rs:2732
#: crates/pdfs-gui/src/app/pages/browser.rs:2738
msgid "Drop files here, or upload a file or create a folder to get started."
msgstr ""
"Sleep bestanden hierheen, of upload een bestand of maak een map aan om te "
"beginnen."
#: crates/pdfs-gui/src/app/pages/browser.rs:2782
#: crates/pdfs-gui/src/app/pages/browser.rs:2788
msgid "Search everywhere"
msgstr "Overal zoeken"
#: crates/pdfs-gui/src/app/pages/browser.rs:2818
#: crates/pdfs-gui/src/app/pages/browser.rs:2822
#: crates/pdfs-gui/src/app/pages/browser.rs:2824
#: crates/pdfs-gui/src/app/pages/browser.rs:2828
msgid "Searching…"
msgstr "Zoeken…"
#: crates/pdfs-gui/src/app/pages/browser.rs:2823
#: crates/pdfs-gui/src/app/pages/browser.rs:2829
#, rust-format
msgid "Looking for “{query}”."
msgstr "Zoeken naar “{query}”."
#: crates/pdfs-gui/src/app/pages/browser.rs:2879
#: crates/pdfs-gui/src/app/pages/browser.rs:2885
#, rust-format
msgid "{summary} — showing the first {n} search result"
msgid_plural "{summary} — showing the first {n} search results"
@@ -2054,20 +2054,20 @@ msgstr[0] "{summary} — eerste {n} zoekresultaat wordt getoond"
msgstr[1] "{summary} — eerste {n} zoekresultaten worden getoond"
#. Translators: {summary} counts the hits, such as "2 folders, 5 files (3.0 MB)".
#: crates/pdfs-gui/src/app/pages/browser.rs:2886
#: crates/pdfs-gui/src/app/pages/browser.rs:2892
#, rust-format
msgid "{summary} — search results"
msgstr "{summary} — zoekresultaten"
#: crates/pdfs-gui/src/app/pages/browser.rs:2892
#: crates/pdfs-gui/src/app/pages/browser.rs:2898
msgid "No matches"
msgstr "Geen overeenkomsten"
#: crates/pdfs-gui/src/app/pages/browser.rs:2893
#: crates/pdfs-gui/src/app/pages/browser.rs:2899
msgid "No files or folders match that search."
msgstr "Geen bestanden of mappen komen overeen met deze zoekopdracht."
#: crates/pdfs-gui/src/app/pages/browser.rs:2926
#: crates/pdfs-gui/src/app/pages/browser.rs:2933
#: crates/pdfs-gui/src/i18n.rs:248
#, rust-format
msgid "{n} file"
@@ -2075,17 +2075,17 @@ msgid_plural "{n} files"
msgstr[0] "{n} bestand"
msgstr[1] "{n} bestanden"
#: crates/pdfs-gui/src/app/pages/browser.rs:2932
#: crates/pdfs-gui/src/app/pages/browser.rs:2939
#, rust-format
msgid "{files} ({size})"
msgstr "{files} ({size})"
#: crates/pdfs-gui/src/app/pages/browser.rs:2937
#: crates/pdfs-gui/src/app/pages/browser.rs:2944
#, rust-format
msgid "{folders}, {files}"
msgstr "{folders}, {files}"
#: crates/pdfs-gui/src/app/pages/browser.rs:2942
#: crates/pdfs-gui/src/app/pages/browser.rs:2949
#, rust-format
msgid "{folders}, {files} ({size})"
msgstr "{folders}, {files} ({size})"