diff --git a/src/components/NoteList/index.tsx b/src/components/NoteList/index.tsx index ac2cbcc7..f76ed7f7 100644 --- a/src/components/NoteList/index.tsx +++ b/src/components/NoteList/index.tsx @@ -272,6 +272,20 @@ const NoteList = forwardRef( ) { return } + // don't toast for routine connection failures (noisy and expected when relays are down/slow) + const r = reason.toLowerCase() + if ( + r.includes('connection failed') || + r.includes('econnrefused') || + r.includes('econnreset') || + r.includes('etimedout') || + r.includes('timeout') || + r.includes('network') || + r.includes('enotfound') || + r.includes('connection refused') + ) { + return + } toast.error(`${url}: ${reason}`) } diff --git a/src/i18n/locales/de.ts b/src/i18n/locales/de.ts index 40201c91..7e628ace 100644 --- a/src/i18n/locales/de.ts +++ b/src/i18n/locales/de.ts @@ -260,9 +260,9 @@ export default { Autoplay: 'Automatische Wiedergabe', 'Enable video autoplay on this device': 'Aktiviere die automatische Video-Wiedergabe auf diesem Gerät', - 'Add 3 random relays to every publish': 'Relay-Liste mit 3 zufälligen öffentlichen Relays vorfüllen', + 'Add 3 random relays to every publish': '3 zufällige Relays bei jedem Publish hinzufügen', 'Add 3 random relays to every publish description': - 'Zeigt 3 zufällige öffentliche Relays in der Publish-Relay-Liste (nicht angehakt), damit du sie optional für mehr Zensur-Resilienz auswählen kannst.', + 'Fügt der Publish-Relay-Liste immer 3 zufällige öffentliche Relays hinzu. Bei AN sind sie standardmäßig ausgewählt; bei AUS erscheinen sie in der Liste, sind aber nicht angehakt, sodass du sie optional einbeziehen kannst.', 'relayType_local': 'Lokal', 'relayType_relay_list': 'Relay-Liste', 'relayType_client_default': 'Client-Standard', diff --git a/src/i18n/locales/en.ts b/src/i18n/locales/en.ts index da8e94c8..dc0bf7fb 100644 --- a/src/i18n/locales/en.ts +++ b/src/i18n/locales/en.ts @@ -322,9 +322,9 @@ export default { General: 'General', Autoplay: 'Autoplay', 'Enable video autoplay on this device': 'Enable video autoplay on this device', - 'Add 3 random relays to every publish': 'Preload relay list with 3 random public relays', + 'Add 3 random relays to every publish': 'Random relays in publish list', 'Add 3 random relays to every publish description': - 'Show 3 random public relays in the publish relay list (unchecked) so you can optionally include them for censorship resilience.', + 'Always adds 3 random public relays to the publish relay list. When ON, they are selected by default; when OFF, they appear in the list but are unchecked so you can optionally include them.', 'relayType_local': 'Local', 'relayType_relay_list': 'Relay list', 'relayType_client_default': 'Client default',