From 0c37ec7480020208a7d9ba5fe85773e6399b9e41 Mon Sep 17 00:00:00 2001 From: xlsea Date: Fri, 7 Jun 2024 14:42:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(sj=5F1.0.0=5Fbeta4):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E4=BD=8D=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/langs/en-us.ts | 9 +++++++++ src/locales/langs/zh-cn.ts | 8 ++++++++ src/typings/app.d.ts | 8 ++++++++ 3 files changed, 25 insertions(+) diff --git a/src/locales/langs/en-us.ts b/src/locales/langs/en-us.ts index b875ce4..2203ed6 100644 --- a/src/locales/langs/en-us.ts +++ b/src/locales/langs/en-us.ts @@ -374,6 +374,15 @@ const local: App.I18n.Schema = { devDep: 'Development Dependency' }, home: { + Greeting: '{userName}, welcome back.', + morningGreeting: 'Good morning, {userName}, today is another day full of vitality!', + bthGreeting: "Good morning, {userName}, how's work going? Don't be sedentary. Get up and walk around more often!", + noonGreeting: "Good noon, {userName}, it's lunchtime after a long morning at work!", + athGreeting: "Good afternoon, {userName}, it's easy to get sleepy in the late afternoon yet, time for a nap!", + duskGreeting: + "{userName}, it's evening, the view of the sunset outside the window is very beautiful, the most beautiful thing is the red sunset.", + eveningGreeting: 'Good evening, {userName}, how are you doing today? Please take care to rest early!', + earlyMorningGreeting: "{userName}, It's so late already. Get some rest. Good night.", // 卡片统计 retryTaskCount: 'Retry Task', jobTaskCount: 'Job Task', diff --git a/src/locales/langs/zh-cn.ts b/src/locales/langs/zh-cn.ts index 4beaa8a..c1316e1 100644 --- a/src/locales/langs/zh-cn.ts +++ b/src/locales/langs/zh-cn.ts @@ -386,6 +386,14 @@ const local: App.I18n.Schema = { devDep: '开发依赖' }, home: { + Greeting: '{userName},欢迎回来!', + morningGreeting: '早安,{userName},今天又是充满活力的一天!', + bthGreeting: '上午好,{userName},工作顺利吗,不要久坐,多起来走动走动哦!', + noonGreeting: '中午好,{userName},工作了一个上午,现在是午餐时间!', + athGreeting: '下午好,{userName},午后很容易犯困呢,是时候该打个盹了!', + duskGreeting: '{userName},傍晚了,窗外夕阳的景色很美丽呢,最美不过夕阳红~', + eveningGreeting: '晚上好,{userName},今天过得怎么样?请注意早点休息!', + earlyMorningGreeting: '{userName},已经这么晚了呀,早点休息吧,晚安~', retryTaskCount: '重试任务', jobTaskCount: '定时任务', userCount: '用户', diff --git a/src/typings/app.d.ts b/src/typings/app.d.ts index f9787c2..864f53b 100644 --- a/src/typings/app.d.ts +++ b/src/typings/app.d.ts @@ -545,6 +545,14 @@ declare namespace App { devDep: string; }; home: { + Greeting: string; + morningGreeting: string; + bthGreeting: string; + noonGreeting: string; + athGreeting: string; + duskGreeting: string; + eveningGreeting: string; + earlyMorningGreeting: string; retryTaskCount: string; jobTaskCount: string; userCount: string;