feat(app): Reorganize existing sequences from the Archive manager, the Library and Settings

Owner review 2, R7 asks to rename and move sequences after import on the desktop too.
The desktop now uses the engine's Reorganize, the same plan and job as the web panel.

- One Reorganize… dialog replaces Rename… and Move… in the Archive manager and Move… in
  the Library. It has three templates: folders, file names and titles. Each one has a
  switch and is checked as it is typed. Folders and file names start on, filled from the
  archive's settings; titles start off as {title}. Renaming only titles is the Titles
  switch alone.
- The dry run stays in the dialog and follows the typing. Each sequence shows its folder,
  title and first file names before and after. Sequences carried along with a folder are
  marked, and photos that keep their names are listed with the reason. A summary counts
  the sequences that change, the files renamed and the names kept.
- Apply no longer changes the archive from the dialog. It queues the engine's move job
  with exactly the plan shown (its fingerprint), so the work can be paused, resumed after
  a restart and followed in Jobs. The job refuses the plan if the archive changed after
  the dry run.
- The Library's Reorganize… works on the selected sequences of one archive. The Archive
  screen reads the archive again when a move job ends.
- After Settings › Archive saves a new folder or file template to an archive that holds
  sequences, a toast offers Reorganize… for every sequence. Its templates are the ones
  changed since; a second change made while the toast is up adds to that toast instead of
  opening another.
- Strings in en and it. The keys of the old Rename and Move were removed and pruned from
  every translation, so the 36 other languages show the new keys as untranslated instead
  of keeping "Move".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 7bbf451f737a71b768dcd70a77b998daaef851f3)
This commit is contained in:
Alby96 committed 2026-10-27 14:04:37 +01:00
1 parent 17efb50e11
commit ad72501f11
134 files changed
+998 -888

No files matched your search

+18 -7
View File
@@ -15,6 +15,7 @@
<data name="Archive.Blocked.Applying" xml:space="preserve"><value>Wait until the changes are applied.</value><comment>long</comment></data>
<data name="Archive.Blocked.EmptySet" xml:space="preserve"><value>The set is empty: change the selection or the filter.</value><comment>long</comment></data>
<data name="Archive.Blocked.NoChanges" xml:space="preserve"><value>Nothing would change.</value><comment>long</comment></data>
<data name="Archive.Blocked.NoTemplate" xml:space="preserve"><value>Turn on at least one template.</value><comment>long</comment></data>
<data name="Archive.Blocked.NotOnline" xml:space="preserve"><value>The archive must be online and writable.</value><comment>long</comment></data>
<data name="Archive.Blocked.Planning" xml:space="preserve"><value>Wait for the dry run.</value><comment>long</comment></data>
<data name="Archive.Blocked.Reading" xml:space="preserve"><value>Wait until the archive is read.</value><comment>long</comment></data>
@@ -212,18 +213,29 @@
<data name="Archive.Relink.Title" xml:space="preserve"><value>Folder of the moved archive</value></data>
<data name="Archive.Rename.Apply" xml:space="preserve"><value>Apply</value></data>
<data name="Archive.Rename.Applying" xml:space="preserve"><value>{0} of {1}</value></data>
<data name="Archive.Rename.Heading.one" xml:space="preserve"><value>Rename {0:N0} sequence</value></data>
<data name="Archive.Rename.Heading.other" xml:space="preserve"><value>Rename {0:N0} sequences</value></data>
<data name="Archive.Rename.MoveHeading.one" xml:space="preserve"><value>Move {0:N0} sequence</value></data>
<data name="Archive.Rename.MoveHeading.other" xml:space="preserve"><value>Move {0:N0} sequences</value></data>
<data name="Archive.Rename.Preview" xml:space="preserve"><value>Changes</value></data>
<data name="Archive.Rename.Summary.one" xml:space="preserve"><value>{0:N0} of {1:N0} changes</value></data>
<data name="Archive.Rename.Summary.other" xml:space="preserve"><value>{0:N0} of {1:N0} change</value></data>
<data name="Archive.Rename.Template" xml:space="preserve"><value>Template</value></data>
<data name="Archive.Reorganize.Blocked.InPlace" xml:space="preserve"><value>Photos kept in place outside originals keep their names.</value><comment>long: why photos keep their names in a Reorganize dry run</comment></data>
<data name="Archive.Reorganize.Blocked.Missing" xml:space="preserve"><value>Missing photos keep their names.</value><comment>long: why photos keep their names in a Reorganize dry run</comment></data>
<data name="Archive.Reorganize.Blocked.Unhashed" xml:space="preserve"><value>Photos never verified keep their names; verify the sequence first.</value><comment>long: why photos keep their names in a Reorganize dry run</comment></data>
<data name="Archive.Reorganize.Blocked.Unreadable" xml:space="preserve"><value>The sequence file cannot be read; its photos keep their names.</value><comment>long: why photos keep their names in a Reorganize dry run</comment></data>
<data name="Archive.Reorganize.Carried" xml:space="preserve"><value>Follows its folder</value></data>
<data name="Archive.Reorganize.Change" xml:space="preserve"><value>{0}: {1} to {2}</value><comment>long: what a screen reader says for one line of the Reorganize dry run; {0} Folder, Title or File, {1} before, {2} after</comment></data>
<data name="Archive.Reorganize.File" xml:space="preserve"><value>File</value></data>
<data name="Archive.Reorganize.Files" xml:space="preserve"><value>File names</value></data>
<data name="Archive.Reorganize.Folder" xml:space="preserve"><value>Folder</value></data>
<data name="Archive.Reorganize.Folders" xml:space="preserve"><value>Folders</value></data>
<data name="Archive.Reorganize.Heading.one" xml:space="preserve"><value>Reorganize {0:N0} sequence</value></data>
<data name="Archive.Reorganize.Heading.other" xml:space="preserve"><value>Reorganize {0:N0} sequences</value></data>
<data name="Archive.Reorganize.HeadingAll" xml:space="preserve"><value>Reorganize {0}</value><comment>long: dialog heading; {0} archive name</comment></data>
<data name="Archive.Reorganize.Kept.one" xml:space="preserve"><value>{0:N0} name kept</value></data>
<data name="Archive.Reorganize.Kept.other" xml:space="preserve"><value>{0:N0} names kept</value></data>
<data name="Archive.Reorganize.Planning" xml:space="preserve"><value>Dry run…</value></data>
<data name="Archive.Reorganize.Renamed.one" xml:space="preserve"><value>{0:N0} file renamed</value></data>
<data name="Archive.Reorganize.Renamed.other" xml:space="preserve"><value>{0:N0} files renamed</value></data>
<data name="Archive.Reorganize.Title" xml:space="preserve"><value>Title</value></data>
<data name="Archive.Reorganize.Titles" xml:space="preserve"><value>Titles</value></data>
<data name="Archive.Retag.Add" xml:space="preserve"><value>Add tags</value></data>
<data name="Archive.Retag.Apply" xml:space="preserve"><value>Apply</value></data>
<data name="Archive.Retag.Heading.one" xml:space="preserve"><value>Tags of {0:N0} sequence</value></data>
@@ -238,9 +250,8 @@
<data name="Archive.Set.Export" xml:space="preserve"><value>Export CSV</value></data>
<data name="Archive.Set.Filter" xml:space="preserve"><value>Set filter</value></data>
<data name="Archive.Set.Label" xml:space="preserve"><value>Filtered set</value></data>
<data name="Archive.Set.Move" xml:space="preserve"><value>Move…</value></data>
<data name="Archive.Set.Proxies" xml:space="preserve"><value>Proxies</value></data>
<data name="Archive.Set.Rename" xml:space="preserve"><value>Rename…</value></data>
<data name="Archive.Set.Reorganize" xml:space="preserve"><value>Reorganize…</value></data>
<data name="Archive.Set.Retag" xml:space="preserve"><value>Retag…</value></data>
<data name="Archive.Set.Thumbnails" xml:space="preserve"><value>Thumbnails</value></data>
<data name="Archive.Set.Verify" xml:space="preserve"><value>Verify</value></data>