Skip to content

Commit 1fb7006

Browse files
committed
fix(i18n): update English and Chinese translations for balance popup earned credits
1 parent bcda77d commit 1fb7006

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/web/src/i18n/locales/en.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ const en = {
163163
"layout.sidebar.balancePopup.recharged": "Plan credits (cumulative)",
164164
"layout.sidebar.balancePopup.rechargedTooltip":
165165
"Total credits added from your subscription plan",
166-
"layout.sidebar.balancePopup.earned": "Reward credits (cumulative)",
166+
"layout.sidebar.balancePopup.earned": "Reward credits",
167167
"layout.sidebar.balancePopup.earnedTooltip":
168168
"Earned from signup rewards, completed tasks, and activities. Consumption order: plan credits → credit packs → reward credits.",
169169
"layout.sidebar.balancePopup.consumed": "Consumed",

apps/web/src/i18n/locales/zh-CN.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ const zhCN = {
163163
"layout.sidebar.balancePopup.recharged": "套餐积分(累计)",
164164
"layout.sidebar.balancePopup.rechargedTooltip":
165165
"从订阅套餐中累计获得的积分总量",
166-
"layout.sidebar.balancePopup.earned": "赠送积分(累计)",
166+
"layout.sidebar.balancePopup.earned": "赠送积分",
167167
"layout.sidebar.balancePopup.earnedTooltip":
168168
"来自注册奖励、完成任务等活动。消耗顺序:套餐积分 → 积分包 → 赠送积分。",
169169
"layout.sidebar.balancePopup.consumed": "累计消耗",

apps/web/src/layouts/workspace-layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ function WorkspaceLayoutInner() {
10301030
<Info size={10} className="text-text-muted/60" />
10311031
<span
10321032
role="tooltip"
1033-
className="pointer-events-none absolute bottom-full left-1/2 z-40 mb-1.5 w-52 -translate-x-1/2 rounded-md bg-neutral-800 px-2.5 py-1.5 text-left text-[11px] font-normal leading-snug text-white opacity-0 shadow-lg transition-opacity duration-150 group-hover:opacity-100"
1033+
className="pointer-events-none absolute bottom-full left-0 z-40 mb-1.5 w-52 rounded-md bg-neutral-800 px-2.5 py-1.5 text-left text-[11px] font-normal leading-snug text-white opacity-0 shadow-lg transition-opacity duration-150 group-hover:opacity-100"
10341034
>
10351035
{t(
10361036
"layout.sidebar.balancePopup.earnedTooltip",

0 commit comments

Comments
 (0)