diff --git a/lib/config-store.js b/lib/config-store.js index 26de883..99e327a 100644 --- a/lib/config-store.js +++ b/lib/config-store.js @@ -68,7 +68,7 @@ const DEFAULTS = { webhookMention: '', // optional Discord ping target: user-id, role:id, @here, @everyone autoRetryRounds: 0, // 0 = off; 1-5 automatic retry rounds for transient failures after batch end autoRetryDelayMin: 5, // base delay in minutes between auto-retry rounds (linear backoff: round N waits N*delay) - historyRetention: 'all', // 'all' | '7d' | '30d' | '90d' | '1000' | '100' — storage cap for upload history + historyRetention: 'all', // 'all' | '7d' | '14d' | '30d' | '90d' | '1000' | '100' — storage cap for upload history // NOTE: logMode is intentionally NOT in DEFAULTS. If it were, the deep-merge // would seed logMode='single' for every load, which would beat (and silently // erase) the legacy sessionLog:true → "daily" migration. normalizeLogMode in @@ -132,6 +132,7 @@ const DEFAULTS = { const HISTORY_RETENTION_OPTIONS = [ { value: 'all', label: 'Alles behalten' }, { value: '7d', label: 'Letzte 7 Tage' }, + { value: '14d', label: 'Letzte 14 Tage' }, { value: '30d', label: 'Letzte 30 Tage' }, { value: '90d', label: 'Letzte 90 Tage' }, { value: '1000', label: 'Letzte 1000 Uploads' }, diff --git a/renderer/app.js b/renderer/app.js index 99d368d..90c66fb 100644 --- a/renderer/app.js +++ b/renderer/app.js @@ -5924,6 +5924,7 @@ function updateHistorySidebarSummary() { const labels = { all: 'Alles behalten', '7d': 'Letzte 7 Tage', + '14d': 'Letzte 14 Tage', '30d': 'Letzte 30 Tage', '90d': 'Letzte 90 Tage', '1000': 'Letzte 1000 Uploads', @@ -8595,6 +8596,7 @@ function syncHistoryRetentionPicker() { const labels = { all: 'Alles behalten', '7d': 'Letzte 7 Tage', + '14d': 'Letzte 14 Tage', '30d': 'Letzte 30 Tage', '90d': 'Letzte 90 Tage', '1000': 'Letzte 1000 Uploads', diff --git a/renderer/i18n.js b/renderer/i18n.js index 1fe5127..87cd0d9 100644 --- a/renderer/i18n.js +++ b/renderer/i18n.js @@ -61,6 +61,9 @@ ['Letzte 100 Uploads', 'Last 100 uploads'], ['Letzte 1000 Uploads', 'Last 1,000 uploads'], ['Letzte 7 Tage', 'Last 7 days'], + ['Letzte 14 Tage', 'Last 14 days'], + ['Wird erstellt…', 'Creating…'], + ['Anzahl weiterer Versuche pro Datei, bevor der Upload als fehlgeschlagen gilt.', 'Number of additional attempts per file before the upload is marked as failed.'], ['Letzte 30 Tage', 'Last 30 days'], ['Letzte 90 Tage', 'Last 90 days'], ['Max. parallele Uploads', 'Max. parallel uploads'], diff --git a/renderer/index.html b/renderer/index.html index 7d430eb..5887136 100644 --- a/renderer/index.html +++ b/renderer/index.html @@ -609,6 +609,7 @@