From ba138581e192ebe6d04693f514f4b4744b5a0b56 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Sat, 14 Jan 2023 09:50:32 +1000 Subject: [PATCH] Swagger/Lang additions --- backend/embed/api_docs/components/CertificateObject.json | 3 +++ backend/embed/api_docs/components/HostObject.json | 3 +++ backend/embed/api_docs/components/UpstreamObject.json | 3 +++ frontend/src/locale/src/de.json | 6 +++--- frontend/src/locale/src/en.json | 6 +++--- frontend/src/locale/src/fa.json | 6 +++--- 6 files changed, 18 insertions(+), 9 deletions(-) diff --git a/backend/embed/api_docs/components/CertificateObject.json b/backend/embed/api_docs/components/CertificateObject.json index 789eabf..cf21442 100644 --- a/backend/embed/api_docs/components/CertificateObject.json +++ b/backend/embed/api_docs/components/CertificateObject.json @@ -77,6 +77,9 @@ }, "error_message": { "type": "string" + }, + "user": { + "$ref": "#/components/schemas/UserObject" } } } diff --git a/backend/embed/api_docs/components/HostObject.json b/backend/embed/api_docs/components/HostObject.json index 4d9eb2c..b57d156 100644 --- a/backend/embed/api_docs/components/HostObject.json +++ b/backend/embed/api_docs/components/HostObject.json @@ -50,6 +50,9 @@ "type": "string", "minLength": 4 } + }, + "user": { + "$ref": "#/components/schemas/UserObject" } } } diff --git a/backend/embed/api_docs/components/UpstreamObject.json b/backend/embed/api_docs/components/UpstreamObject.json index 0ad044a..6f1fa35 100644 --- a/backend/embed/api_docs/components/UpstreamObject.json +++ b/backend/embed/api_docs/components/UpstreamObject.json @@ -73,6 +73,9 @@ "error_message": { "type": "string" }, + "user": { + "$ref": "#/components/schemas/UserObject" + }, "servers": { "type": "array", "items": { diff --git a/frontend/src/locale/src/de.json b/frontend/src/locale/src/de.json index c82b8b5..b29310d 100644 --- a/frontend/src/locale/src/de.json +++ b/frontend/src/locale/src/de.json @@ -95,6 +95,9 @@ "column.wildcard-support": { "defaultMessage": "Wildcard-Unterstützung" }, + "create-access-list-title": { + "defaultMessage": "Create Access List" + }, "create-certificate": { "defaultMessage": "Zertifikat erstellen" }, @@ -305,9 +308,6 @@ "settings.title": { "defaultMessage": "Einstellungen" }, - "setup-required": { - "defaultMessage": "Setup Required" - }, "setup.create": { "defaultMessage": "Registrieren" }, diff --git a/frontend/src/locale/src/en.json b/frontend/src/locale/src/en.json index 2db87b0..c7bf530 100644 --- a/frontend/src/locale/src/en.json +++ b/frontend/src/locale/src/en.json @@ -371,6 +371,9 @@ "column.wildcard-support": { "defaultMessage": "Wildcard Support" }, + "create-access-list-title": { + "defaultMessage": "Create Access List" + }, "create-certificate": { "defaultMessage": "Create Certificate" }, @@ -596,9 +599,6 @@ "settings.title": { "defaultMessage": "Settings" }, - "setup-required": { - "defaultMessage": "Setup Required" - }, "setup.create": { "defaultMessage": "Sign up" }, diff --git a/frontend/src/locale/src/fa.json b/frontend/src/locale/src/fa.json index 883c341..d00ea3a 100644 --- a/frontend/src/locale/src/fa.json +++ b/frontend/src/locale/src/fa.json @@ -95,6 +95,9 @@ "column.wildcard-support": { "defaultMessage": "پشتیبانی Wildcard" }, + "create-access-list-title": { + "defaultMessage": "Create Access List" + }, "create-certificate": { "defaultMessage": "ایجاد گواهی" }, @@ -305,9 +308,6 @@ "settings.title": { "defaultMessage": "تنظیمات" }, - "setup-required": { - "defaultMessage": "راه اندازی مورد نیاز است" - }, "setup.create": { "defaultMessage": "ثبت نام" },