diff --git a/packages/platform/src/lang/en.json b/packages/platform/src/lang/en.json index a0278d058f..16f2908a27 100644 --- a/packages/platform/src/lang/en.json +++ b/packages/platform/src/lang/en.json @@ -9,6 +9,14 @@ "Unauthorized": "Unauthorized", "UnknownMethod": "Unknown method: {method}", "InternalServerError": "Internal server error", - "MaintenanceWarning": "Maintenance Scheduled in {time, plural, =1 {less a minute} other {# minutes}}" + "MaintenanceWarning": "Maintenance Scheduled in {time, plural, =1 {less a minute} other {# minutes}}", + "AccountNotFound": "Account not found", + "WorkspaceNotFound": "Workspace not found", + "InvalidPassword": "Invalid password", + "AccountAlreadyExists": "Account already exists", + "AccountAlreadyConfirmed": "Account already confirmed", + "AccountWasMerged": "Account was merged", + "WorkspaceAlreadyExists": "Workspace already exists", + "ProductIdMismatch": "Product Mismatch" } } diff --git a/packages/platform/src/lang/ru.json b/packages/platform/src/lang/ru.json index 67f6f0d3f1..b7e043aaa8 100644 --- a/packages/platform/src/lang/ru.json +++ b/packages/platform/src/lang/ru.json @@ -9,6 +9,14 @@ "Unauthorized": "Неавторизован", "UnknownMethod": "Неизвестный метод: {method}", "InternalServerError": "Внутренняя ошибка сервера", - "MaintenanceWarning": "Серверные работы запланированы через {time} минут" + "MaintenanceWarning": "Серверные работы запланированы через {time} минут", + "AccountNotFound": "Аккаунт не найден", + "WorkspaceNotFound": "Рабочее пространство не найдено", + "InvalidPassword": "Неверный пароль", + "AccountAlreadyExists": "Аккаунт уже существует", + "AccountAlreadyConfirmed": "Аккаунт уже подтвержден", + "AccountWasMerged": "Аккаунт был объединен", + "WorkspaceAlreadyExists": "Рабочее пространство уже существует", + "ProductIdMismatch": "Продукт не соответсвует" } } diff --git a/packages/platform/src/platform.ts b/packages/platform/src/platform.ts index 40ab14c8da..6e8929140c 100644 --- a/packages/platform/src/platform.ts +++ b/packages/platform/src/platform.ts @@ -144,7 +144,15 @@ export default plugin(platformId, { ExpiredLink: '' as StatusCode, UnknownMethod: '' as StatusCode<{ method: string }>, InternalServerError: '' as StatusCode, - MaintenanceWarning: '' as StatusCode<{ time: number }> + MaintenanceWarning: '' as StatusCode<{ time: number }>, + AccountNotFound: '' as StatusCode<{ account: string }>, + WorkspaceNotFound: '' as StatusCode<{ workspace: string }>, + InvalidPassword: '' as StatusCode<{ account: string }>, + AccountAlreadyExists: '' as StatusCode<{ account: string }>, + AccountAlreadyConfirmed: '' as StatusCode<{ account: string }>, + AccountWasMerged: '' as StatusCode<{ account: string }>, + WorkspaceAlreadyExists: '' as StatusCode<{ workspace: string }>, + ProductIdMismatch: '' as StatusCode<{ productId: string }> }, metadata: { locale: '' as Metadata diff --git a/plugins/login-resources/src/components/SignupForm.svelte b/plugins/login-resources/src/components/SignupForm.svelte index dd65f41ed3..906ca3e625 100644 --- a/plugins/login-resources/src/components/SignupForm.svelte +++ b/plugins/login-resources/src/components/SignupForm.svelte @@ -14,8 +14,8 @@ // limitations under the License. -->