i18n(skills): localise SkillsSection strings
SkillsSection had nine hardcoded English strings (header, filter placeholder/aria-label, empty-state copy, button labels). Move them to skills.* keys in en.ts/zh.ts and swap the component to useT().
This commit is contained in:
1 parent
2bd47a601a
commit
d513497341
5 files changed
+51
-524
No files matched your search
@@ -190,6 +190,15 @@ export const zh: Record<string, string> = {
|
||||
"agent.saveChanges": "保存",
|
||||
"agent.delete": "删除",
|
||||
"agent.skills": "技能",
|
||||
"skills.title": "技能",
|
||||
"skills.importAria": "导入技能",
|
||||
"skills.filterPlaceholder": "过滤技能...",
|
||||
"skills.filterAria": "过滤技能",
|
||||
"skills.emptyTitle": "尚未导入技能",
|
||||
"skills.emptyDetail": "从 GitHub、本地路径或 skills.sh 导入技能即可开始。",
|
||||
"skills.importButton": "导入技能",
|
||||
"skills.selectToViewTitle": "选择一个技能查看详情",
|
||||
"skills.selectToViewDetail": "从列表中选择一项,查看其内容、文件树与配置。",
|
||||
"agent.pendingApproval": "等待审批",
|
||||
"agent.pendingHireNote": "待审批成员需在招聘或审批页面处理。",
|
||||
|
||||
|
||||
Reference in new issue
Block a user