From 96e9e170d85e968422d49f1a74be0f4a93ee76fd Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 24 Sep 2022 01:26:35 +0300 Subject: [PATCH] SessionsCount --- public/locales/en/translations.json | 2 +- public/locales/ro/translations.json | 2 +- src/components/home/HomePage.js | 1 + src/features/server/components/ServerSummary.js | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/public/locales/en/translations.json b/public/locales/en/translations.json index e74b8c4..489c76d 100644 --- a/public/locales/en/translations.json +++ b/public/locales/en/translations.json @@ -107,7 +107,7 @@ "Thoughts": "This reverse proxy is the only open gate to a secret creation land. There any impulse or thought can fly free and can be materialized without limits. If you don't believe it, ask the ", "Wizard": "wizard", "HostName": "Server host", - "ApiHostName": "API host", + "SessionsCount": "Sessions count", "Domain": "Domain", "ActiveSession": "Active session", "ActiveSessionSubtitle": "Expand to see forwards", diff --git a/public/locales/ro/translations.json b/public/locales/ro/translations.json index 353c6a2..0c1d24b 100644 --- a/public/locales/ro/translations.json +++ b/public/locales/ro/translations.json @@ -98,7 +98,7 @@ "Thoughts": "Acest reverse proxy este singura poartă deschisă către un teren secret al creației. Acolo orice impuls sau gând poate zbura liber și poate fi materializat fără limite. Dacă nu crezi, întreabă-l pe ", "Wizard": "vrăjitor", "HostName": "Gazdă server", - "ApiHostName": "Gazdă API", + "SessionsCount": "Număr sesiuni", "Domain": "Domeniu", "ActiveSession": "Sesiune activă", "ActiveSessionSubtitle": "Extindeţi pentru a vedea redirectările", diff --git a/src/components/home/HomePage.js b/src/components/home/HomePage.js index 6f0ea7e..0c2407b 100644 --- a/src/components/home/HomePage.js +++ b/src/components/home/HomePage.js @@ -13,6 +13,7 @@ const HomePage = () => {

+
); }; diff --git a/src/features/server/components/ServerSummary.js b/src/features/server/components/ServerSummary.js index a937cde..6bcdf38 100644 --- a/src/features/server/components/ServerSummary.js +++ b/src/features/server/components/ServerSummary.js @@ -29,8 +29,8 @@ const ServerSummary = ({ - {`${t("Server.ApiHostName")}: `} - {data.hosts.api} + {`${t("Server.SessionsCount")}: `} + {data.sessionsCount}