diff --git a/scripts/sync_userfront_locales.sh b/scripts/sync_userfront_locales.sh index 023fdf66..51ced75e 100755 --- a/scripts/sync_userfront_locales.sh +++ b/scripts/sync_userfront_locales.sh @@ -15,7 +15,7 @@ filter_toml() { dest_file="$2" awk ' function allowed(section) { - return section ~ /^(ui\.userfront|msg\.userfront|err\.userfront|ui\.common)(\.|$)/; + return section ~ /^(ui\.userfront|msg\.userfront|err\.userfront|ui\.common|domain)(\.|$)/; } BEGIN { keep = 0; } { diff --git a/userfront/assets/translations/en.toml b/userfront/assets/translations/en.toml index 76911a46..9bba6206 100644 --- a/userfront/assets/translations/en.toml +++ b/userfront/assets/translations/en.toml @@ -1,3 +1,23 @@ +[domain] + +[domain.affiliation] +affiliate = "Affiliate" +general = "General" + +[domain.company] +baron = "Baron" +halla = "Halla" +hanmac = "Hanmac" +jangheon = "Jangheon" +ptc = "PTC" +saman = "Saman" + +[domain.tenant_type] +company = "Company" +company_group = "Company Group" +personal = "Personal" +user_group = "User Group" + [err.userfront] [err.userfront.auth_proxy] @@ -299,6 +319,7 @@ add = "Add" admin_only = "Admin Only" assign = "Assign" back = "Back" +back_to_login = "Back to login" cancel = "Cancel" close = "Close" collapse = "Collapse" diff --git a/userfront/assets/translations/ko.toml b/userfront/assets/translations/ko.toml index 7c77d37e..db7e58dc 100644 --- a/userfront/assets/translations/ko.toml +++ b/userfront/assets/translations/ko.toml @@ -1,3 +1,23 @@ +[domain] + +[domain.affiliation] +affiliate = "가족사 임직원" +general = "일반 사용자" + +[domain.company] +baron = "바론" +halla = "한라" +hanmac = "한맥" +jangheon = "장헌" +ptc = "PTC" +saman = "삼안" + +[domain.tenant_type] +company = "COMPANY (일반 기업)" +company_group = "COMPANY_GROUP (그룹사/지주사)" +personal = "PERSONAL (개인 워크스페이스)" +user_group = "USER_GROUP (내부 부서/팀)" + [err.userfront] [err.userfront.auth_proxy] @@ -299,6 +319,7 @@ add = "추가" admin_only = "관리자 전용" assign = "할당" back = "돌아가기" +back_to_login = "로그인으로 돌아가기" cancel = "취소" close = "닫기" collapse = "접기" diff --git a/userfront/assets/translations/template.toml b/userfront/assets/translations/template.toml index 59330622..ef14789d 100644 --- a/userfront/assets/translations/template.toml +++ b/userfront/assets/translations/template.toml @@ -1,3 +1,17 @@ +[domain] + +[domain.affiliation] +affiliate = "" +general = "" + +[domain.company] +baron = "" +halla = "" +hanmac = "" +jangheon = "" +ptc = "" +saman = "" + [err.userfront] [err.userfront.auth_proxy] @@ -296,6 +310,7 @@ add = "" admin_only = "" assign = "" back = "" +back_to_login = "" cancel = "" close = "" collapse = "" @@ -565,3 +580,9 @@ action = "" # Auto-added missing keys +[domain.tenant_type] +company = "" +company_group = "" +personal = "" +user_group = "" +