@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
@@ -14,6 +14,7 @@
14
14
  },
15
15
  "auth": {
16
16
  "headline": "把任何数据库变成仪表盘。",
17
+ "description": "连接 PostgreSQL,Adminium 就会生成一个可换主题、懂权限的管理后台——无需写代码。",
17
18
  "trust": "AGPL 核心 · 自托管 · 数据始终归你所有",
18
19
  "signIn": {
19
20
  "title": "欢迎回来",
@@ -235,6 +236,7 @@
235
236
  },
236
237
  "notFound": {
237
238
  "title": "页面不见了",
239
+ "body": "你要找的页面不存在或已被移动。请检查网址,或返回你的仪表盘。",
238
240
  "errorLine": "错误 404",
239
241
  "searchPlaceholder": "搜索页面…",
240
242
  "matches": "匹配的页面",
@@ -252,10 +254,12 @@
252
254
  "title": "此页面渲染失败"
253
255
  },
254
256
  "tooNew": {
255
- "title": "此页面需要更新版本的 Adminium"
257
+ "title": "此页面需要更新版本的 Adminium",
258
+ "body": "此页面保存时使用的配置版本是 {version},而当前版本最高只支持到版本 {latest}。请升级 Adminium 后再打开。"
256
259
  },
257
260
  "unknownTemplate": {
258
- "title": "未知的页面模板"
261
+ "title": "未知的页面模板",
262
+ "body": "此页面使用了当前版本无法识别的模板。它可能来自更新版本的 Adminium,或来自尚未安装的扩展。"
259
263
  }
260
264
  },
261
265
  "mutation": {
@@ -344,6 +348,70 @@
344
348
  "emptyTitle": "暂无可配置项",
345
349
  "emptyBody": "随着功能上线,通知事件将显示在这里。",
346
350
  "saveFailed": "无法保存此更改。"
351
+ },
352
+ "translations": {
353
+ "title": "语言与翻译",
354
+ "subtitle": "修改 Adminium 中的任何文案,决定用户可以选择哪些语言,并添加你自己的语言。",
355
+ "warning": "错误提示和登录文案同样可以修改。出问题时用户读到的正是这些内容,请谨慎改动。",
356
+ "editor": {
357
+ "heading": "编辑翻译"
358
+ },
359
+ "localeLabel": "语言",
360
+ "groupLabel": "区域",
361
+ "allAreas": "全部区域",
362
+ "stateLabel": "显示",
363
+ "state": {
364
+ "all": "全部",
365
+ "overridden": "仅已自定义",
366
+ "untranslated": "仅未翻译",
367
+ "stale": "此后英文有改动"
368
+ },
369
+ "searchLabel": "搜索",
370
+ "searchPlaceholder": "键名或英文原文",
371
+ "loading": "正在加载文案…",
372
+ "noMatches": "没有符合这些筛选条件的文案。",
373
+ "count": "{total, plural, other {# 条文案}}",
374
+ "badge": {
375
+ "custom": "已自定义",
376
+ "stale": "英文已更改",
377
+ "a11y": "无障碍名称"
378
+ },
379
+ "sourceLabel": "英文原文",
380
+ "valueLabel": "翻译",
381
+ "save": "保存",
382
+ "saved": "翻译已保存",
383
+ "resetAction": "恢复为内置文案",
384
+ "reset": "已恢复为内置文案",
385
+ "locales": {
386
+ "heading": "可用语言",
387
+ "help": "关闭某种语言后,它会从所有语言选择器中消失。已经在使用它的人会继续使用,直到自己改选其他语言。"
388
+ },
389
+ "locale": {
390
+ "builtin": "内置",
391
+ "custom": "自定义",
392
+ "overrides": "{count, plural, =0 {暂无自定义文案} other {# 条自定义文案}}",
393
+ "enable": "开启",
394
+ "disable": "关闭",
395
+ "delete": "删除",
396
+ "deleted": "语言已移除",
397
+ "deletedDetail": "{users, plural, other {# 位用户}}已改回工作区默认语言;已删除 {strings, plural, other {# 条翻译}}。",
398
+ "deleteFailed": "无法移除该语言",
399
+ "add": "添加语言",
400
+ "added": "语言已添加",
401
+ "create": "确认添加",
402
+ "id": "语言代码",
403
+ "intlTag": "格式规则参照",
404
+ "native": "该语言中的名称",
405
+ "english": "英文名称",
406
+ "dir": "文字方向",
407
+ "ltr": "从左到右",
408
+ "rtl": "从右到左",
409
+ "font": "文字系统",
410
+ "latin": "拉丁文",
411
+ "arabic": "阿拉伯文",
412
+ "cjk": "中文 / 日文 / 韩文",
413
+ "intlHelp": "格式规则决定数字、日期和复数的表现方式。请选择最接近且已有这些规则的语言——它不必与你的语言代码一致。"
414
+ }
347
415
  }
348
416
  },
349
417
  "studio": {
@@ -572,7 +640,8 @@
572
640
  "heading": "安全",
573
641
  "require2fa": {
574
642
  "label": "强制双重验证",
575
- "desc": "每位成员都必须启用双重验证才能登录。"
643
+ "desc": "每位成员都必须启用双重验证才能登录。",
644
+ "note": "这是提示而非强制:未启用双重验证的成员会被引导去设置,之后也无法再关闭,但登录不会被阻止,API 密钥也不受影响。"
576
645
  },
577
646
  "allowSignup": {
578
647
  "label": "允许自助注册",
@@ -587,6 +656,41 @@
587
656
  "error": "介于 {min, number} 到 {max, number} 个字符之间。"
588
657
  }
589
658
  },
659
+ "email": {
660
+ "heading": "电子邮件 (SMTP)",
661
+ "unconfigured": "尚未设置邮件服务器,因此 Adminium 无法发送密码重置、用户邀请或计划报告。",
662
+ "host": {
663
+ "label": "SMTP 主机",
664
+ "error": "只能填写主机名或 IP 地址 — 不含协议、端口或凭据。"
665
+ },
666
+ "port": {
667
+ "label": "端口",
668
+ "error": "介于 {min, number} 与 {max, number} 之间。"
669
+ },
670
+ "user": {
671
+ "label": "用户名",
672
+ "helper": "若中继无需认证,请留空。"
673
+ },
674
+ "pass": {
675
+ "label": "密码",
676
+ "helper": "加密存储且不再显示。留空则保留当前密码。",
677
+ "error": "该用户名需要密码。"
678
+ },
679
+ "from": {
680
+ "label": "发件人地址",
681
+ "helper": "可只填地址,或在地址前加显示名称。",
682
+ "error": "请输入电子邮件地址。"
683
+ },
684
+ "secure": {
685
+ "label": "隐式 TLS",
686
+ "helper": "端口 465 请开启。关闭时以明文开始并通过 STARTTLS 升级,这正是端口 587 所期望的。"
687
+ },
688
+ "remove": "移除邮件服务器",
689
+ "review": {
690
+ "removed": "已移除",
691
+ "password": "已替换"
692
+ }
693
+ },
590
694
  "review": {
591
695
  "title": "保存工作区设置",
592
696
  "subtitle": "保存前请确认您的更改。",
@@ -620,6 +724,11 @@
620
724
  "heading": "页面",
621
725
  "body": "添加、编辑和删除页面,更改每个页面的内容,并重新排列侧边栏。",
622
726
  "cta": "管理页面"
727
+ },
728
+ "translationsCard": {
729
+ "heading": "语言与翻译",
730
+ "body": "重写 Adminium 中的任何文案,决定用户可以选择哪些语言,并添加你自己的语言。",
731
+ "cta": "打开翻译"
623
732
  }
624
733
  },
625
734
  "settingsAi": {
@@ -1153,7 +1262,64 @@
1153
1262
  "pii": "PII",
1154
1263
  "masked": "已脱敏"
1155
1264
  },
1156
- "unavailableTitle": "架构重映射编辑器不可用"
1265
+ "unavailableTitle": "架构重映射编辑器不可用",
1266
+ "unavailableBody": "此版本尚未包含重映射编辑器(09-T12)。等它上线后重新运行生成,即可重映射标签、类型和关系。"
1267
+ },
1268
+ "publicApi": {
1269
+ "error": "Something went wrong",
1270
+ "scopes": {
1271
+ "deleteTitle": "Delete this scope",
1272
+ "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.",
1273
+ "deletePrompt": "Type the scope name to confirm",
1274
+ "deleteConfirm": "Delete scope",
1275
+ "issuesTitle": "This scope did not compile",
1276
+ "title": "Scopes",
1277
+ "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.",
1278
+ "emptyTitle": "No scopes yet",
1279
+ "emptyBody": "Create one below. It is checked against your live schema before it is saved.",
1280
+ "keyCount": "{count, plural, =0 {no keys} other {# keys}}",
1281
+ "delete": "Delete",
1282
+ "nameLabel": "Name",
1283
+ "connectionLabel": "Connection ID",
1284
+ "documentLabel": "Scope document",
1285
+ "documentHint": "Compiled against your schema when you save. Every column a caller can reach is listed here and nowhere else.",
1286
+ "create": "Create scope",
1287
+ "formLabel": "Create a scope"
1288
+ },
1289
+ "cancel": "Cancel",
1290
+ "close": "Close",
1291
+ "title": "Public API",
1292
+ "subtitle": "Let your own customer- or staff-facing pages read this database, through a scope you define.",
1293
+ "notRegistered": {
1294
+ "title": "Not enabled on this server",
1295
+ "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."
1296
+ },
1297
+ "toggle": {
1298
+ "label": "Serve the public API",
1299
+ "hint": "Turning this off stops every public request immediately. Nothing is deleted — keys, scopes and data all survive."
1300
+ },
1301
+ "origins": {
1302
+ "label": "Origins allowed to call it"
1303
+ },
1304
+ "keys": {
1305
+ "title": "Keys",
1306
+ "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.",
1307
+ "emptyTitle": "No keys yet",
1308
+ "emptyBody": "Create a scope first, then mint a key for it.",
1309
+ "reveal": "Show key",
1310
+ "rotate": "Rotate",
1311
+ "revoke": "Revoke",
1312
+ "nameLabel": "Name",
1313
+ "scopeLabel": "Scope",
1314
+ "scopePlaceholder": "Choose a scope",
1315
+ "create": "Create key",
1316
+ "formLabel": "Create a key",
1317
+ "scopeIsAuthTitle": "The scope is the only permission",
1318
+ "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."
1319
+ },
1320
+ "status": {
1321
+ "heading": "Status"
1322
+ }
1157
1323
  }
1158
1324
  },
1159
1325
  "onboarding": {
@@ -291,17 +291,20 @@
291
291
  },
292
292
  "cohortMatrix": {
293
293
  "chartLabel": "同期群留存",
294
- "description": "同期群为行、周期为列,每个单元格按留存率或收入着色。"
294
+ "description": "同期群为行、周期为列,每个单元格按留存率或收入着色。",
295
+ "regionLabel": "Cohort matrix"
295
296
  },
296
297
  "heatmapCalendar": {
297
298
  "chartLabel": "活动日历",
298
299
  "legendLessLabel": "较少",
299
300
  "legendMoreLabel": "较多",
300
- "description": "以周×日的网格呈现全年每日活动,按强度着色。"
301
+ "description": "以周×日的网格呈现全年每日活动,按强度着色。",
302
+ "regionLabel": "Activity calendar"
301
303
  },
302
304
  "heatMonth": {
303
305
  "chartLabel": "每月活动",
304
- "description": "将一个自然月呈现为日期网格,按每天的数值着色。"
306
+ "description": "将一个自然月呈现为日期网格,按每天的数值着色。",
307
+ "regionLabel": "Monthly heat map"
305
308
  },
306
309
  "choroplethGrid": {
307
310
  "chartLabel": "区域细分",
@@ -416,12 +419,14 @@
416
419
  "description": "带计数的事件类别;切换即可筛选旁边的日历。",
417
420
  "emptyTitle": "暂无类别",
418
421
  "emptyBody": "有事件后,事件类别将显示在这里。",
419
- "uncategorizedLabel": "未分类"
422
+ "uncategorizedLabel": "未分类",
423
+ "listLabel": "Categories"
420
424
  },
421
425
  "upcomingEventsList": {
422
426
  "description": "按日期排列的近期事件,含负责人和状态。",
423
427
  "emptyTitle": "暂无即将开始的事件",
424
- "emptyBody": "计划中的事件将陆续显示在这里。"
428
+ "emptyBody": "计划中的事件将陆续显示在这里。",
429
+ "listLabel": "Upcoming events"
425
430
  },
426
431
  "dateRangePicker": {
427
432
  "description": "带快捷选项的日期范围,可筛选页面其余内容。",
@@ -443,7 +448,8 @@
443
448
  "emptyBody": "计划周期性报表或导出后,将显示在这里。",
444
449
  "nextRunLabel": "下次运行",
445
450
  "toggleLabel": "启用计划",
446
- "recipientsLabel": "接收人"
451
+ "recipientsLabel": "接收人",
452
+ "listLabel": "Scheduled jobs"
447
453
  }
448
454
  },
449
455
  "tables": {
@@ -618,7 +624,8 @@
618
624
  "sendLabel": "发送",
619
625
  "attachLabel": "添加附件",
620
626
  "typingLabel": "正在输入…",
621
- "composerLabel": "消息"
627
+ "composerLabel": "消息",
628
+ "transcriptLabel": "Conversation"
622
629
  },
623
630
  "aiChatPanel": {
624
631
  "description": "用于询问数据库结构和数据的助手面板。",
@@ -631,7 +638,8 @@
631
638
  "configureBody": "添加 Anthropic 或 OpenAI 密钥,或将 Adminium 指向你自己的接口地址,即可询问数据库结构。",
632
639
  "configureCtaLabel": "配置提供方",
633
640
  "assistantLabel": "助手",
634
- "composerLabel": "提出问题"
641
+ "composerLabel": "提出问题",
642
+ "transcriptLabel": "Assistant transcript"
635
643
  },
636
644
  "typingIndicator": {
637
645
  "description": "头像加斜体“正在输入…”行,绑定到每个会话的实时布尔值。",
@@ -1444,6 +1452,7 @@
1444
1452
  "deleteFailed": "删除失败。",
1445
1453
  "bulkDeleted": "{count, plural, other {{n} rows deleted.}}",
1446
1454
  "bulkDeleteFailed": "批量删除失败。",
1455
+ "exportIncomplete": "已导出 {selected, number} 个所选行中的 {written, number} 个 — 请重新加载后重试。",
1447
1456
  "undone": "更改已撤销。",
1448
1457
  "undoFailed": "撤销失败。"
1449
1458
  },