@object-ui/i18n 4.4.0 → 4.5.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 +10 -0
- package/dist/locales/en.d.ts +3 -0
- package/dist/locales/en.js +3 -0
- package/dist/locales/index.d.ts +6 -0
- package/dist/locales/zh.d.ts +3 -0
- package/dist/locales/zh.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @object-ui/i18n
|
|
2
2
|
|
|
3
|
+
## 4.5.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 22fa558: Clean up pre-existing TypeScript errors in `plugin-list` and tighten i18n:
|
|
8
|
+
- Switch grouping-editor labels to `t(key, { defaultValue })` option form so i18next's strict types accept the literal fallback.
|
|
9
|
+
- Add the missing `list.addGroup` / `list.collapsedByDefault` / `list.removeGroup` keys to en + zh locale bundles.
|
|
10
|
+
- Drop the dead `currentView === 'list'` branch in `ListView` (local `ViewType` union has `'grid'`, never `'list'`).
|
|
11
|
+
- Widen `UserFilters.resolveFields` `translateOptions` parameter from a generic `<T>` to the concrete option shape so it matches the `useObjectLabel` hook's signature.
|
|
12
|
+
|
|
3
13
|
## 4.4.0
|
|
4
14
|
|
|
5
15
|
## 4.3.1
|
package/dist/locales/en.d.ts
CHANGED
|
@@ -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";
|
package/dist/locales/en.js
CHANGED
|
@@ -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',
|
package/dist/locales/index.d.ts
CHANGED
|
@@ -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";
|
|
@@ -1609,6 +1612,9 @@ export declare const builtInLocales: {
|
|
|
1609
1612
|
readonly dataLimitReached: "显示前 {{limit}} 条记录。可能有更多数据。";
|
|
1610
1613
|
readonly viewSettings: "视图设置";
|
|
1611
1614
|
readonly viewSettingsHint: "分组、行颜色、密度与可见字段。";
|
|
1615
|
+
readonly addGroup: "添加分组字段";
|
|
1616
|
+
readonly collapsedByDefault: "默认折叠";
|
|
1617
|
+
readonly removeGroup: "删除";
|
|
1612
1618
|
};
|
|
1613
1619
|
readonly kanban: {
|
|
1614
1620
|
readonly addCard: "添加卡片";
|
package/dist/locales/zh.d.ts
CHANGED
|
@@ -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: "添加卡片";
|
package/dist/locales/zh.js
CHANGED
|
@@ -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: '添加卡片',
|