feat(app): Convert sequences from the Archive manager and the Library, with Undo after a Replace

Owner review 2, R7 asks for mass conversion after import on the desktop too, with a choice at
every run between Replace and New sequence. The desktop now uses the engine's conversion, the
same plan and job as the web panel.

- Convert... in the Archive manager's mass operations (the set) and the Library's mass bar (the
  selection of one archive; server cards are left out, two archives are refused with their own
  reason). The dialog has the format (JPEG, TIFF 16-bit, Linear DNG, the archival default), a
  JPEG's quality (1-100, 95) and the mode, which starts unchosen at every open: Apply waits for
  it. Each choice has a tooltip that says what becomes of the originals.
- The dry run stays in the dialog and follows the choices: each sequence with its photos and
  sizes before and after, the photos that stay as they are with why, the sequences left as they
  are (busy, offline, unreadable), a summary and the free space line; a volume without the space
  blocks Apply. The mode does not change what converts, so choosing it plans nothing again.
- Apply asks to type the number of photos a Replace replaces, then queues the convert job of
  exactly the plan shown; New sequence leaves the originals as they are and asks nothing.
- When a Replace job ends, its toast offers Undo: for each sequence it converted, the newest
  Replaced trash entry made while it ran goes back (a sequence changed since gets its originals
  as a new sequence). Undo runs once and never from the Windows notification.
- The Library and the Archive screen read the sequences again after a conversion; --capture
  renders archive-convert from a sample plan.
- Strings in en and it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 275469284f895fc92e2569339809e18bf59d1d6a)
(cherry picked from commit 76ba41f58983275ae4b1478edd403efb11da7c79)
This commit is contained in:
Alby96 committed 2026-10-27 22:02:04 +01:00
1 parent 2143a093a2
commit a1c1c21ebd
25 files changed
+1409 -19

No files matched your search

+2
View File
@@ -6,6 +6,7 @@
<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
<data name="Library.Action.Analyse" xml:space="preserve"><value>Analizza</value></data>
<data name="Library.Action.ClearSelection" xml:space="preserve"><value>Deseleziona tutto</value></data>
<data name="Library.Action.Convert" xml:space="preserve"><value>Converti…</value></data>
<data name="Library.Action.Delete" xml:space="preserve"><value>Elimina…</value></data>
<data name="Library.Action.Download" xml:space="preserve"><value>Scarica</value></data>
<data name="Library.Action.ExportList" xml:space="preserve"><value>Esporta elenco</value></data>
@@ -32,6 +33,7 @@
<data name="Library.Blocked.NothingToDownload" xml:space="preserve"><value>Le sequenze selezionate non hanno nulla da ricevere dal server.</value></data>
<data name="Library.Blocked.NothingToUpload" xml:space="preserve"><value>Il server ha già tutto ciò che contengono le sequenze selezionate.</value></data>
<data name="Library.Blocked.OneArchive" xml:space="preserve"><value>La riorganizzazione agisce sulle sequenze di un solo archivio alla volta.</value></data>
<data name="Library.Blocked.OneArchiveConvert" xml:space="preserve"><value>La conversione agisce sulle sequenze di un solo archivio alla volta.</value></data>
<data name="Library.Blocked.ServerOnly" xml:space="preserve"><value>Solo per sequenze su questo PC; la selezione si trova sul server.</value></data>
<data name="Library.Blocked.Transferring" xml:space="preserve"><value>Un trasferimento di questa sequenza è già in corso.</value></data>
<data name="Library.ClearFilters" xml:space="preserve"><value>Azzera i filtri</value></data>