fix(i18n): 全站文案书面化 + 中英翻译质量修复
CI / Backend (go vet + test) (push) Canceled after 0s
CI / Frontend (lint + build + test) (push) Canceled after 0s

中文(zh):约 40 处口语化改书面(「谁在什么时候改了什么」→「操作人、时间与变更前后对比」、
「找出最吵的业务」→「定位日志量最高的业务」、「点」→「点击」、创建你的第一个→创建首个等);
「副本 / Pod」统一为「Pod」。

英文(en)修复:
- 功能 bug:wizard openGrafana ({url}) 插值失效→({{url}});settings notify 空态链接词悬空破句
- 语义补齐:clusters/hosts 删除确认补 Warning 与后果句;tokenInsecureHint 补 Kubeconfig 建议
  (并删 en 死键 tokenRecommended);retention liveHint/costWarning/upgradeHint 补丢失半句
- 术语统一:data source / collection policy / log lines / Listen IP (internal) / Total deployments
- 复数:users confirmDesc、pagination total、range lastMinutes 补 _one;storage deleteWarning 两形态对齐
- 风格:Select filtered users、Delivery History、Log Scrape Jobs、App label source、
  Deployment Logs 连字符改间隔号;删除 zh 死键 liveTitle
This commit is contained in:
opsx committed 2026-10-29 13:42:51 +08:00
1 parent df1075f1f5
commit abe28964a1
24 files changed
+81 -84

No files matched your search

+5 -5
View File
@@ -1,19 +1,19 @@
// Log analysis page (admin) — registered via i18n/domains.ts; page entry imports '@/i18n/domains'
export default {
title: 'Log Analysis',
subtitle: 'Log volume, errors and trends by app and namespace — spot the noisiest workloads',
subtitle: 'Log volume, errors and trends by app and namespace — identify the highest-volume workloads',
adminOnly: {
title: 'Admin only',
desc: 'Log analysis provides platform-wide statistics for administrators. Contact an administrator for access.',
},
emptySource: {
title: 'No Loki data source yet',
desc: 'Connect a source on the log query page, then come back for aggregates.',
desc: 'Connect a data source on the log query page, then view the aggregate analysis here.',
goLogs: 'Go to log query',
},
filter: {
source: 'Source',
sourceEmpty: 'No sources',
sourceEmpty: 'No data sources',
namespace: 'Namespace',
namespaceEmpty: 'Loading namespaces…',
namespaceAll: 'All namespaces (slow)',
@@ -61,13 +61,13 @@ export default {
oneYear: '1y',
coverage: '{{count}} days captured',
seriesVolume: 'Volume',
inProgress: 'in progress',
inProgress: 'today: in progress',
},
table: {
title: 'App volume ranking',
computing: 'Computing per-app volume (reads log content, usually 20–30s)…',
subtitle: 'Top 10 apps by volume; click "View logs" to jump to the query page',
subtitle: 'Top 10 apps by volume; click "View logs" to open the query page',
rank: '#',
app: 'App',
appWithKey: 'App ({{key}})',