From 8b0c0a33ac8ff0d04ff732b32831e27ad50ee160 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Thu, 11 Apr 2024 22:20:04 +0700 Subject: [PATCH] fix: userType i18n & colorformat --- src/css/app.scss | 8 +++++--- src/i18n/en-US/personnel-main-page.ts | 8 ++++---- src/i18n/th-th/personnel-main-page.ts | 8 ++++---- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/css/app.scss b/src/css/app.scss index 18c9a709..126a7c4d 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -28,7 +28,8 @@ html { --shadow-color: 220 3% 15%; --shadow-strength: 5%; - --inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 rgba(0, 0, 0, .067); + --inner-shadow-highlight: inset 0 -0.5px 0 0 #fff, + inset 0 0.5px 0 0 rgba(0, 0, 0, 0.067); color: var(--foreground); background-color: var(--background); @@ -49,7 +50,8 @@ html { --shadow-color: 220 0% 100%; --shadow-strength: 25%; - --inner-shadow-highlight: inset 0 -.5px 0 0 hsla(0, 0%, 100%, .067), inset 0 .5px 0 0 rgba(0, 0, 0, .467); + --inner-shadow-highlight: inset 0 -0.5px 0 0 hsla(0, 0%, 100%, 0.067), + inset 0 0.5px 0 0 rgba(0, 0, 0, 0.467); } ::-webkit-scrollbar { @@ -111,7 +113,7 @@ html { } .app-text-muted { - color: hsl(var(--text-mute)) + color: hsl(var(--text-mute)); } .app-text-info { diff --git a/src/i18n/en-US/personnel-main-page.ts b/src/i18n/en-US/personnel-main-page.ts index 449c5947..c329c60d 100644 --- a/src/i18n/en-US/personnel-main-page.ts +++ b/src/i18n/en-US/personnel-main-page.ts @@ -4,10 +4,10 @@ export default { personnelTooltipCaption: 'Click + to add a personnel', personnelAdd: 'Add personnel', - personnelSelector1: 'Employee', - personnelSelector2: 'Courier', - personnelSelector3: 'Agent', - personnelSelector4: 'Agency', + USER: 'Employee', + MESSENGER: 'Courier', + DELEGATE: 'Delegate', + AGENCY: 'Agency', personnelStatTitle: 'Summary data of ' }; diff --git a/src/i18n/th-th/personnel-main-page.ts b/src/i18n/th-th/personnel-main-page.ts index 246be1ea..8bf9fe41 100644 --- a/src/i18n/th-th/personnel-main-page.ts +++ b/src/i18n/th-th/personnel-main-page.ts @@ -4,10 +4,10 @@ export default { personnelTooltipCaption: 'คลิก + เพื่อเพิ่มบุคลากร', personnelAdd: 'เพิ่มข้อมูลบุคลากร', - personnelSelector1: 'พนักงาน', - personnelSelector2: 'พนักงานส่งเอกสาร', - personnelSelector3: 'ตัวแทน', - personnelSelector4: 'เอเจนซี่', + USER: 'พนักงาน', + MESSENGER: 'พนักงานส่งเอกสาร', + DELEGATE: 'ตัวแทน', + AGENCY: 'เอเจนซี่', personnelStatTitle: 'สรุปจำนวนข้อมูล', };