From ce250adca4f711001d79f296c030ce2cb3bffd50 Mon Sep 17 00:00:00 2001 From: Laura Kramolis Date: Tue, 30 Dec 2025 14:57:41 +0100 Subject: [PATCH] fix(l10n): Make error messages sound a bit less intimidating This is still not ideal, but an improvement Signed-off-by: Laura Kramolis --- src/utils/signaling.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/signaling.js b/src/utils/signaling.js index 3a712ec49da..08e48a2230f 100644 --- a/src/utils/signaling.js +++ b/src/utils/signaling.js @@ -675,7 +675,7 @@ Signaling.Standalone.prototype.connect = function() { if (this.signalingConnectionError === null && this.signalingConnectionWarning === null) { this.signalingConnectionTimeout = setTimeout(() => { - this.signalingConnectionWarning = showWarning(t('spreed', 'Establishing signaling connection is taking longer than expected …'), { + this.signalingConnectionWarning = showWarning(t('spreed', 'Connecting is taking longer than expected …'), { timeout: TOAST_PERMANENT_TIMEOUT, }) }, 2000) @@ -731,7 +731,7 @@ Signaling.Standalone.prototype.connect = function() { this.signalingConnectionWarning = null } if (this.signalingConnectionError === null) { - this.signalingConnectionError = showError(t('spreed', 'Failed to establish signaling connection. Retrying …'), { + this.signalingConnectionError = showError(t('spreed', 'Failed to connect. Retrying …'), { timeout: TOAST_PERMANENT_TIMEOUT, }) } @@ -1069,7 +1069,7 @@ Signaling.Standalone.prototype.helloResponseReceived = function(data) { this.helloResponseErrorCount++ if (this.signalingConnectionError === null && this.helloResponseErrorCount < 5) { - this.signalingConnectionError = showError(t('spreed', 'Failed to establish signaling connection. Retrying …'), { + this.signalingConnectionError = showError(t('spreed', 'Failed to connect. Retrying …'), { timeout: TOAST_PERMANENT_TIMEOUT, }) } else if (this.helloResponseErrorCount === 5) { @@ -1079,7 +1079,7 @@ Signaling.Standalone.prototype.helloResponseReceived = function(data) { if (this.signalingConnectionError) { this.signalingConnectionError.hideToast() } - this.signalingConnectionError = showError(t('spreed', 'Failed to establish signaling connection. Something might be wrong in the signaling server configuration'), { + this.signalingConnectionError = showError(t('spreed', 'Failed to connect. The signaling server may be set up incorrectly'), { timeout: TOAST_PERMANENT_TIMEOUT, }) }