diff --git a/packages/backend-core/src/middleware/passport/local.ts b/packages/backend-core/src/middleware/passport/local.ts index e198032532d2..e314ce4bee6a 100644 --- a/packages/backend-core/src/middleware/passport/local.ts +++ b/packages/backend-core/src/middleware/passport/local.ts @@ -4,8 +4,8 @@ import * as users from "../../users" import { authError } from "./utils" import { BBContext } from "@budibase/types" -const INVALID_ERR = "Invalid credentials" -const EXPIRED = "This account has expired. Please reset your password" +const INVALID_ERR = "정상적으로 로그인할 수 없습니다." +const EXPIRED = "이 계정은 만료되었습니다. 비밀번호를 재설정하세요" export const options = { passReqToCallback: true, diff --git a/packages/bbui/src/Modal/ModalContent.svelte b/packages/bbui/src/Modal/ModalContent.svelte index 226414ee11fa..edd25a23def8 100644 --- a/packages/bbui/src/Modal/ModalContent.svelte +++ b/packages/bbui/src/Modal/ModalContent.svelte @@ -9,8 +9,8 @@ export let title = undefined export let size = "S" - export let cancelText = "Cancel" - export let confirmText = "Confirm" + export let cancelText = "취소" + export let confirmText = "확인" export let showCancelButton = true export let showConfirmButton = true export let showCloseIcon = true diff --git a/packages/builder/index.html b/packages/builder/index.html index e3383cda39c7..258023e0ed08 100644 --- a/packages/builder/index.html +++ b/packages/builder/index.html @@ -3,7 +3,7 @@ - Budibase + ABLECLOUD - Partner Management diff --git a/packages/builder/src/components/settings/ChangePasswordModal.svelte b/packages/builder/src/components/settings/ChangePasswordModal.svelte index 358e23809212..01abb58534d1 100644 --- a/packages/builder/src/components/settings/ChangePasswordModal.svelte +++ b/packages/builder/src/components/settings/ChangePasswordModal.svelte @@ -9,19 +9,19 @@ const updatePassword = async () => { try { await auth.updateSelf({ password }) - notifications.success("Password changed successfully") + notifications.success("비밀번호가 성공적으로 변경되었습니다.") } catch (error) { - notifications.error("Failed to update password") + notifications.error("비밀번호를 변경하지 못했습니다.") } } - Enter your new password below. + 새로운 비밀번호를 입력해주세요. diff --git a/packages/builder/src/components/settings/ProfileModal.svelte b/packages/builder/src/components/settings/ProfileModal.svelte index caaf5154b3c3..3d90d7a30d35 100644 --- a/packages/builder/src/components/settings/ProfileModal.svelte +++ b/packages/builder/src/components/settings/ProfileModal.svelte @@ -11,19 +11,17 @@ const updateInfo = async () => { try { await auth.updateSelf($values) - notifications.success("Information updated successfully") + notifications.success("정보가 성공적으로 변경되었습니다.") } catch (error) { console.error(error) - notifications.error("Failed to update information") + notifications.error("정보를 변경하지 못했습니다.") } } - - - Personalise the platform by adding your first name and last name. - - - - + + 이름과 성을 입력하실수 있습니다. + + + diff --git a/packages/builder/src/favicon.png b/packages/builder/src/favicon.png index 60ab37ad8485..fee450fc61f4 100644 Binary files a/packages/builder/src/favicon.png and b/packages/builder/src/favicon.png differ diff --git a/packages/builder/src/pages/builder/apps/index.svelte b/packages/builder/src/pages/builder/apps/index.svelte index 23f4df5bb508..285d9d72b41a 100644 --- a/packages/builder/src/pages/builder/apps/index.svelte +++ b/packages/builder/src/pages/builder/apps/index.svelte @@ -104,32 +104,32 @@ userInfoModal.show()}> - My profile + 프로필 정보 changePasswordModal.show()} > - Update password + 비밀번호 변경 {#if $auth.isBuilder} $goto("../portal")} > - Open developer mode + 개발모드로 열기 {/if} - Log out + 로그 아웃 - Hey {$auth.user.firstName || $auth.user.email} + {$auth.user.firstName || $auth.user.email} 님 환영합니다. - Welcome to the {$organisation.company} portal. Below you'll find the - list of apps that you have access to. + {$organisation.company} 파트너 관리에 오신 것을 환영합니다. 아래에서 + 액세스할 수 있는 앱 목록을 찾을 수 있습니다. @@ -138,13 +138,13 @@ spaceman - {"Your apps are currently offline."} + {"앱이 현재 오프라인 상태입니다."} - Please contact the account holder to get them back online. + 다시 온라인 상태로 되돌리려면 계정 소유자에게 문의하십시오. {:else if userApps.length} - Apps + 앱 목록
{#each userApps as app, idx (app.appId)} @@ -155,7 +155,7 @@ {#if app.updatedAt} {processStringSync( - "Updated {{ duration time 'millisecond' }} ago", + "{{ duration time 'millisecond' }} 전 업데이트 됨", { time: new Date().getTime() - @@ -163,7 +163,7 @@ } )} {:else} - Never updated + 업데이트 없음. {/if}
@@ -174,9 +174,10 @@ {:else} - You don't have access to any apps yet. + 현재 접근할 수 있는 앱 목록이 없습니다. - The apps you have access to will be listed here. + 접근 권한이 있는 앱 목록이 아래에 나열됩니다. {/if} diff --git a/packages/builder/src/pages/builder/auth/forgot.svelte b/packages/builder/src/pages/builder/auth/forgot.svelte index 2ea8bf7a940e..8abaee654022 100644 --- a/packages/builder/src/pages/builder/auth/forgot.svelte +++ b/packages/builder/src/pages/builder/auth/forgot.svelte @@ -27,10 +27,10 @@ submitted = true try { await auth.forgotPassword(email) - notifications.success("Email sent - please check your inbox") + notifications.success("이메일을 보냈습니다 - 받은 편지함을 확인하십시오") } catch (err) { submitted = false - notifications.error("Unable to send reset password link") + notifications.error("비밀번호 재설정 링크를 보낼 수 없습니다.") } } @@ -52,28 +52,27 @@ $goto("../")}> - Forgot your password? + 비밀번호를 잊으셨습니까? - No problem! Just enter your account's email address and we'll send you a - link to reset it. + 계정의 이메일 주소를 입력하면 재설정 링크를 보내드립니다. { email = e.detail }} validate={() => { if (!email) { - return "Please enter your email" + return "이메일을 입력해주세요." } return null }} @@ -89,7 +88,7 @@ cta on:click={forgot} > - Reset password + 비밀번호 재설정 diff --git a/packages/builder/src/pages/builder/auth/login.svelte b/packages/builder/src/pages/builder/auth/login.svelte index 06e09e4fee9b..f52883e908d9 100644 --- a/packages/builder/src/pages/builder/auth/login.svelte +++ b/packages/builder/src/pages/builder/auth/login.svelte @@ -41,11 +41,11 @@ if ($auth?.user?.forceResetPassword) { $goto("./reset") } else { - notifications.success("Logged in successfully") + notifications.success("성공적으로 로그인했습니다.") $goto("../portal") } } catch (err) { - notifications.error(err.message ? err.message : "Invalid credentials") + notifications.error(err.message ? err.message : "정상적으로 로그인할 수 없습니다.") } } @@ -71,20 +71,20 @@ {#if loaded} logo {/if} - Log in to Budibase + ABLECLOUD 파트너 관리 {#if loaded && ($organisation.google || $organisation.oidc)} - + {/if} {#if !$organisation.isSSOEnforced} { formData = { @@ -95,7 +95,7 @@ validate={() => { let fieldError = { username: !formData.username - ? "Please enter a valid email" + ? "유효한 이메일을 입력해주세요." : undefined, } errors = handleError({ ...errors, ...fieldError }) @@ -103,7 +103,7 @@ error={errors.username} /> { @@ -115,7 +115,7 @@ validate={() => { let fieldError = { password: !formData.password - ? "Please enter your password" + ? "올바른 비밀번호를 입력해주세요." : undefined, } errors = handleError({ ...errors, ...fieldError }) @@ -133,13 +133,13 @@ disabled={Object.keys(errors).length > 0} on:click={login} > - Log in to {company} + 로그인 diff --git a/packages/builder/src/pages/builder/auth/reset.svelte b/packages/builder/src/pages/builder/auth/reset.svelte index 19bc1a1b7dcf..da6b59870dbf 100644 --- a/packages/builder/src/pages/builder/auth/reset.svelte +++ b/packages/builder/src/pages/builder/auth/reset.svelte @@ -32,13 +32,13 @@ $goto("../portal/") } else { await auth.resetPassword(formData.password, resetCode) - notifications.success("Password reset successfully") + notifications.success("비밀번호 재설정을 완료하였습니다.") // send them to login if reset successful $goto("./login") } } catch (err) { submitted = false - notifications.error("Unable to reset password") + notifications.error("비밀번호 재설정 오류입니다.") } } @@ -59,14 +59,14 @@ logo {/if} - Reset your password - Please enter the new password you'd like to use. + 비밀번호 초기화 + 새 비밀번호를 입력하세요. { @@ -79,7 +79,7 @@ let fieldError = {} fieldError["password"] = !formData.password - ? "Please enter a password" + ? "비밀번호를 입력하세요." : undefined fieldError["confirmationPassword"] = @@ -87,7 +87,7 @@ formData.password, formData.confirmationPassword ) && formData.confirmationPassword - ? "Passwords must match" + ? "비밀번호가 일치해야 합니다." : undefined errors = handleError({ ...errors, ...fieldError }) @@ -96,7 +96,7 @@ disabled={submitted} /> { @@ -113,7 +113,9 @@ ) && formData.password let fieldError = { - confirmationPassword: isValid ? "Passwords must match" : null, + confirmationPassword: isValid + ? "비밀번호가 일치해야 합니다." + : null, } errors = handleError({ ...errors, ...fieldError }) @@ -128,7 +130,7 @@ disabled={Object.keys(errors).length > 0 || (forceResetPassword ? false : !resetCode)} cta - on:click={reset}>Reset your password비밀번호 재설정 diff --git a/packages/frontend-core/src/components/SplitPage.svelte b/packages/frontend-core/src/components/SplitPage.svelte index 79886845de2f..7c575f050798 100644 --- a/packages/frontend-core/src/components/SplitPage.svelte +++ b/packages/frontend-core/src/components/SplitPage.svelte @@ -19,7 +19,7 @@ .split-page { height: 100%; display: grid; - grid-template-columns: max(50%, 380px) 1fr; + grid-template-columns: max(100%, 380px) 1fr; justify-content: stretch; overflow: hidden; } diff --git a/packages/worker/src/api/controllers/global/auth.ts b/packages/worker/src/api/controllers/global/auth.ts index 1286fd519d90..2ab33fa34523 100644 --- a/packages/worker/src/api/controllers/global/auth.ts +++ b/packages/worker/src/api/controllers/global/auth.ts @@ -62,7 +62,7 @@ export const login = async (ctx: Ctx, next: any) => { const user = await userSdk.getUserByEmail(email) if (user && (await userSdk.isPreventPasswordActions(user))) { - ctx.throw(403, "Invalid credentials") + ctx.throw(403, "정상적으로 로그인할 수 없습니다.") } return passport.authenticate( @@ -81,7 +81,7 @@ export const logout = async (ctx: any) => { if (ctx.user && ctx.user._id) { await authSdk.logout({ ctx, userId: ctx.user._id }) } - ctx.body = { message: "User logged out." } + ctx.body = { message: "사용자가 로그아웃했습니다." } } // INIT @@ -112,7 +112,7 @@ export const reset = async (ctx: Ctx) => { await authSdk.reset(email) ctx.body = { - message: "Please check your email for a reset link.", + message: "재설정 링크는 이메일을 확인하십시오.", } } @@ -124,12 +124,12 @@ export const resetUpdate = async (ctx: Ctx) => { try { await authSdk.resetUpdate(resetCode, password) ctx.body = { - message: "password reset successfully.", + message: "비밀번호가 성공적으로 재설정되었습니다.", } } catch (err) { console.warn(err) // hide any details of the error for security - ctx.throw(400, "Cannot reset password.") + ctx.throw(400, "비밀번호를 재설정할 수 없습니다.") } } diff --git a/packages/worker/src/sdk/auth/auth.ts b/packages/worker/src/sdk/auth/auth.ts index 2e716426d5e5..f8b51630db70 100644 --- a/packages/worker/src/sdk/auth/auth.ts +++ b/packages/worker/src/sdk/auth/auth.ts @@ -46,7 +46,7 @@ export const reset = async (email: string) => { const configured = await emails.isEmailConfigured() if (!configured) { throw new HTTPError( - "Please contact your platform administrator, SMTP is not configured.", + "플랫폼 관리자에게 문의하세요. SMTP가 구성되지 않았습니다.", 400 ) } @@ -65,7 +65,7 @@ export const reset = async (email: string) => { // send password reset await emails.sendEmail(email, EmailTemplatePurpose.PASSWORD_RECOVERY, { user, - subject: "{{ company }} platform password reset", + subject: "{{ company }} Partner Management 비밀번호 재설정 안내입니다.", }) await events.user.passwordResetRequested(user) }