From 7522380763605154ace517420000a3f0a2089333 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 30 Jul 2020 10:17:47 -0600 Subject: [PATCH] Update copy --- src/components/views/dialogs/ServerOfflineDialog.tsx | 8 +++++--- src/i18n/strings/en_EN.json | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/views/dialogs/ServerOfflineDialog.tsx b/src/components/views/dialogs/ServerOfflineDialog.tsx index 074ea19d4d..6d2aa5ac27 100644 --- a/src/components/views/dialogs/ServerOfflineDialog.tsx +++ b/src/components/views/dialogs/ServerOfflineDialog.tsx @@ -26,6 +26,7 @@ import { TransactionStatus } from "../../../stores/local-echo/EchoTransaction"; import Spinner from "../elements/Spinner"; import AccessibleButton from "../elements/AccessibleButton"; import { UPDATE_EVENT } from "../../../stores/AsyncStore"; +import { MatrixClientPeg } from "../../../MatrixClientPeg"; interface IProps { onFinished: (bool) => void; @@ -92,6 +93,7 @@ export default class ServerOfflineDialog extends React.PureComponent { timeline = [
{_t("You're all caught up.")}
]; } + const serverName = MatrixClientPeg.getHomeserverName(); return { >

{_t( - "Your server isn't responding to some of your requests for some reason. " + - "Below are some possible reasons why this happened.", + "Your server isn't responding to some of your requests. " + + "Below are some of the most likely reasons.", )}

    -
  • {_t("The server took too long to respond.")}
  • +
  • {_t("The server (%(serverName)s) took too long to respond.", {serverName})}
  • {_t("Your firewall or anti-virus is blocking the request.")}
  • {_t("A browser extension is preventing the request.")}
  • {_t("The server is offline.")}
  • diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index d1e940b3be..c3d4a1c8cc 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1748,8 +1748,8 @@ "Resend": "Resend", "You're all caught up.": "You're all caught up.", "Server isn't responding": "Server isn't responding", - "Your server isn't responding to some of your requests for some reason. Below are some possible reasons why this happened.": "Your server isn't responding to some of your requests for some reason. Below are some possible reasons why this happened.", - "The server took too long to respond.": "The server took too long to respond.", + "Your server isn't responding to some of your requests. Below are some of the most likely reasons.": "Your server isn't responding to some of your requests. Below are some of the most likely reasons.", + "The server (%(serverName)s) took too long to respond.": "The server (%(serverName)s) took too long to respond.", "Your firewall or anti-virus is blocking the request.": "Your firewall or anti-virus is blocking the request.", "A browser extension is preventing the request.": "A browser extension is preventing the request.", "The server is offline.": "The server is offline.",