From 5a768d938a2e384fd9842d24694b664883b02d78 Mon Sep 17 00:00:00 2001 From: kyy Date: Tue, 24 Mar 2026 15:53:10 +0900 Subject: [PATCH] =?UTF-8?q?code=20check=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- userfront/assets/translations/en.toml | 1 - userfront/assets/translations/ko.toml | 1 - userfront/assets/translations/template.toml | 1 - .../lib/features/dashboard/presentation/dashboard_screen.dart | 3 ++- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/userfront/assets/translations/en.toml b/userfront/assets/translations/en.toml index 8a92c33a..538eeb5b 100644 --- a/userfront/assets/translations/en.toml +++ b/userfront/assets/translations/en.toml @@ -159,7 +159,6 @@ resend_wait = "You can resend in {time}." short_code_help = "You can also sign in with the last 2 letters and 6 digits from the link you received." [msg.userfront.login.password] -caps_lock_on = "Caps Lock is on." failed = "Sign-in failed: {error}" missing_credentials = "Enter both your email or phone number and your password." diff --git a/userfront/assets/translations/ko.toml b/userfront/assets/translations/ko.toml index 8b686a44..18d2b303 100644 --- a/userfront/assets/translations/ko.toml +++ b/userfront/assets/translations/ko.toml @@ -158,7 +158,6 @@ resend_wait = "재발송은 {time} 후 가능합니다." short_code_help = "링크로 받은 값의 뒤 문자 2개와 숫자 6자리를 입력하셔도 로그인 할 수 있습니다." [msg.userfront.login.password] -caps_lock_on = "Caps Lock이 켜져 있습니다." failed = "로그인 실패: {error}" missing_credentials = "이메일(또는 전화번호)와 비밀번호를 모두 입력해주세요." diff --git a/userfront/assets/translations/template.toml b/userfront/assets/translations/template.toml index 9659ea55..44c85800 100644 --- a/userfront/assets/translations/template.toml +++ b/userfront/assets/translations/template.toml @@ -158,7 +158,6 @@ resend_wait = "" short_code_help = "" [msg.userfront.login.password] -caps_lock_on = "" failed = "" missing_credentials = "" diff --git a/userfront/lib/features/dashboard/presentation/dashboard_screen.dart b/userfront/lib/features/dashboard/presentation/dashboard_screen.dart index 87e58cdb..11f80c7a 100644 --- a/userfront/lib/features/dashboard/presentation/dashboard_screen.dart +++ b/userfront/lib/features/dashboard/presentation/dashboard_screen.dart @@ -687,7 +687,8 @@ class _DashboardScreenState extends ConsumerState { profile?.email ?? profile?.phone ?? tr('ui.userfront.profile.user_fallback', fallback: 'User'); - final departmentValue = profile?.tenant?.name ?? profile?.department ?? ''; + final departmentValue = + profile?.tenant?.name ?? profile?.department ?? ''; final department = departmentValue.isNotEmpty ? departmentValue : tr('ui.userfront.profile.department_empty');