@object-ui/i18n 4.4.0 → 4.6.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @object-ui/i18n
2
2
 
3
+ ## 4.6.0
4
+
5
+ ## 4.5.0
6
+
7
+ ### Patch Changes
8
+
9
+ - 22fa558: Clean up pre-existing TypeScript errors in `plugin-list` and tighten i18n:
10
+ - Switch grouping-editor labels to `t(key, { defaultValue })` option form so i18next's strict types accept the literal fallback.
11
+ - Add the missing `list.addGroup` / `list.collapsedByDefault` / `list.removeGroup` keys to en + zh locale bundles.
12
+ - Drop the dead `currentView === 'list'` branch in `ListView` (local `ViewType` union has `'grid'`, never `'list'`).
13
+ - Widen `UserFilters.resolveFields` `translateOptions` parameter from a generic `<T>` to the concrete option shape so it matches the `useObjectLabel` hook's signature.
14
+
3
15
  ## 4.4.0
4
16
 
5
17
  ## 4.3.1
@@ -216,6 +216,9 @@ declare const en: {
216
216
  readonly dataLimitReached: "Showing first {{limit}} records. More data may be available.";
217
217
  readonly viewSettings: "View settings";
218
218
  readonly viewSettingsHint: "Grouping, color, density, and visible fields.";
219
+ readonly addGroup: "Add group field";
220
+ readonly collapsedByDefault: "Collapsed by default";
221
+ readonly removeGroup: "Remove";
219
222
  };
220
223
  readonly kanban: {
221
224
  readonly addCard: "Add card";
@@ -1186,6 +1189,17 @@ declare const en: {
1186
1189
  readonly subtitle: "Your workspace dashboard";
1187
1190
  readonly nav: "Home";
1188
1191
  readonly allApps: "All Applications";
1192
+ readonly greetingMorning: "Good morning";
1193
+ readonly greetingAfternoon: "Good afternoon";
1194
+ readonly greetingEvening: "Good evening";
1195
+ readonly greetingNight: "Working late";
1196
+ readonly heroTagline: "Pick up where you left off, or explore something new.";
1197
+ readonly open: "Open";
1198
+ readonly stats: {
1199
+ readonly apps: "Applications";
1200
+ readonly starred: "Starred";
1201
+ readonly recent: "Recent items";
1202
+ };
1189
1203
  readonly loading: "Loading workspace...";
1190
1204
  readonly recent: "Recent";
1191
1205
  readonly starred: "Starred";
@@ -1211,6 +1225,14 @@ declare const en: {
1211
1225
  readonly record: "Record";
1212
1226
  };
1213
1227
  };
1228
+ readonly starredApps: {
1229
+ readonly title: "Starred";
1230
+ };
1231
+ readonly gettingStarted: {
1232
+ readonly title: "Make this home yours";
1233
+ readonly description: "Star an app to pin it here for one-click access. Anything you open will show up under Recently Accessed automatically.";
1234
+ readonly cta: "Browse all applications";
1235
+ };
1214
1236
  readonly appCard: {
1215
1237
  readonly noDescription: "No description";
1216
1238
  readonly default: "Default";
@@ -1303,6 +1325,8 @@ declare const en: {
1303
1325
  readonly description: "Please provide the required information to continue.";
1304
1326
  readonly selectPlaceholder: "Select {{label}}";
1305
1327
  readonly requiredError: "{{label}} is required";
1328
+ readonly lookupPlaceholder: "Paste the {{label}} record id (UUID)";
1329
+ readonly lookupHelpText: "Enter the record id of the referenced object. A picker is coming soon.";
1306
1330
  readonly cancel: "Cancel";
1307
1331
  readonly confirm: "Confirm";
1308
1332
  readonly defaultActionTitle: "Action";
@@ -216,6 +216,9 @@ const en = {
216
216
  dataLimitReached: 'Showing first {{limit}} records. More data may be available.',
217
217
  viewSettings: 'View settings',
218
218
  viewSettingsHint: 'Grouping, color, density, and visible fields.',
219
+ addGroup: 'Add group field',
220
+ collapsedByDefault: 'Collapsed by default',
221
+ removeGroup: 'Remove',
219
222
  },
220
223
  kanban: {
221
224
  addCard: 'Add card',
@@ -1197,6 +1200,17 @@ const en = {
1197
1200
  subtitle: 'Your workspace dashboard',
1198
1201
  nav: 'Home',
1199
1202
  allApps: 'All Applications',
1203
+ greetingMorning: 'Good morning',
1204
+ greetingAfternoon: 'Good afternoon',
1205
+ greetingEvening: 'Good evening',
1206
+ greetingNight: 'Working late',
1207
+ heroTagline: 'Pick up where you left off, or explore something new.',
1208
+ open: 'Open',
1209
+ stats: {
1210
+ apps: 'Applications',
1211
+ starred: 'Starred',
1212
+ recent: 'Recent items',
1213
+ },
1200
1214
  loading: 'Loading workspace...',
1201
1215
  recent: 'Recent',
1202
1216
  starred: 'Starred',
@@ -1222,6 +1236,14 @@ const en = {
1222
1236
  record: 'Record',
1223
1237
  },
1224
1238
  },
1239
+ starredApps: {
1240
+ title: 'Starred',
1241
+ },
1242
+ gettingStarted: {
1243
+ title: 'Make this home yours',
1244
+ description: 'Star an app to pin it here for one-click access. Anything you open will show up under Recently Accessed automatically.',
1245
+ cta: 'Browse all applications',
1246
+ },
1225
1247
  appCard: {
1226
1248
  noDescription: 'No description',
1227
1249
  default: 'Default',
@@ -1314,6 +1336,8 @@ const en = {
1314
1336
  description: 'Please provide the required information to continue.',
1315
1337
  selectPlaceholder: 'Select {{label}}',
1316
1338
  requiredError: '{{label}} is required',
1339
+ lookupPlaceholder: 'Paste the {{label}} record id (UUID)',
1340
+ lookupHelpText: 'Enter the record id of the referenced object. A picker is coming soon.',
1317
1341
  cancel: 'Cancel',
1318
1342
  confirm: 'Confirm',
1319
1343
  defaultActionTitle: 'Action',
@@ -228,6 +228,9 @@ export declare const builtInLocales: {
228
228
  readonly dataLimitReached: "Showing first {{limit}} records. More data may be available.";
229
229
  readonly viewSettings: "View settings";
230
230
  readonly viewSettingsHint: "Grouping, color, density, and visible fields.";
231
+ readonly addGroup: "Add group field";
232
+ readonly collapsedByDefault: "Collapsed by default";
233
+ readonly removeGroup: "Remove";
231
234
  };
232
235
  readonly kanban: {
233
236
  readonly addCard: "Add card";
@@ -1198,6 +1201,17 @@ export declare const builtInLocales: {
1198
1201
  readonly subtitle: "Your workspace dashboard";
1199
1202
  readonly nav: "Home";
1200
1203
  readonly allApps: "All Applications";
1204
+ readonly greetingMorning: "Good morning";
1205
+ readonly greetingAfternoon: "Good afternoon";
1206
+ readonly greetingEvening: "Good evening";
1207
+ readonly greetingNight: "Working late";
1208
+ readonly heroTagline: "Pick up where you left off, or explore something new.";
1209
+ readonly open: "Open";
1210
+ readonly stats: {
1211
+ readonly apps: "Applications";
1212
+ readonly starred: "Starred";
1213
+ readonly recent: "Recent items";
1214
+ };
1201
1215
  readonly loading: "Loading workspace...";
1202
1216
  readonly recent: "Recent";
1203
1217
  readonly starred: "Starred";
@@ -1223,6 +1237,14 @@ export declare const builtInLocales: {
1223
1237
  readonly record: "Record";
1224
1238
  };
1225
1239
  };
1240
+ readonly starredApps: {
1241
+ readonly title: "Starred";
1242
+ };
1243
+ readonly gettingStarted: {
1244
+ readonly title: "Make this home yours";
1245
+ readonly description: "Star an app to pin it here for one-click access. Anything you open will show up under Recently Accessed automatically.";
1246
+ readonly cta: "Browse all applications";
1247
+ };
1226
1248
  readonly appCard: {
1227
1249
  readonly noDescription: "No description";
1228
1250
  readonly default: "Default";
@@ -1315,6 +1337,8 @@ export declare const builtInLocales: {
1315
1337
  readonly description: "Please provide the required information to continue.";
1316
1338
  readonly selectPlaceholder: "Select {{label}}";
1317
1339
  readonly requiredError: "{{label}} is required";
1340
+ readonly lookupPlaceholder: "Paste the {{label}} record id (UUID)";
1341
+ readonly lookupHelpText: "Enter the record id of the referenced object. A picker is coming soon.";
1318
1342
  readonly cancel: "Cancel";
1319
1343
  readonly confirm: "Confirm";
1320
1344
  readonly defaultActionTitle: "Action";
@@ -1598,8 +1622,8 @@ export declare const builtInLocales: {
1598
1622
  readonly clear: "清除";
1599
1623
  readonly none: "无";
1600
1624
  readonly hideFields: "隐藏字段";
1601
- readonly noItems: "未找到项目";
1602
- readonly noItemsMessage: "没有可显示的记录。请尝试调整筛选条件或添加新数据。";
1625
+ readonly noItems: "暂无数据";
1626
+ readonly noItemsMessage: "当前没有可显示的记录。请尝试调整筛选条件或新建一条数据。";
1603
1627
  readonly showAll: "显示全部";
1604
1628
  readonly pullToRefresh: "下拉刷新";
1605
1629
  readonly refreshing: "刷新中…";
@@ -1609,6 +1633,9 @@ export declare const builtInLocales: {
1609
1633
  readonly dataLimitReached: "显示前 {{limit}} 条记录。可能有更多数据。";
1610
1634
  readonly viewSettings: "视图设置";
1611
1635
  readonly viewSettingsHint: "分组、行颜色、密度与可见字段。";
1636
+ readonly addGroup: "添加分组字段";
1637
+ readonly collapsedByDefault: "默认折叠";
1638
+ readonly removeGroup: "删除";
1612
1639
  };
1613
1640
  readonly kanban: {
1614
1641
  readonly addCard: "添加卡片";
@@ -2579,6 +2606,17 @@ export declare const builtInLocales: {
2579
2606
  readonly subtitle: "您的工作区仪表盘";
2580
2607
  readonly nav: "首页";
2581
2608
  readonly allApps: "全部应用";
2609
+ readonly greetingMorning: "早上好";
2610
+ readonly greetingAfternoon: "下午好";
2611
+ readonly greetingEvening: "晚上好";
2612
+ readonly greetingNight: "夜深了";
2613
+ readonly heroTagline: "从上次离开的地方继续,或者探索新的内容。";
2614
+ readonly open: "打开";
2615
+ readonly stats: {
2616
+ readonly apps: "应用";
2617
+ readonly starred: "收藏";
2618
+ readonly recent: "最近访问";
2619
+ };
2582
2620
  readonly loading: "正在加载工作区...";
2583
2621
  readonly recent: "最近使用";
2584
2622
  readonly starred: "收藏";
@@ -2604,6 +2642,14 @@ export declare const builtInLocales: {
2604
2642
  readonly record: "记录";
2605
2643
  };
2606
2644
  };
2645
+ readonly starredApps: {
2646
+ readonly title: "收藏";
2647
+ };
2648
+ readonly gettingStarted: {
2649
+ readonly title: "把首页布置成你喜欢的样子";
2650
+ readonly description: "收藏一个应用即可固定到此处,一键直达。打开过的内容会自动出现在「最近访问」中。";
2651
+ readonly cta: "浏览全部应用";
2652
+ };
2607
2653
  readonly appCard: {
2608
2654
  readonly noDescription: "暂无描述";
2609
2655
  readonly default: "默认";
@@ -2696,6 +2742,8 @@ export declare const builtInLocales: {
2696
2742
  readonly description: "请填写以下信息以继续操作。";
2697
2743
  readonly selectPlaceholder: "请选择 {{label}}";
2698
2744
  readonly requiredError: "{{label}} 为必填项";
2745
+ readonly lookupPlaceholder: "粘贴 {{label}} 的记录 ID(UUID)";
2746
+ readonly lookupHelpText: "请输入引用记录的 ID。可视化选择器即将上线。";
2699
2747
  readonly cancel: "取消";
2700
2748
  readonly confirm: "确认";
2701
2749
  readonly defaultActionTitle: "操作";
@@ -205,8 +205,8 @@ declare const zh: {
205
205
  readonly clear: "清除";
206
206
  readonly none: "无";
207
207
  readonly hideFields: "隐藏字段";
208
- readonly noItems: "未找到项目";
209
- readonly noItemsMessage: "没有可显示的记录。请尝试调整筛选条件或添加新数据。";
208
+ readonly noItems: "暂无数据";
209
+ readonly noItemsMessage: "当前没有可显示的记录。请尝试调整筛选条件或新建一条数据。";
210
210
  readonly showAll: "显示全部";
211
211
  readonly pullToRefresh: "下拉刷新";
212
212
  readonly refreshing: "刷新中…";
@@ -216,6 +216,9 @@ declare const zh: {
216
216
  readonly dataLimitReached: "显示前 {{limit}} 条记录。可能有更多数据。";
217
217
  readonly viewSettings: "视图设置";
218
218
  readonly viewSettingsHint: "分组、行颜色、密度与可见字段。";
219
+ readonly addGroup: "添加分组字段";
220
+ readonly collapsedByDefault: "默认折叠";
221
+ readonly removeGroup: "删除";
219
222
  };
220
223
  readonly kanban: {
221
224
  readonly addCard: "添加卡片";
@@ -1186,6 +1189,17 @@ declare const zh: {
1186
1189
  readonly subtitle: "您的工作区仪表盘";
1187
1190
  readonly nav: "首页";
1188
1191
  readonly allApps: "全部应用";
1192
+ readonly greetingMorning: "早上好";
1193
+ readonly greetingAfternoon: "下午好";
1194
+ readonly greetingEvening: "晚上好";
1195
+ readonly greetingNight: "夜深了";
1196
+ readonly heroTagline: "从上次离开的地方继续,或者探索新的内容。";
1197
+ readonly open: "打开";
1198
+ readonly stats: {
1199
+ readonly apps: "应用";
1200
+ readonly starred: "收藏";
1201
+ readonly recent: "最近访问";
1202
+ };
1189
1203
  readonly loading: "正在加载工作区...";
1190
1204
  readonly recent: "最近使用";
1191
1205
  readonly starred: "收藏";
@@ -1211,6 +1225,14 @@ declare const zh: {
1211
1225
  readonly record: "记录";
1212
1226
  };
1213
1227
  };
1228
+ readonly starredApps: {
1229
+ readonly title: "收藏";
1230
+ };
1231
+ readonly gettingStarted: {
1232
+ readonly title: "把首页布置成你喜欢的样子";
1233
+ readonly description: "收藏一个应用即可固定到此处,一键直达。打开过的内容会自动出现在「最近访问」中。";
1234
+ readonly cta: "浏览全部应用";
1235
+ };
1214
1236
  readonly appCard: {
1215
1237
  readonly noDescription: "暂无描述";
1216
1238
  readonly default: "默认";
@@ -1303,6 +1325,8 @@ declare const zh: {
1303
1325
  readonly description: "请填写以下信息以继续操作。";
1304
1326
  readonly selectPlaceholder: "请选择 {{label}}";
1305
1327
  readonly requiredError: "{{label}} 为必填项";
1328
+ readonly lookupPlaceholder: "粘贴 {{label}} 的记录 ID(UUID)";
1329
+ readonly lookupHelpText: "请输入引用记录的 ID。可视化选择器即将上线。";
1306
1330
  readonly cancel: "取消";
1307
1331
  readonly confirm: "确认";
1308
1332
  readonly defaultActionTitle: "操作";
@@ -205,8 +205,8 @@ const zh = {
205
205
  clear: '清除',
206
206
  none: '无',
207
207
  hideFields: '隐藏字段',
208
- noItems: '未找到项目',
209
- noItemsMessage: '没有可显示的记录。请尝试调整筛选条件或添加新数据。',
208
+ noItems: '暂无数据',
209
+ noItemsMessage: '当前没有可显示的记录。请尝试调整筛选条件或新建一条数据。',
210
210
  showAll: '显示全部',
211
211
  pullToRefresh: '下拉刷新',
212
212
  refreshing: '刷新中…',
@@ -216,6 +216,9 @@ const zh = {
216
216
  dataLimitReached: '显示前 {{limit}} 条记录。可能有更多数据。',
217
217
  viewSettings: '视图设置',
218
218
  viewSettingsHint: '分组、行颜色、密度与可见字段。',
219
+ addGroup: '添加分组字段',
220
+ collapsedByDefault: '默认折叠',
221
+ removeGroup: '删除',
219
222
  },
220
223
  kanban: {
221
224
  addCard: '添加卡片',
@@ -1197,6 +1200,17 @@ const zh = {
1197
1200
  subtitle: '您的工作区仪表盘',
1198
1201
  nav: '首页',
1199
1202
  allApps: '全部应用',
1203
+ greetingMorning: '早上好',
1204
+ greetingAfternoon: '下午好',
1205
+ greetingEvening: '晚上好',
1206
+ greetingNight: '夜深了',
1207
+ heroTagline: '从上次离开的地方继续,或者探索新的内容。',
1208
+ open: '打开',
1209
+ stats: {
1210
+ apps: '应用',
1211
+ starred: '收藏',
1212
+ recent: '最近访问',
1213
+ },
1200
1214
  loading: '正在加载工作区...',
1201
1215
  recent: '最近使用',
1202
1216
  starred: '收藏',
@@ -1222,6 +1236,14 @@ const zh = {
1222
1236
  record: '记录',
1223
1237
  },
1224
1238
  },
1239
+ starredApps: {
1240
+ title: '收藏',
1241
+ },
1242
+ gettingStarted: {
1243
+ title: '把首页布置成你喜欢的样子',
1244
+ description: '收藏一个应用即可固定到此处,一键直达。打开过的内容会自动出现在「最近访问」中。',
1245
+ cta: '浏览全部应用',
1246
+ },
1225
1247
  appCard: {
1226
1248
  noDescription: '暂无描述',
1227
1249
  default: '默认',
@@ -1314,6 +1336,8 @@ const zh = {
1314
1336
  description: '请填写以下信息以继续操作。',
1315
1337
  selectPlaceholder: '请选择 {{label}}',
1316
1338
  requiredError: '{{label}} 为必填项',
1339
+ lookupPlaceholder: '粘贴 {{label}} 的记录 ID(UUID)',
1340
+ lookupHelpText: '请输入引用记录的 ID。可视化选择器即将上线。',
1317
1341
  cancel: '取消',
1318
1342
  confirm: '确认',
1319
1343
  defaultActionTitle: '操作',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@object-ui/i18n",
3
- "version": "4.4.0",
3
+ "version": "4.6.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",