1
0
forked from baron/baron-sso

code-check 오류 수정

This commit is contained in:
2026-05-20 17:12:48 +09:00
parent b55ab7bc67
commit 0af268021e
20 changed files with 442 additions and 269 deletions

View File

@@ -231,6 +231,7 @@ body = "We could not find an account for that information.\\\\\\\\\\\\\\\\nPleas
[msg.userfront.login.verification]
approved = "Approved. Complete sign-in in the original window."
approved_local = "Approved. This device is already signed in, and the remote window will be signed in shortly."
approved_remote = "Approved. Please return to the original browser or PC screen."
success = "Sign-in approval completed."
[msg.userfront.login_success]
@@ -438,12 +439,19 @@ system = "System"
[ui.common.status]
active = "Active"
archived = "Archived"
baron_guest = "Baron Guest"
blocked = "ui.common.status.blocked"
extended_leave = "Extended Leave"
failure = "Failure"
inactive = "Inactive"
leave_of_absence = "Leave of absence"
ok = "Ok"
pending = "Pending"
preboarding = "Preboarding"
success = "Success"
suspended = "Suspended"
temporary_leave = "Temporary Leave"
[ui.userfront]
app_title = "Baron SW Portal"
@@ -573,8 +581,10 @@ title = "Account not found"
[ui.userfront.login.verification]
action_label = "Done"
action_label_close = "Close Window"
page_title = "Sign-in approval"
title = "Approval complete"
title_remote = "Sign-in approved"
[ui.userfront.login_success]
later = "Do this later (go to dashboard)"

View File

@@ -455,6 +455,7 @@ body = "가입되지 않은 정보입니다.\\\\n회원가입 후 이용해 주
[msg.userfront.login.verification]
approved = "승인되었습니다. 로그인은 요청하신 창에서 완료됩니다."
approved_local = "승인 되었습니다. 이 기기는 로그인되어 있는 상태입니다. 원격 창도 로그인이 될 예정입니다"
approved_remote = "승인되었습니다. 요청하신 브라우저 또는 PC 화면으로 돌아가 주세요."
success = "로그인 승인에 성공했습니다."
[msg.userfront.login_success]
@@ -661,12 +662,19 @@ system = "System"
[ui.common.status]
active = "활성"
archived = "보관됨"
baron_guest = "Baron 게스트"
blocked = "ui.common.status.blocked"
extended_leave = "장기휴직"
failure = "실패"
inactive = "비활성"
leave_of_absence = "휴직"
ok = "정상"
pending = "준비 중"
preboarding = "입사대기"
success = "성공"
suspended = "정지"
temporary_leave = "단기휴무"
[ui.userfront]
app_title = "Baron SW 포탈"
@@ -797,6 +805,8 @@ title = "미등록 회원"
action_label = "확인"
page_title = "로그인 승인"
title = "승인 완료"
action_label_close = "창 닫기"
title_remote = "로그인 승인 완료"
[ui.userfront.login_success]
later = "나중에 하기 (대시보드로 이동)"

View File

@@ -427,6 +427,7 @@ body = ""
[msg.userfront.login.verification]
approved = ""
approved_local = ""
approved_remote = ""
success = ""
[msg.userfront.login_success]
@@ -633,12 +634,19 @@ system = ""
[ui.common.status]
active = ""
archived = ""
baron_guest = ""
blocked = ""
extended_leave = ""
failure = ""
inactive = ""
leave_of_absence = ""
ok = ""
pending = ""
preboarding = ""
success = ""
suspended = ""
temporary_leave = ""
[ui.userfront]
app_title = ""
@@ -767,8 +775,10 @@ title = ""
[ui.userfront.login.verification]
action_label = ""
action_label_close = ""
page_title = ""
title = ""
title_remote = ""
[ui.userfront.login_success]
later = ""

View File

@@ -822,8 +822,9 @@ class _LoginScreenState extends ConsumerState<LoginScreen>
Future<void> _verifyToken(String token) async {
debugPrint("[Auth] Starting verification for token: $token");
final approvedMessage = tr('msg.userfront.login.verification.approved');
final remoteApprovedMessage =
tr('msg.userfront.login.verification.approved_remote');
final remoteApprovedMessage = tr(
'msg.userfront.login.verification.approved_remote',
);
final localSessionMessage = tr(
'msg.userfront.login.verification.approved_local',
);
@@ -846,7 +847,9 @@ class _LoginScreenState extends ConsumerState<LoginScreen>
_markVerificationApproved(
remoteApprovedMessage,
title: tr('ui.userfront.login.verification.title_remote'),
actionLabel: tr('ui.userfront.login.verification.action_label_close'),
actionLabel: tr(
'ui.userfront.login.verification.action_label_close',
),
onAction: () => webWindow.close(),
);
}
@@ -880,7 +883,9 @@ class _LoginScreenState extends ConsumerState<LoginScreen>
_markVerificationApproved(
remoteApprovedMessage,
title: tr('ui.userfront.login.verification.title_remote'),
actionLabel: tr('ui.userfront.login.verification.action_label_close'),
actionLabel: tr(
'ui.userfront.login.verification.action_label_close',
),
onAction: () => webWindow.close(),
);
}
@@ -907,9 +912,9 @@ class _LoginScreenState extends ConsumerState<LoginScreen>
debugPrint(
"[Auth] Starting code verification for loginId: $sanitizedLoginId",
);
final approvedMessage = tr('msg.userfront.login.verification.approved');
final remoteApprovedMessage =
tr('msg.userfront.login.verification.approved_remote');
final remoteApprovedMessage = tr(
'msg.userfront.login.verification.approved_remote',
);
final localSessionMessage = tr(
'msg.userfront.login.verification.approved_local',
);
@@ -935,7 +940,9 @@ class _LoginScreenState extends ConsumerState<LoginScreen>
_markVerificationApproved(
remoteApprovedMessage,
title: tr('ui.userfront.login.verification.title_remote'),
actionLabel: tr('ui.userfront.login.verification.action_label_close'),
actionLabel: tr(
'ui.userfront.login.verification.action_label_close',
),
onAction: () => webWindow.close(),
);
}
@@ -954,7 +961,9 @@ class _LoginScreenState extends ConsumerState<LoginScreen>
_markVerificationApproved(
remoteApprovedMessage,
title: tr('ui.userfront.login.verification.title_remote'),
actionLabel: tr('ui.userfront.login.verification.action_label_close'),
actionLabel: tr(
'ui.userfront.login.verification.action_label_close',
),
onAction: () => webWindow.close(),
);
return;
@@ -985,7 +994,9 @@ class _LoginScreenState extends ConsumerState<LoginScreen>
_markVerificationApproved(
remoteApprovedMessage,
title: tr('ui.userfront.login.verification.title_remote'),
actionLabel: tr('ui.userfront.login.verification.action_label_close'),
actionLabel: tr(
'ui.userfront.login.verification.action_label_close',
),
onAction: () => webWindow.close(),
);
}
@@ -1007,9 +1018,9 @@ class _LoginScreenState extends ConsumerState<LoginScreen>
final sanitized = shortCode.trim().toUpperCase();
if (sanitized.isEmpty) return;
debugPrint("[Auth] Starting short code verification for code: $sanitized");
final approvedMessage = tr('msg.userfront.login.verification.approved');
final remoteApprovedMessage =
tr('msg.userfront.login.verification.approved_remote');
final remoteApprovedMessage = tr(
'msg.userfront.login.verification.approved_remote',
);
final localSessionMessage = tr(
'msg.userfront.login.verification.approved_local',
);
@@ -1031,7 +1042,9 @@ class _LoginScreenState extends ConsumerState<LoginScreen>
_markVerificationApproved(
remoteApprovedMessage,
title: tr('ui.userfront.login.verification.title_remote'),
actionLabel: tr('ui.userfront.login.verification.action_label_close'),
actionLabel: tr(
'ui.userfront.login.verification.action_label_close',
),
onAction: () => webWindow.close(),
);
}
@@ -1050,7 +1063,9 @@ class _LoginScreenState extends ConsumerState<LoginScreen>
_markVerificationApproved(
remoteApprovedMessage,
title: tr('ui.userfront.login.verification.title_remote'),
actionLabel: tr('ui.userfront.login.verification.action_label_close'),
actionLabel: tr(
'ui.userfront.login.verification.action_label_close',
),
onAction: () => webWindow.close(),
);
return;
@@ -1079,7 +1094,9 @@ class _LoginScreenState extends ConsumerState<LoginScreen>
_markVerificationApproved(
remoteApprovedMessage,
title: tr('ui.userfront.login.verification.title_remote'),
actionLabel: tr('ui.userfront.login.verification.action_label_close'),
actionLabel: tr(
'ui.userfront.login.verification.action_label_close',
),
onAction: () => webWindow.close(),
);
}

View File

@@ -45,10 +45,10 @@ packages:
dependency: transitive
description:
name: characters
sha256: faf38497bda5ead2a8c7615f4f7939df04333478bf32e4173fcb06d428b5716b
sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803
url: "https://pub.dev"
source: hosted
version: "1.4.1"
version: "1.4.0"
cli_config:
dependency: transitive
description:
@@ -276,6 +276,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.0.5"
js:
dependency: transitive
description:
name: js
sha256: "53385261521cc4a0c4658fd0ad07a7d14591cf8fc33abbceae306ddb974888dc"
url: "https://pub.dev"
source: hosted
version: "0.7.2"
leak_tracker:
dependency: transitive
description:
@@ -328,18 +336,18 @@ packages:
dependency: transitive
description:
name: matcher
sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861
sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
url: "https://pub.dev"
source: hosted
version: "0.12.19"
version: "0.12.17"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: "9c337007e82b1889149c82ed242ed1cb24a66044e30979c44912381e9be4c48b"
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
url: "https://pub.dev"
source: hosted
version: "0.13.0"
version: "0.11.1"
meta:
dependency: transitive
description:
@@ -661,26 +669,26 @@ packages:
dependency: transitive
description:
name: test
sha256: "280d6d890011ca966ad08df7e8a4ddfab0fb3aa49f96ed6de56e3521347a9ae7"
sha256: "75906bf273541b676716d1ca7627a17e4c4070a3a16272b7a3dc7da3b9f3f6b7"
url: "https://pub.dev"
source: hosted
version: "1.30.0"
version: "1.26.3"
test_api:
dependency: transitive
description:
name: test_api
sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
url: "https://pub.dev"
source: hosted
version: "0.7.10"
version: "0.7.7"
test_core:
dependency: transitive
description:
name: test_core
sha256: "0381bd1585d1a924763c308100f2138205252fb90c9d4eeaf28489ee65ccde51"
sha256: "0cc24b5ff94b38d2ae73e1eb43cc302b77964fbf67abad1e296025b78deb53d0"
url: "https://pub.dev"
source: hosted
version: "0.6.16"
version: "0.6.12"
toml:
dependency: "direct main"
description: