From 02359b482c3c37c3eb4a964037b9cc9394b64984 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 12 Oct 2026 11:15:16 +0000 Subject: [PATCH] fix(settings): restore summaries read as labels; Reset all also turns off Start with Windows The restore dialog's two summary lines count sequences and photos in one sentence, which a plural key cannot express: they read "Backup: sequences 12, photos 3,400". Reset all returns the sign-in entry, kept in the registry rather than in the settings file, to its default (off) too. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC --- i18n/en/Settings.resx | 4 ++-- i18n/it/Settings.it.resx | 4 ++-- src/Titano.App/Sections/SettingsViewModel.cs | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/i18n/en/Settings.resx b/i18n/en/Settings.resx index f9f307da..12316821 100644 --- a/i18n/en/Settings.resx +++ b/i18n/en/Settings.resx @@ -26,9 +26,9 @@ Restart Titano to restore the index.long Restore Restore - Backup: {0} sequences, {1} photoslong + Backup: sequences {0}, photos {1}long Cancel restore - Now: {0} sequences, {1} photoslong + Now: sequences {0}, photos {1}long The index was not restoredlong The index returns to this backup when Titano starts next. The current index is backed up first; the files of the archive are not touched.long Restore… diff --git a/i18n/it/Settings.it.resx b/i18n/it/Settings.it.resx index 44518e62..487c29f2 100644 --- a/i18n/it/Settings.it.resx +++ b/i18n/it/Settings.it.resx @@ -26,9 +26,9 @@ Riavvia Titano per ripristinare l'indice. Ripristino Ripristina - Copia: {0} sequenze, {1} foto + Copia: sequenze {0}, foto {1} Annulla ripristino - Ora: {0} sequenze, {1} foto + Ora: sequenze {0}, foto {1} L'indice non è stato ripristinato L'indice torna a questa copia al prossimo avvio di Titano. Prima si salva una copia dell'indice attuale; i file dell'archivio non vengono toccati. Ripristina… diff --git a/src/Titano.App/Sections/SettingsViewModel.cs b/src/Titano.App/Sections/SettingsViewModel.cs index 2d982398..bdd1ae23 100644 --- a/src/Titano.App/Sections/SettingsViewModel.cs +++ b/src/Titano.App/Sections/SettingsViewModel.cs @@ -1410,6 +1410,8 @@ public sealed class SettingsViewModel : SectionViewModel FirstRunCompleted = _s.FirstRunCompleted, JobsClearedAt = _s.JobsClearedAt, }; + // Start with Windows lives in the registry, not in the settings file: its default is off. + Startup.SetEnabled(false); ApplyAll(defaults); _ = LoadArchiveAsync(); Log.Info("settings", "Every setting reset to its default");