Skip to content

Commit 36e55bf

Browse files
Mingwwwwcursoragent
andcommitted
feat(i18n): add zh-CN/en translations for About section
Add localization keys for version check, update, and restart UI in the Settings About section. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent fa4fbc9 commit 36e55bf

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

ui/src/i18n/locales/en/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -991,5 +991,18 @@
991991
"installAriaLabel": "Plugin git repository URL",
992992
"tab": "tab",
993993
"runningStatus": "running"
994+
},
995+
"about": {
996+
"title": "About",
997+
"version": "Version",
998+
"checking": "Checking for updates...",
999+
"upToDate": "Up to date",
1000+
"updateAvailable": "Update available",
1001+
"updateNow": "Update Now",
1002+
"updating": "Updating...",
1003+
"updateComplete": "Update complete!",
1004+
"updateFailed": "Update failed",
1005+
"restartToApply": "Restart to Apply",
1006+
"dismiss": "Dismiss"
9941007
}
9951008
}

ui/src/i18n/locales/zh-CN/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,5 +985,18 @@
985985
"installAriaLabel": "插件 git 仓库 URL",
986986
"tab": "标签",
987987
"runningStatus": "运行中"
988+
},
989+
"about": {
990+
"title": "关于",
991+
"version": "版本",
992+
"checking": "正在检查更新...",
993+
"upToDate": "已是最新版本",
994+
"updateAvailable": "有新版本可用",
995+
"updateNow": "立即更新",
996+
"updating": "更新中...",
997+
"updateComplete": "更新完成!",
998+
"updateFailed": "更新失败",
999+
"restartToApply": "重启以应用",
1000+
"dismiss": "关闭"
9881001
}
9891002
}

0 commit comments

Comments
 (0)