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

+15
View File
@@ -27,6 +27,18 @@
<data name="Tooltips.Archive.ClearFilter" xml:space="preserve"><value>Show every sequence of the selection again</value></data>
<data name="Tooltips.Archive.CloseDialog" xml:space="preserve"><value>Close without changing anything · Esc</value></data>
<data name="Tooltips.Archive.Collapse" xml:space="preserve"><value>Hide the sequences of this year</value></data>
<data name="Tooltips.Archive.ConvertApplyNew" xml:space="preserve"><value>Queue a job that converts copies into new sequences · pause and resume it in Jobs</value></data>
<data name="Tooltips.Archive.ConvertApplyReplace" xml:space="preserve"><value>Type the number of photos to confirm, then queue a job that replaces them with their conversion · pause and resume it in Jobs</value></data>
<data name="Tooltips.Archive.ConvertDng" xml:space="preserve"><value>Linear DNG, 16-bit and lossless · read by every raw editor; the choice for archiving</value></data>
<data name="Tooltips.Archive.ConvertJpeg" xml:space="preserve"><value>8-bit JPEG at the quality below · the smallest files; some detail is lost</value></data>
<data name="Tooltips.Archive.ConvertModeNew" xml:space="preserve"><value>The converted copies go into a new sequence beside each one; the originals stay as they are</value></data>
<data name="Tooltips.Archive.ConvertModeReplace" xml:space="preserve"><value>The converted files take the photos' place in their sequences; the originals go to the archive's trash, restorable until it is emptied</value></data>
<data name="Tooltips.Archive.ConvertPlan" xml:space="preserve"><value>The sequences whose photos are replaced</value></data>
<data name="Tooltips.Archive.ConvertQuality" xml:space="preserve"><value>JPEG quality from 1 to 100 · 95 keeps fine detail; lower makes smaller files</value></data>
<data name="Tooltips.Archive.ConvertReplace.one" xml:space="preserve"><value>Replace {0:N0} photo with its conversion; type the number above first</value></data>
<data name="Tooltips.Archive.ConvertReplace.other" xml:space="preserve"><value>Replace {0:N0} photos with their conversion; type the number above first</value></data>
<data name="Tooltips.Archive.ConvertTiff" xml:space="preserve"><value>16-bit TIFF compressed without loss · large files every editor opens</value></data>
<data name="Tooltips.Archive.ConvertUndo" xml:space="preserve"><value>Put the originals back from the trash in place of their conversions</value></data>
<data name="Tooltips.Archive.DeleteAction.one" xml:space="preserve"><value>Move {0:N0} sequence to the trash; type the number above first</value></data>
<data name="Tooltips.Archive.DeleteAction.other" xml:space="preserve"><value>Move {0:N0} sequences to the trash; type the number above first</value></data>
<data name="Tooltips.Archive.DeleteKeep" xml:space="preserve"><value>Change nothing</value></data>
@@ -82,6 +94,7 @@
<data name="Tooltips.Archive.Scan" xml:space="preserve"><value>Incremental scan: new, changed and removed files by modification time and size</value></data>
<data name="Tooltips.Archive.Set" xml:space="preserve"><value>The selected years and sequences (all when nothing is selected), narrowed by camera, status or tag</value></data>
<data name="Tooltips.Archive.SetAnalyse" xml:space="preserve"><value>Run the deep analysis on every sequence in the set</value></data>
<data name="Tooltips.Archive.SetConvert" xml:space="preserve"><value>Convert the photos of the set to JPEG, TIFF or DNG · dry run first, then a job</value></data>
<data name="Tooltips.Archive.SetDelete" xml:space="preserve"><value>Move the set to the archive's trash · shows the dry run, then asks you to type to confirm</value></data>
<data name="Tooltips.Archive.SetExport" xml:space="preserve"><value>Export the set as CSV: one row per sequence</value></data>
<data name="Tooltips.Archive.SetProxies" xml:space="preserve"><value>Generate or refresh proxies</value></data>
@@ -469,6 +482,8 @@
<data name="Tooltips.Library.List" xml:space="preserve"><value>Table with sortable columns</value></data>
<data name="Tooltips.Library.Mass.Analyse.one" xml:space="preserve"><value>Deep analysis of {0:N0} sequence on this PC · runs as one job</value></data>
<data name="Tooltips.Library.Mass.Analyse.other" xml:space="preserve"><value>Deep analysis of {0:N0} sequences on this PC · runs as one job</value></data>
<data name="Tooltips.Library.Mass.Convert.one" xml:space="preserve"><value>Convert the photos of {0:N0} sequence to JPEG, TIFF or DNG · dry run first, then a job</value></data>
<data name="Tooltips.Library.Mass.Convert.other" xml:space="preserve"><value>Convert the photos of {0:N0} sequences of their archive to JPEG, TIFF or DNG · dry run first, then a job</value></data>
<data name="Tooltips.Library.Mass.Delete.one" xml:space="preserve"><value>Move {0:N0} sequence to its archive's trash · shows the dry run, then asks you to type to confirm</value></data>
<data name="Tooltips.Library.Mass.Delete.other" xml:space="preserve"><value>Move {0:N0} sequences to their archive's trash · shows the dry run, then asks you to type to confirm</value></data>
<data name="Tooltips.Library.Mass.Download.one" xml:space="preserve"><value>Fetch what {0:N0} sequence lacks here (originals or renders) from the server · runs as a transfer job</value></data>