aboutsummaryrefslogtreecommitdiffstats
path: root/translations/qtmaildir_it_IT.ts
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-20 18:38:13 +0200
committerDanilo M. <danix@danix.xyz>2026-08-20 18:38:13 +0200
commit90cf14b0b23218f0ca01a280998e855a00b47567 (patch)
tree711317cb11f9c3b56637a2aa02e7438950950dc0 /translations/qtmaildir_it_IT.ts
parentff76a8fc6c050de121a277faa1937eeec9ac4641 (diff)
downloadqtmaildir-90cf14b0b23218f0ca01a280998e855a00b47567.tar.gz
qtmaildir-90cf14b0b23218f0ca01a280998e855a00b47567.zip
fix(config): reject garbage numerics instead of silently reading zero, item 123
toInt() and toLongLong() return 0 on failure rather than the default, so a typo in autosave_interval_ms produced a zero-interval timer. That timer is restarted on every keystroke, so it would fire on the next event-loop pass and turn a 30 second debounce into a Maildir write per keystroke, each one uploaded by mbsync: exactly the behaviour the debounce exists to prevent. This file already had the right shape in five places, a checked parse that reports the bad value and keeps the default. The [compose] keys were the only numerics skipping it. The interval is also clamped, since nothing assigns a meaning to a zero or negative autosave. quote_position now warns on an unrecognised value, matching sync_on_exit, language and date_format; the only silent fallbacks in this file are for absent keys rather than malformed ones. And a missing `sent` folder is a notice rather than a problem, because the spec blesses that configuration and a modal on every launch for a permanently correct setup is how users learn to dismiss dialogs unread. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015muoUo2GdxmBDSp5vjYcbE
Diffstat (limited to 'translations/qtmaildir_it_IT.ts')
-rw-r--r--translations/qtmaildir_it_IT.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/translations/qtmaildir_it_IT.ts b/translations/qtmaildir_it_IT.ts
index edc9d5e..4dbc62d 100644
--- a/translations/qtmaildir_it_IT.ts
+++ b/translations/qtmaildir_it_IT.ts
@@ -48,6 +48,22 @@
<translation>L&apos;account &apos;%1&apos; non ha un cestino configurato; aggiungere una chiave &apos;trash&apos; alla sua sezione. L&apos;eliminazione non funzionerà per questo account finché non verrà fatto.</translation>
</message>
<message>
+ <source>[compose] quote_position &apos;%1&apos; is not recognised; expected above or below. Using above.</source>
+ <translation>[compose] quote_position &apos;%1&apos; non è riconosciuto; atteso above o below. Verrà usato above.</translation>
+ </message>
+ <message>
+ <source>[compose] autosave_interval_ms &apos;%1&apos; is not a number; using %2.</source>
+ <translation>[compose] autosave_interval_ms &apos;%1&apos; non è un numero; verrà usato %2.</translation>
+ </message>
+ <message>
+ <source>[compose] send_delay_ms &apos;%1&apos; is not a number; using %2.</source>
+ <translation>[compose] send_delay_ms &apos;%1&apos; non è un numero; verrà usato %2.</translation>
+ </message>
+ <message>
+ <source>[compose] attachment_warn_bytes &apos;%1&apos; is not a number; using %2.</source>
+ <translation>[compose] attachment_warn_bytes &apos;%1&apos; non è un numero; verrà usato %2.</translation>
+ </message>
+ <message>
<source>Startup account &apos;%1&apos; is not a configured account; starting on all accounts.</source>
<translation>L&apos;account iniziale &apos;%1&apos; non è un account configurato; si parte da tutti gli account.</translation>
</message>