@adminiumjs/i18n 0.2.2-rc.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/a11y-keys.d.ts +1 -1
  2. package/dist/a11y-keys.d.ts.map +1 -1
  3. package/dist/a11y-keys.js +218 -4
  4. package/dist/a11y-keys.js.map +1 -1
  5. package/dist/editing.d.ts +1 -1
  6. package/dist/editing.js +1 -1
  7. package/dist/resources/ar-eg/common.d.ts +166 -0
  8. package/dist/resources/ar-eg/common.d.ts.map +1 -1
  9. package/dist/resources/ar-eg/common.js +170 -4
  10. package/dist/resources/ar-eg/common.js.map +1 -1
  11. package/dist/resources/ar-eg/ui.d.ts +9 -0
  12. package/dist/resources/ar-eg/ui.d.ts.map +1 -1
  13. package/dist/resources/ar-eg/ui.js +17 -8
  14. package/dist/resources/ar-eg/ui.js.map +1 -1
  15. package/dist/resources/cs-cz/common.d.ts +166 -0
  16. package/dist/resources/cs-cz/common.d.ts.map +1 -1
  17. package/dist/resources/cs-cz/common.js +170 -4
  18. package/dist/resources/cs-cz/common.js.map +1 -1
  19. package/dist/resources/cs-cz/ui.d.ts +9 -0
  20. package/dist/resources/cs-cz/ui.d.ts.map +1 -1
  21. package/dist/resources/cs-cz/ui.js +17 -8
  22. package/dist/resources/cs-cz/ui.js.map +1 -1
  23. package/dist/resources/da-dk/common.d.ts +166 -0
  24. package/dist/resources/da-dk/common.d.ts.map +1 -1
  25. package/dist/resources/da-dk/common.js +170 -4
  26. package/dist/resources/da-dk/common.js.map +1 -1
  27. package/dist/resources/da-dk/ui.d.ts +9 -0
  28. package/dist/resources/da-dk/ui.d.ts.map +1 -1
  29. package/dist/resources/da-dk/ui.js +17 -8
  30. package/dist/resources/da-dk/ui.js.map +1 -1
  31. package/dist/resources/de-de/common.d.ts +166 -0
  32. package/dist/resources/de-de/common.d.ts.map +1 -1
  33. package/dist/resources/de-de/common.js +170 -4
  34. package/dist/resources/de-de/common.js.map +1 -1
  35. package/dist/resources/de-de/ui.d.ts +9 -0
  36. package/dist/resources/de-de/ui.d.ts.map +1 -1
  37. package/dist/resources/de-de/ui.js +17 -8
  38. package/dist/resources/de-de/ui.js.map +1 -1
  39. package/dist/resources/en-us/common.d.ts +166 -0
  40. package/dist/resources/en-us/common.d.ts.map +1 -1
  41. package/dist/resources/en-us/common.js +170 -4
  42. package/dist/resources/en-us/common.js.map +1 -1
  43. package/dist/resources/en-us/ui.d.ts +9 -0
  44. package/dist/resources/en-us/ui.d.ts.map +1 -1
  45. package/dist/resources/en-us/ui.js +17 -8
  46. package/dist/resources/en-us/ui.js.map +1 -1
  47. package/dist/resources/fr-fr/common.d.ts +166 -0
  48. package/dist/resources/fr-fr/common.d.ts.map +1 -1
  49. package/dist/resources/fr-fr/common.js +170 -4
  50. package/dist/resources/fr-fr/common.js.map +1 -1
  51. package/dist/resources/fr-fr/ui.d.ts +9 -0
  52. package/dist/resources/fr-fr/ui.d.ts.map +1 -1
  53. package/dist/resources/fr-fr/ui.js +17 -8
  54. package/dist/resources/fr-fr/ui.js.map +1 -1
  55. package/dist/resources/zh-cn/common.d.ts +166 -0
  56. package/dist/resources/zh-cn/common.d.ts.map +1 -1
  57. package/dist/resources/zh-cn/common.js +170 -4
  58. package/dist/resources/zh-cn/common.js.map +1 -1
  59. package/dist/resources/zh-cn/ui.d.ts +9 -0
  60. package/dist/resources/zh-cn/ui.d.ts.map +1 -1
  61. package/dist/resources/zh-cn/ui.js +17 -8
  62. package/dist/resources/zh-cn/ui.js.map +1 -1
  63. package/dist/resources/zh-tw/common.d.ts +166 -0
  64. package/dist/resources/zh-tw/common.d.ts.map +1 -1
  65. package/dist/resources/zh-tw/common.js +170 -4
  66. package/dist/resources/zh-tw/common.js.map +1 -1
  67. package/dist/resources/zh-tw/ui.d.ts +9 -0
  68. package/dist/resources/zh-tw/ui.d.ts.map +1 -1
  69. package/dist/resources/zh-tw/ui.js +17 -8
  70. package/dist/resources/zh-tw/ui.js.map +1 -1
  71. package/dist/review-status.js +7 -7
  72. package/locales/ar-EG/.meta.json +597 -73
  73. package/locales/ar-EG/common.json +170 -4
  74. package/locales/ar-EG/ui.json +17 -8
  75. package/locales/cs-CZ/.meta.json +657 -133
  76. package/locales/cs-CZ/common.json +170 -4
  77. package/locales/cs-CZ/ui.json +17 -8
  78. package/locales/da-DK/.meta.json +751 -227
  79. package/locales/da-DK/common.json +170 -4
  80. package/locales/da-DK/ui.json +17 -8
  81. package/locales/de-DE/.meta.json +742 -218
  82. package/locales/de-DE/common.json +170 -4
  83. package/locales/de-DE/ui.json +17 -8
  84. package/locales/en-US/common.json +170 -4
  85. package/locales/en-US/ui.json +17 -8
  86. package/locales/fr-FR/.meta.json +784 -260
  87. package/locales/fr-FR/common.json +170 -4
  88. package/locales/fr-FR/ui.json +17 -8
  89. package/locales/zh-CN/.meta.json +591 -67
  90. package/locales/zh-CN/common.json +170 -4
  91. package/locales/zh-CN/ui.json +17 -8
  92. package/locales/zh-TW/.meta.json +599 -75
  93. package/locales/zh-TW/common.json +170 -4
  94. package/locales/zh-TW/ui.json +17 -8
  95. package/package.json +1 -1
@@ -22,6 +22,7 @@ declare const _default: {
22
22
  };
23
23
  readonly auth: {
24
24
  readonly headline: "把任何数据库变成仪表盘。";
25
+ readonly description: "连接 PostgreSQL,Adminium 就会生成一个可换主题、懂权限的管理后台——无需写代码。";
25
26
  readonly trust: "AGPL 核心 · 自托管 · 数据始终归你所有";
26
27
  readonly signIn: {
27
28
  readonly title: "欢迎回来";
@@ -243,6 +244,7 @@ declare const _default: {
243
244
  };
244
245
  readonly notFound: {
245
246
  readonly title: "页面不见了";
247
+ readonly body: "你要找的页面不存在或已被移动。请检查网址,或返回你的仪表盘。";
246
248
  readonly errorLine: "错误 404";
247
249
  readonly searchPlaceholder: "搜索页面…";
248
250
  readonly matches: "匹配的页面";
@@ -261,9 +263,11 @@ declare const _default: {
261
263
  };
262
264
  readonly tooNew: {
263
265
  readonly title: "此页面需要更新版本的 Adminium";
266
+ readonly body: "此页面保存时使用的配置版本是 {version},而当前版本最高只支持到版本 {latest}。请升级 Adminium 后再打开。";
264
267
  };
265
268
  readonly unknownTemplate: {
266
269
  readonly title: "未知的页面模板";
270
+ readonly body: "此页面使用了当前版本无法识别的模板。它可能来自更新版本的 Adminium,或来自尚未安装的扩展。";
267
271
  };
268
272
  };
269
273
  readonly mutation: {
@@ -353,6 +357,70 @@ declare const _default: {
353
357
  readonly emptyBody: "随着功能上线,通知事件将显示在这里。";
354
358
  readonly saveFailed: "无法保存此更改。";
355
359
  };
360
+ readonly translations: {
361
+ readonly title: "语言与翻译";
362
+ readonly subtitle: "修改 Adminium 中的任何文案,决定用户可以选择哪些语言,并添加你自己的语言。";
363
+ readonly warning: "错误提示和登录文案同样可以修改。出问题时用户读到的正是这些内容,请谨慎改动。";
364
+ readonly editor: {
365
+ readonly heading: "编辑翻译";
366
+ };
367
+ readonly localeLabel: "语言";
368
+ readonly groupLabel: "区域";
369
+ readonly allAreas: "全部区域";
370
+ readonly stateLabel: "显示";
371
+ readonly state: {
372
+ readonly all: "全部";
373
+ readonly overridden: "仅已自定义";
374
+ readonly untranslated: "仅未翻译";
375
+ readonly stale: "此后英文有改动";
376
+ };
377
+ readonly searchLabel: "搜索";
378
+ readonly searchPlaceholder: "键名或英文原文";
379
+ readonly loading: "正在加载文案…";
380
+ readonly noMatches: "没有符合这些筛选条件的文案。";
381
+ readonly count: "{total, plural, other {# 条文案}}";
382
+ readonly badge: {
383
+ readonly custom: "已自定义";
384
+ readonly stale: "英文已更改";
385
+ readonly a11y: "无障碍名称";
386
+ };
387
+ readonly sourceLabel: "英文原文";
388
+ readonly valueLabel: "翻译";
389
+ readonly save: "保存";
390
+ readonly saved: "翻译已保存";
391
+ readonly resetAction: "恢复为内置文案";
392
+ readonly reset: "已恢复为内置文案";
393
+ readonly locales: {
394
+ readonly heading: "可用语言";
395
+ readonly help: "关闭某种语言后,它会从所有语言选择器中消失。已经在使用它的人会继续使用,直到自己改选其他语言。";
396
+ };
397
+ readonly locale: {
398
+ readonly builtin: "内置";
399
+ readonly custom: "自定义";
400
+ readonly overrides: "{count, plural, =0 {暂无自定义文案} other {# 条自定义文案}}";
401
+ readonly enable: "开启";
402
+ readonly disable: "关闭";
403
+ readonly delete: "删除";
404
+ readonly deleted: "语言已移除";
405
+ readonly deletedDetail: "{users, plural, other {# 位用户}}已改回工作区默认语言;已删除 {strings, plural, other {# 条翻译}}。";
406
+ readonly deleteFailed: "无法移除该语言";
407
+ readonly add: "添加语言";
408
+ readonly added: "语言已添加";
409
+ readonly create: "确认添加";
410
+ readonly id: "语言代码";
411
+ readonly intlTag: "格式规则参照";
412
+ readonly native: "该语言中的名称";
413
+ readonly english: "英文名称";
414
+ readonly dir: "文字方向";
415
+ readonly ltr: "从左到右";
416
+ readonly rtl: "从右到左";
417
+ readonly font: "文字系统";
418
+ readonly latin: "拉丁文";
419
+ readonly arabic: "阿拉伯文";
420
+ readonly cjk: "中文 / 日文 / 韩文";
421
+ readonly intlHelp: "格式规则决定数字、日期和复数的表现方式。请选择最接近且已有这些规则的语言——它不必与你的语言代码一致。";
422
+ };
423
+ };
356
424
  };
357
425
  readonly studio: {
358
426
  readonly source: {
@@ -581,6 +649,7 @@ declare const _default: {
581
649
  readonly require2fa: {
582
650
  readonly label: "强制双重验证";
583
651
  readonly desc: "每位成员都必须启用双重验证才能登录。";
652
+ readonly note: "这是提示而非强制:未启用双重验证的成员会被引导去设置,之后也无法再关闭,但登录不会被阻止,API 密钥也不受影响。";
584
653
  };
585
654
  readonly allowSignup: {
586
655
  readonly label: "允许自助注册";
@@ -595,6 +664,41 @@ declare const _default: {
595
664
  readonly error: "介于 {min, number} 到 {max, number} 个字符之间。";
596
665
  };
597
666
  };
667
+ readonly email: {
668
+ readonly heading: "电子邮件 (SMTP)";
669
+ readonly unconfigured: "尚未设置邮件服务器,因此 Adminium 无法发送密码重置、用户邀请或计划报告。";
670
+ readonly host: {
671
+ readonly label: "SMTP 主机";
672
+ readonly error: "只能填写主机名或 IP 地址 — 不含协议、端口或凭据。";
673
+ };
674
+ readonly port: {
675
+ readonly label: "端口";
676
+ readonly error: "介于 {min, number} 与 {max, number} 之间。";
677
+ };
678
+ readonly user: {
679
+ readonly label: "用户名";
680
+ readonly helper: "若中继无需认证,请留空。";
681
+ };
682
+ readonly pass: {
683
+ readonly label: "密码";
684
+ readonly helper: "加密存储且不再显示。留空则保留当前密码。";
685
+ readonly error: "该用户名需要密码。";
686
+ };
687
+ readonly from: {
688
+ readonly label: "发件人地址";
689
+ readonly helper: "可只填地址,或在地址前加显示名称。";
690
+ readonly error: "请输入电子邮件地址。";
691
+ };
692
+ readonly secure: {
693
+ readonly label: "隐式 TLS";
694
+ readonly helper: "端口 465 请开启。关闭时以明文开始并通过 STARTTLS 升级,这正是端口 587 所期望的。";
695
+ };
696
+ readonly remove: "移除邮件服务器";
697
+ readonly review: {
698
+ readonly removed: "已移除";
699
+ readonly password: "已替换";
700
+ };
701
+ };
598
702
  readonly review: {
599
703
  readonly title: "保存工作区设置";
600
704
  readonly subtitle: "保存前请确认您的更改。";
@@ -629,6 +733,11 @@ declare const _default: {
629
733
  readonly body: "添加、编辑和删除页面,更改每个页面的内容,并重新排列侧边栏。";
630
734
  readonly cta: "管理页面";
631
735
  };
736
+ readonly translationsCard: {
737
+ readonly heading: "语言与翻译";
738
+ readonly body: "重写 Adminium 中的任何文案,决定用户可以选择哪些语言,并添加你自己的语言。";
739
+ readonly cta: "打开翻译";
740
+ };
632
741
  };
633
742
  readonly settingsAi: {
634
743
  readonly title: "AI 增强";
@@ -1162,6 +1271,63 @@ declare const _default: {
1162
1271
  readonly masked: "已脱敏";
1163
1272
  };
1164
1273
  readonly unavailableTitle: "架构重映射编辑器不可用";
1274
+ readonly unavailableBody: "此版本尚未包含重映射编辑器(09-T12)。等它上线后重新运行生成,即可重映射标签、类型和关系。";
1275
+ };
1276
+ readonly publicApi: {
1277
+ readonly error: "Something went wrong";
1278
+ readonly scopes: {
1279
+ readonly deleteTitle: "Delete this scope";
1280
+ readonly deleteBody: "Any page using a key bound to this scope stops loading data. Keys are not deleted — revoke them first if that is what you meant.";
1281
+ readonly deletePrompt: "Type the scope name to confirm";
1282
+ readonly deleteConfirm: "Delete scope";
1283
+ readonly issuesTitle: "This scope did not compile";
1284
+ readonly title: "Scopes";
1285
+ readonly subtitle: "A scope is the whole of what a key may reach — the tables, the exact columns, and a filter the caller can narrow but never remove.";
1286
+ readonly emptyTitle: "No scopes yet";
1287
+ readonly emptyBody: "Create one below. It is checked against your live schema before it is saved.";
1288
+ readonly keyCount: "{count, plural, =0 {no keys} other {# keys}}";
1289
+ readonly delete: "Delete";
1290
+ readonly nameLabel: "Name";
1291
+ readonly connectionLabel: "Connection ID";
1292
+ readonly documentLabel: "Scope document";
1293
+ readonly documentHint: "Compiled against your schema when you save. Every column a caller can reach is listed here and nowhere else.";
1294
+ readonly create: "Create scope";
1295
+ readonly formLabel: "Create a scope";
1296
+ };
1297
+ readonly cancel: "Cancel";
1298
+ readonly close: "Close";
1299
+ readonly title: "Public API";
1300
+ readonly subtitle: "Let your own customer- or staff-facing pages read this database, through a scope you define.";
1301
+ readonly notRegistered: {
1302
+ readonly title: "Not enabled on this server";
1303
+ readonly body: "Set ADMINIUM_PUBLIC_API_ORIGINS to the exact origins allowed to call it, then restart. Until then these routes are not served at all.";
1304
+ };
1305
+ readonly toggle: {
1306
+ readonly label: "Serve the public API";
1307
+ readonly hint: "Turning this off stops every public request immediately. Nothing is deleted — keys, scopes and data all survive.";
1308
+ };
1309
+ readonly origins: {
1310
+ readonly label: "Origins allowed to call it";
1311
+ };
1312
+ readonly keys: {
1313
+ readonly title: "Keys";
1314
+ readonly subtitle: "These go in your page’s JavaScript, so anyone can read them. That is expected — a key can only ever do what its scope allows.";
1315
+ readonly emptyTitle: "No keys yet";
1316
+ readonly emptyBody: "Create a scope first, then mint a key for it.";
1317
+ readonly reveal: "Show key";
1318
+ readonly rotate: "Rotate";
1319
+ readonly revoke: "Revoke";
1320
+ readonly nameLabel: "Name";
1321
+ readonly scopeLabel: "Scope";
1322
+ readonly scopePlaceholder: "Choose a scope";
1323
+ readonly create: "Create key";
1324
+ readonly formLabel: "Create a key";
1325
+ readonly scopeIsAuthTitle: "The scope is the only permission";
1326
+ readonly scopeIsAuthBody: "A key can reach exactly what its scope lists and nothing else. It does not use roles or table permissions, and it cannot read anything through the rest of the API.";
1327
+ };
1328
+ readonly status: {
1329
+ readonly heading: "Status";
1330
+ };
1165
1331
  };
1166
1332
  };
1167
1333
  readonly onboarding: {
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/resources/zh-cn/common.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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23,6 +23,7 @@ export default {
23
23
  },
24
24
  "auth": {
25
25
  "headline": "把任何数据库变成仪表盘。",
26
+ "description": "连接 PostgreSQL,Adminium 就会生成一个可换主题、懂权限的管理后台——无需写代码。",
26
27
  "trust": "AGPL 核心 · 自托管 · 数据始终归你所有",
27
28
  "signIn": {
28
29
  "title": "欢迎回来",
@@ -244,6 +245,7 @@ export default {
244
245
  },
245
246
  "notFound": {
246
247
  "title": "页面不见了",
248
+ "body": "你要找的页面不存在或已被移动。请检查网址,或返回你的仪表盘。",
247
249
  "errorLine": "错误 404",
248
250
  "searchPlaceholder": "搜索页面…",
249
251
  "matches": "匹配的页面",
@@ -261,10 +263,12 @@ export default {
261
263
  "title": "此页面渲染失败"
262
264
  },
263
265
  "tooNew": {
264
- "title": "此页面需要更新版本的 Adminium"
266
+ "title": "此页面需要更新版本的 Adminium",
267
+ "body": "此页面保存时使用的配置版本是 {version},而当前版本最高只支持到版本 {latest}。请升级 Adminium 后再打开。"
265
268
  },
266
269
  "unknownTemplate": {
267
- "title": "未知的页面模板"
270
+ "title": "未知的页面模板",
271
+ "body": "此页面使用了当前版本无法识别的模板。它可能来自更新版本的 Adminium,或来自尚未安装的扩展。"
268
272
  }
269
273
  },
270
274
  "mutation": {
@@ -353,6 +357,70 @@ export default {
353
357
  "emptyTitle": "暂无可配置项",
354
358
  "emptyBody": "随着功能上线,通知事件将显示在这里。",
355
359
  "saveFailed": "无法保存此更改。"
360
+ },
361
+ "translations": {
362
+ "title": "语言与翻译",
363
+ "subtitle": "修改 Adminium 中的任何文案,决定用户可以选择哪些语言,并添加你自己的语言。",
364
+ "warning": "错误提示和登录文案同样可以修改。出问题时用户读到的正是这些内容,请谨慎改动。",
365
+ "editor": {
366
+ "heading": "编辑翻译"
367
+ },
368
+ "localeLabel": "语言",
369
+ "groupLabel": "区域",
370
+ "allAreas": "全部区域",
371
+ "stateLabel": "显示",
372
+ "state": {
373
+ "all": "全部",
374
+ "overridden": "仅已自定义",
375
+ "untranslated": "仅未翻译",
376
+ "stale": "此后英文有改动"
377
+ },
378
+ "searchLabel": "搜索",
379
+ "searchPlaceholder": "键名或英文原文",
380
+ "loading": "正在加载文案…",
381
+ "noMatches": "没有符合这些筛选条件的文案。",
382
+ "count": "{total, plural, other {# 条文案}}",
383
+ "badge": {
384
+ "custom": "已自定义",
385
+ "stale": "英文已更改",
386
+ "a11y": "无障碍名称"
387
+ },
388
+ "sourceLabel": "英文原文",
389
+ "valueLabel": "翻译",
390
+ "save": "保存",
391
+ "saved": "翻译已保存",
392
+ "resetAction": "恢复为内置文案",
393
+ "reset": "已恢复为内置文案",
394
+ "locales": {
395
+ "heading": "可用语言",
396
+ "help": "关闭某种语言后,它会从所有语言选择器中消失。已经在使用它的人会继续使用,直到自己改选其他语言。"
397
+ },
398
+ "locale": {
399
+ "builtin": "内置",
400
+ "custom": "自定义",
401
+ "overrides": "{count, plural, =0 {暂无自定义文案} other {# 条自定义文案}}",
402
+ "enable": "开启",
403
+ "disable": "关闭",
404
+ "delete": "删除",
405
+ "deleted": "语言已移除",
406
+ "deletedDetail": "{users, plural, other {# 位用户}}已改回工作区默认语言;已删除 {strings, plural, other {# 条翻译}}。",
407
+ "deleteFailed": "无法移除该语言",
408
+ "add": "添加语言",
409
+ "added": "语言已添加",
410
+ "create": "确认添加",
411
+ "id": "语言代码",
412
+ "intlTag": "格式规则参照",
413
+ "native": "该语言中的名称",
414
+ "english": "英文名称",
415
+ "dir": "文字方向",
416
+ "ltr": "从左到右",
417
+ "rtl": "从右到左",
418
+ "font": "文字系统",
419
+ "latin": "拉丁文",
420
+ "arabic": "阿拉伯文",
421
+ "cjk": "中文 / 日文 / 韩文",
422
+ "intlHelp": "格式规则决定数字、日期和复数的表现方式。请选择最接近且已有这些规则的语言——它不必与你的语言代码一致。"
423
+ }
356
424
  }
357
425
  },
358
426
  "studio": {
@@ -581,7 +649,8 @@ export default {
581
649
  "heading": "安全",
582
650
  "require2fa": {
583
651
  "label": "强制双重验证",
584
- "desc": "每位成员都必须启用双重验证才能登录。"
652
+ "desc": "每位成员都必须启用双重验证才能登录。",
653
+ "note": "这是提示而非强制:未启用双重验证的成员会被引导去设置,之后也无法再关闭,但登录不会被阻止,API 密钥也不受影响。"
585
654
  },
586
655
  "allowSignup": {
587
656
  "label": "允许自助注册",
@@ -596,6 +665,41 @@ export default {
596
665
  "error": "介于 {min, number} 到 {max, number} 个字符之间。"
597
666
  }
598
667
  },
668
+ "email": {
669
+ "heading": "电子邮件 (SMTP)",
670
+ "unconfigured": "尚未设置邮件服务器,因此 Adminium 无法发送密码重置、用户邀请或计划报告。",
671
+ "host": {
672
+ "label": "SMTP 主机",
673
+ "error": "只能填写主机名或 IP 地址 — 不含协议、端口或凭据。"
674
+ },
675
+ "port": {
676
+ "label": "端口",
677
+ "error": "介于 {min, number} 与 {max, number} 之间。"
678
+ },
679
+ "user": {
680
+ "label": "用户名",
681
+ "helper": "若中继无需认证,请留空。"
682
+ },
683
+ "pass": {
684
+ "label": "密码",
685
+ "helper": "加密存储且不再显示。留空则保留当前密码。",
686
+ "error": "该用户名需要密码。"
687
+ },
688
+ "from": {
689
+ "label": "发件人地址",
690
+ "helper": "可只填地址,或在地址前加显示名称。",
691
+ "error": "请输入电子邮件地址。"
692
+ },
693
+ "secure": {
694
+ "label": "隐式 TLS",
695
+ "helper": "端口 465 请开启。关闭时以明文开始并通过 STARTTLS 升级,这正是端口 587 所期望的。"
696
+ },
697
+ "remove": "移除邮件服务器",
698
+ "review": {
699
+ "removed": "已移除",
700
+ "password": "已替换"
701
+ }
702
+ },
599
703
  "review": {
600
704
  "title": "保存工作区设置",
601
705
  "subtitle": "保存前请确认您的更改。",
@@ -629,6 +733,11 @@ export default {
629
733
  "heading": "页面",
630
734
  "body": "添加、编辑和删除页面,更改每个页面的内容,并重新排列侧边栏。",
631
735
  "cta": "管理页面"
736
+ },
737
+ "translationsCard": {
738
+ "heading": "语言与翻译",
739
+ "body": "重写 Adminium 中的任何文案,决定用户可以选择哪些语言,并添加你自己的语言。",
740
+ "cta": "打开翻译"
632
741
  }
633
742
  },
634
743
  "settingsAi": {
@@ -1162,7 +1271,64 @@ export default {
1162
1271
  "pii": "PII",
1163
1272
  "masked": "已脱敏"
1164
1273
  },
1165
- "unavailableTitle": "架构重映射编辑器不可用"
1274
+ "unavailableTitle": "架构重映射编辑器不可用",
1275
+ "unavailableBody": "此版本尚未包含重映射编辑器(09-T12)。等它上线后重新运行生成,即可重映射标签、类型和关系。"
1276
+ },
1277
+ "publicApi": {
1278
+ "error": "Something went wrong",
1279
+ "scopes": {
1280
+ "deleteTitle": "Delete this scope",
1281
+ "deleteBody": "Any page using a key bound to this scope stops loading data. Keys are not deleted — revoke them first if that is what you meant.",
1282
+ "deletePrompt": "Type the scope name to confirm",
1283
+ "deleteConfirm": "Delete scope",
1284
+ "issuesTitle": "This scope did not compile",
1285
+ "title": "Scopes",
1286
+ "subtitle": "A scope is the whole of what a key may reach — the tables, the exact columns, and a filter the caller can narrow but never remove.",
1287
+ "emptyTitle": "No scopes yet",
1288
+ "emptyBody": "Create one below. It is checked against your live schema before it is saved.",
1289
+ "keyCount": "{count, plural, =0 {no keys} other {# keys}}",
1290
+ "delete": "Delete",
1291
+ "nameLabel": "Name",
1292
+ "connectionLabel": "Connection ID",
1293
+ "documentLabel": "Scope document",
1294
+ "documentHint": "Compiled against your schema when you save. Every column a caller can reach is listed here and nowhere else.",
1295
+ "create": "Create scope",
1296
+ "formLabel": "Create a scope"
1297
+ },
1298
+ "cancel": "Cancel",
1299
+ "close": "Close",
1300
+ "title": "Public API",
1301
+ "subtitle": "Let your own customer- or staff-facing pages read this database, through a scope you define.",
1302
+ "notRegistered": {
1303
+ "title": "Not enabled on this server",
1304
+ "body": "Set ADMINIUM_PUBLIC_API_ORIGINS to the exact origins allowed to call it, then restart. Until then these routes are not served at all."
1305
+ },
1306
+ "toggle": {
1307
+ "label": "Serve the public API",
1308
+ "hint": "Turning this off stops every public request immediately. Nothing is deleted — keys, scopes and data all survive."
1309
+ },
1310
+ "origins": {
1311
+ "label": "Origins allowed to call it"
1312
+ },
1313
+ "keys": {
1314
+ "title": "Keys",
1315
+ "subtitle": "These go in your page’s JavaScript, so anyone can read them. That is expected — a key can only ever do what its scope allows.",
1316
+ "emptyTitle": "No keys yet",
1317
+ "emptyBody": "Create a scope first, then mint a key for it.",
1318
+ "reveal": "Show key",
1319
+ "rotate": "Rotate",
1320
+ "revoke": "Revoke",
1321
+ "nameLabel": "Name",
1322
+ "scopeLabel": "Scope",
1323
+ "scopePlaceholder": "Choose a scope",
1324
+ "create": "Create key",
1325
+ "formLabel": "Create a key",
1326
+ "scopeIsAuthTitle": "The scope is the only permission",
1327
+ "scopeIsAuthBody": "A key can reach exactly what its scope lists and nothing else. It does not use roles or table permissions, and it cannot read anything through the rest of the API."
1328
+ },
1329
+ "status": {
1330
+ "heading": "Status"
1331
+ }
1166
1332
  }
1167
1333
  },
1168
1334
  "onboarding": {