Skip to content

Commit f16af8b

Browse files
GuangYiDingclaude
andcommitted
feat(i18n): 添加订阅管理教程指南英文翻译
在 en.ts 中为订阅管理页面新增 guide 相关翻译词条, 与中文翻译保持结构一致,支持中英文切换。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5ceaef4 commit f16af8b

1 file changed

Lines changed: 31 additions & 1 deletion

File tree

  • frontend/src/i18n/locales

frontend/src/i18n/locales/en.ts

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1759,7 +1759,37 @@ export default {
17591759
pleaseSelectGroup: 'Please select a group',
17601760
validityDaysRequired: 'Please enter a valid number of days (at least 1)',
17611761
revokeConfirm:
1762-
"Are you sure you want to revoke the subscription for '{user}'? This action cannot be undone."
1762+
"Are you sure you want to revoke the subscription for '{user}'? This action cannot be undone.",
1763+
guide: {
1764+
title: 'Subscription Management Guide',
1765+
subtitle: 'Subscription mode lets you assign time-based usage quotas to users, with daily/weekly/monthly limits. Follow these steps to get started.',
1766+
showGuide: 'Usage Guide',
1767+
step1: {
1768+
title: 'Create a Subscription Group',
1769+
line1: 'Go to "Group Management" page, click "Create Group"',
1770+
line2: 'Set billing type to "Subscription", configure daily/weekly/monthly quota limits',
1771+
line3: 'Save the group and ensure its status is "Active"',
1772+
link: 'Go to Group Management'
1773+
},
1774+
step2: {
1775+
title: 'Assign Subscription to User',
1776+
line1: 'Click the "Assign Subscription" button in the top right',
1777+
line2: 'Search for a user by email and select them',
1778+
line3: 'Choose a subscription group, set validity days, then click "Assign"'
1779+
},
1780+
step3: {
1781+
title: 'Manage Existing Subscriptions'
1782+
},
1783+
actions: {
1784+
adjust: 'Adjust',
1785+
adjustDesc: 'Extend or shorten the subscription validity period',
1786+
resetQuota: 'Reset Quota',
1787+
resetQuotaDesc: 'Reset daily/weekly/monthly usage to zero',
1788+
revoke: 'Revoke',
1789+
revokeDesc: 'Immediately terminate the subscription (irreversible)'
1790+
},
1791+
tip: 'Tip: Only groups with billing type "Subscription" and status "Active" appear in the group dropdown. If no options are available, create one in Group Management first.'
1792+
}
17631793
},
17641794

17651795
// Accounts

0 commit comments

Comments
 (0)