fix(import): staging failures of a server import name this PC, failed jobs show catalog sentences

A server import stages its copies in this PC's cache folder, yet a full disk
there read 'The destination is full.' beside every photo, and a refused
write 'Titano may not write to the destination.', which sent the user to
the server. IImportSink.StagesOnThisPc (true for ServerImportSink) selects
Import.Failed.CacheFull and Import.Failed.CacheAccess instead.

A failed archive import job showed the job engine's raw text (SQLite, file
system or framework English) as the Import screen's line. ImportFailures.Job
keeps the archive engine's own localized sentences and shows 'The import
stopped before the end.' for anything else; the raw text stays in the
tooltip and the logs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-12 19:00:51 +00:00
1 parent 59d49f16af
commit e97b0e4f84
9 files changed
+100 -9

No files matched your search

+2
View File
@@ -103,6 +103,8 @@
<data name="Import.Erase.Verified.one" xml:space="preserve"><value>{0:N0} verificata sulla scheda</value></data>
<data name="Import.Erase.Verified.other" xml:space="preserve"><value>{0:N0} verificate sulla scheda</value></data>
<data name="Import.Failed.Access" xml:space="preserve"><value>Titano non può scrivere nella destinazione.</value></data>
<data name="Import.Failed.CacheAccess" xml:space="preserve"><value>Titano non può scrivere nella cartella cache di questo PC.</value></data>
<data name="Import.Failed.CacheFull" xml:space="preserve"><value>Il disco della cartella cache di questo PC è pieno.</value></data>
<data name="Import.Failed.CardLocked" xml:space="preserve"><value>{0}: la scheda è protetta da scrittura o contiene foto protette.</value></data>
<data name="Import.Failed.CheckRead" xml:space="preserve"><value>Impossibile leggere una foto o la sua copia nell'archivio.</value></data>
<data name="Import.Failed.Full" xml:space="preserve"><value>La destinazione è piena.</value></data>