forked from baron/baron-sso
i18n 누락 정리 및 하드코딩 텍스트 치환
This commit is contained in:
@@ -65,7 +65,7 @@ class AuthProxyService {
|
||||
} else {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.password_policy_fetch',
|
||||
'비밀번호 정책을 불러오지 못했습니다.',
|
||||
'Failed to load the password policy.',
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -84,7 +84,7 @@ class AuthProxyService {
|
||||
}
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.profile_load',
|
||||
'프로필을 불러오지 못했습니다: {{error}}',
|
||||
'Failed to load the profile: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
} finally {
|
||||
@@ -110,7 +110,7 @@ class AuthProxyService {
|
||||
}
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.profile_load',
|
||||
'프로필을 불러오지 못했습니다: {{error}}',
|
||||
'Failed to load the profile: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
} finally {
|
||||
@@ -144,7 +144,7 @@ class AuthProxyService {
|
||||
} else {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.tenant_info_fetch',
|
||||
'테넌트 정보를 불러오지 못했습니다.',
|
||||
'Failed to load tenant information.',
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -180,7 +180,7 @@ class AuthProxyService {
|
||||
} else {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.login_init',
|
||||
'로그인 초기화에 실패했습니다: {{error}}',
|
||||
'Failed to initialize login: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -205,7 +205,7 @@ class AuthProxyService {
|
||||
}
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.login_poll',
|
||||
'로그인 상태 확인에 실패했습니다: {{error}}',
|
||||
'Failed to check login status: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -227,7 +227,7 @@ class AuthProxyService {
|
||||
} else {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.verify_failed',
|
||||
'검증에 실패했습니다: {{error}}',
|
||||
'Verification failed: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -261,7 +261,7 @@ class AuthProxyService {
|
||||
} else {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.verify_failed',
|
||||
'검증에 실패했습니다: {{error}}',
|
||||
'Verification failed: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -281,7 +281,7 @@ class AuthProxyService {
|
||||
if (response.statusCode != 200) {
|
||||
throw _error(
|
||||
'err.userfront.dashboard.sessions.revoke',
|
||||
'세션 종료에 실패했습니다: {{error}}',
|
||||
'Failed to revoke the session: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -304,7 +304,7 @@ class AuthProxyService {
|
||||
if (response.statusCode != 200) {
|
||||
throw _error(
|
||||
'err.userfront.dashboard.sessions.load',
|
||||
'활성 세션을 불러오지 못했습니다: {{error}}',
|
||||
'Failed to load the active sessions: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -342,7 +342,7 @@ class AuthProxyService {
|
||||
} else {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.verify_failed',
|
||||
'검증에 실패했습니다: {{error}}',
|
||||
'Verification failed: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -568,7 +568,7 @@ class AuthProxyService {
|
||||
if (response.statusCode != 200) {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.sms_send',
|
||||
'SMS 전송에 실패했습니다: {{error}}',
|
||||
'Failed to send SMS: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -591,7 +591,7 @@ class AuthProxyService {
|
||||
} else {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.code_verify',
|
||||
'인증 코드 확인에 실패했습니다: {{error}}',
|
||||
'Failed to verify the code: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -609,7 +609,7 @@ class AuthProxyService {
|
||||
} else {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.qr_init',
|
||||
'QR 로그인을 시작하지 못했습니다: {{error}}',
|
||||
'Failed to start QR login: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -631,7 +631,7 @@ class AuthProxyService {
|
||||
}
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.qr_poll',
|
||||
'QR 상태 확인에 실패했습니다: {{error}}',
|
||||
'Failed to check QR status: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -669,7 +669,7 @@ class AuthProxyService {
|
||||
if (response.statusCode != 200) {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.qr_approve',
|
||||
'QR 승인에 실패했습니다: {{error}}',
|
||||
'Failed to approve QR login: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -720,7 +720,7 @@ class AuthProxyService {
|
||||
if (response.statusCode != 200) {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.user_create',
|
||||
'사용자 생성에 실패했습니다: {{error}}',
|
||||
'Failed to create the user: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -749,7 +749,7 @@ class AuthProxyService {
|
||||
} else {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.user_list',
|
||||
'사용자 목록 조회에 실패했습니다: {{error}}',
|
||||
'Failed to load the user list: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -770,7 +770,7 @@ class AuthProxyService {
|
||||
if (response.statusCode != 200) {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.user_delete',
|
||||
'사용자 삭제에 실패했습니다: {{error}}',
|
||||
'Failed to delete the user: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -796,7 +796,7 @@ class AuthProxyService {
|
||||
if (response.statusCode != 200) {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.user_status_update',
|
||||
'상태 업데이트에 실패했습니다: {{error}}',
|
||||
'Failed to update the user status: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -829,7 +829,7 @@ class AuthProxyService {
|
||||
if (response.statusCode != 200) {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.user_update',
|
||||
'사용자 수정에 실패했습니다: {{error}}',
|
||||
'Failed to update the user: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
@@ -855,7 +855,7 @@ class AuthProxyService {
|
||||
} else {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.linked_apps_load',
|
||||
'연동된 앱 목록을 불러오지 못했습니다.',
|
||||
'Failed to load linked applications.',
|
||||
);
|
||||
}
|
||||
} finally {
|
||||
@@ -1043,7 +1043,7 @@ class AuthProxyService {
|
||||
if (response.statusCode != 200) {
|
||||
throw _error(
|
||||
'err.userfront.auth_proxy.phone_code_send',
|
||||
'인증 코드 전송에 실패했습니다: {{error}}',
|
||||
'Failed to send the verification code: {{error}}',
|
||||
detail: response.body,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user