@object-ui/i18n 3.1.5 → 3.3.1

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 (56) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +21 -1
  3. package/dist/i18n.js +10 -1
  4. package/dist/index.d.ts +1 -0
  5. package/dist/index.js +2 -0
  6. package/dist/locales/ar.d.ts +260 -1
  7. package/dist/locales/ar.js +260 -1
  8. package/dist/locales/de.d.ts +260 -1
  9. package/dist/locales/de.js +269 -1
  10. package/dist/locales/en.d.ts +279 -0
  11. package/dist/locales/en.js +289 -0
  12. package/dist/locales/es.d.ts +260 -1
  13. package/dist/locales/es.js +260 -1
  14. package/dist/locales/fr.d.ts +260 -1
  15. package/dist/locales/fr.js +269 -1
  16. package/dist/locales/index.d.ts +2661 -9
  17. package/dist/locales/ja.d.ts +271 -1
  18. package/dist/locales/ja.js +271 -1
  19. package/dist/locales/ko.d.ts +260 -1
  20. package/dist/locales/ko.js +260 -1
  21. package/dist/locales/pt.d.ts +260 -1
  22. package/dist/locales/pt.js +260 -1
  23. package/dist/locales/ru.d.ts +271 -1
  24. package/dist/locales/ru.js +280 -1
  25. package/dist/locales/zh.d.ts +280 -1
  26. package/dist/locales/zh.js +290 -1
  27. package/dist/useObjectLabel.d.ts +46 -0
  28. package/dist/useObjectLabel.js +79 -12
  29. package/dist/useSafeTranslation.d.ts +5 -0
  30. package/dist/useSafeTranslation.js +46 -0
  31. package/package.json +31 -8
  32. package/.turbo/turbo-build.log +0 -4
  33. package/src/__tests__/i18n.test.ts +0 -228
  34. package/src/__tests__/provider.test.tsx +0 -117
  35. package/src/__tests__/spec-formatters.test.ts +0 -208
  36. package/src/__tests__/useObjectLabel.test.tsx +0 -131
  37. package/src/i18n.ts +0 -98
  38. package/src/index.ts +0 -78
  39. package/src/locales/ar.ts +0 -541
  40. package/src/locales/de.ts +0 -545
  41. package/src/locales/en.ts +0 -625
  42. package/src/locales/es.ts +0 -540
  43. package/src/locales/fr.ts +0 -545
  44. package/src/locales/index.ts +0 -42
  45. package/src/locales/ja.ts +0 -540
  46. package/src/locales/ko.ts +0 -540
  47. package/src/locales/pt.ts +0 -540
  48. package/src/locales/ru.ts +0 -540
  49. package/src/locales/zh.ts +0 -624
  50. package/src/provider.tsx +0 -177
  51. package/src/useObjectLabel.ts +0 -122
  52. package/src/utils/formatting.ts +0 -136
  53. package/src/utils/index.ts +0 -21
  54. package/src/utils/spec-formatters.ts +0 -220
  55. package/tsconfig.json +0 -12
  56. package/tsconfig.tsbuildinfo +0 -1
package/src/locales/en.ts DELETED
@@ -1,625 +0,0 @@
1
- /**
2
- * English (en) - Default language pack for Object UI
3
- */
4
- const en = {
5
- common: {
6
- loading: 'Loading...',
7
- save: 'Save',
8
- cancel: 'Cancel',
9
- delete: 'Delete',
10
- edit: 'Edit',
11
- create: 'Create',
12
- search: 'Search',
13
- filter: 'Filter',
14
- reset: 'Reset',
15
- confirm: 'Confirm',
16
- close: 'Close',
17
- back: 'Back',
18
- next: 'Next',
19
- previous: 'Previous',
20
- submit: 'Submit',
21
- refresh: 'Refresh',
22
- export: 'Export',
23
- import: 'Import',
24
- yes: 'Yes',
25
- no: 'No',
26
- ok: 'OK',
27
- actions: 'Actions',
28
- more: 'More',
29
- selectAll: 'Select All',
30
- clearAll: 'Clear All',
31
- noData: 'No data',
32
- noResults: 'No results found',
33
- required: 'Required',
34
- optional: 'Optional',
35
- },
36
- validation: {
37
- required: '{{field}} is required',
38
- minLength: '{{field}} must be at least {{min}} characters',
39
- maxLength: '{{field}} must be at most {{max}} characters',
40
- min: '{{field}} must be at least {{min}}',
41
- max: '{{field}} must be at most {{max}}',
42
- email: 'Please enter a valid email address',
43
- url: 'Please enter a valid URL',
44
- pattern: '{{field}} format is invalid',
45
- unique: '{{field}} must be unique',
46
- type: '{{field}} must be a valid {{type}}',
47
- },
48
- form: {
49
- addItem: 'Add item',
50
- removeItem: 'Remove item',
51
- fieldRequired: 'This field is required',
52
- invalidFormat: 'Invalid format',
53
- saveSuccess: 'Saved successfully',
54
- saveError: 'Failed to save',
55
- unsavedChanges: 'You have unsaved changes. Are you sure you want to leave?',
56
- stepOf: 'Step {{current}} of {{total}}',
57
- },
58
- table: {
59
- rowsPerPage: 'Rows per page',
60
- showing: 'Showing {{from}} to {{to}} of {{total}}',
61
- noRows: 'No rows to display',
62
- sortAsc: 'Sort ascending',
63
- sortDesc: 'Sort descending',
64
- filterColumn: 'Filter {{column}}',
65
- columns: 'Columns',
66
- exportCSV: 'Export CSV',
67
- exportExcel: 'Export Excel',
68
- selectRow: 'Select row',
69
- selectAllRows: 'Select all rows',
70
- expandRow: 'Expand row',
71
- collapseRow: 'Collapse row',
72
- hideColumn: 'Hide column',
73
- freezeColumn: 'Freeze column',
74
- unfreezeColumn: 'Unfreeze column',
75
- pageInfo: 'Page {{current}} of {{total}}',
76
- totalRecords: '{{count}} total',
77
- noResults: 'No results found',
78
- noResultsHint: 'Try adjusting your filters or search query.',
79
- cancelAll: 'Cancel All',
80
- saveAll: 'Save All ({{count}})',
81
- addRecord: 'Add record',
82
- open: 'Open',
83
- search: 'Search...',
84
- modified: '{{count}} row modified',
85
- selected: '{{count}} selected',
86
- },
87
- grid: {
88
- actions: 'Actions',
89
- edit: 'Edit',
90
- delete: 'Delete',
91
- export: 'Export',
92
- exportAs: 'Export as {{format}}',
93
- loading: 'Loading grid...',
94
- errorLoading: 'Error loading grid',
95
- pullToRefresh: 'Pull to refresh',
96
- refreshing: 'Refreshing…',
97
- openRecord: 'Open record',
98
- rowHeight: 'Row height: {{mode}}',
99
- },
100
- calendar: {
101
- today: 'Today',
102
- month: 'Month',
103
- week: 'Week',
104
- day: 'Day',
105
- agenda: 'Agenda',
106
- allDay: 'All Day',
107
- noEvents: 'No events',
108
- newEvent: 'New event',
109
- moreEvents: '+{{count}} more',
110
- },
111
- list: {
112
- recordCount: '{{count}} records',
113
- recordCountOne: '{{count}} record',
114
- addRecord: 'Add record',
115
- tabs: 'Tabs',
116
- allRecords: 'All Records',
117
- search: 'Search',
118
- filter: 'Filter',
119
- filterRecords: 'Filter Records',
120
- sort: 'Sort',
121
- sortRecords: 'Sort Records',
122
- group: 'Group',
123
- groupBy: 'Group By',
124
- export: 'Export',
125
- exportAs: 'Export as {{format}}',
126
- color: 'Color',
127
- rowColor: 'Row Color',
128
- colorByField: 'Color by field',
129
- clear: 'Clear',
130
- none: 'None',
131
- hideFields: 'Hide fields',
132
- noItems: 'No items found',
133
- noItemsMessage: 'There are no records to display. Try adjusting your filters or adding new data.',
134
- showAll: 'Show all',
135
- pullToRefresh: 'Pull to refresh',
136
- refreshing: 'Refreshing…',
137
- share: 'Share',
138
- print: 'Print',
139
- hideFieldsTitle: 'Hide Fields',
140
- dataLimitReached: 'Showing first {{limit}} records. More data may be available.',
141
- },
142
- kanban: {
143
- addCard: 'Add card',
144
- addColumn: 'Add column',
145
- moveCard: 'Move card',
146
- deleteCard: 'Delete card',
147
- deleteColumn: 'Delete column',
148
- },
149
- detail: {
150
- back: 'Back',
151
- edit: 'Edit',
152
- editInline: 'Edit inline',
153
- save: 'Save',
154
- saveChanges: 'Save changes',
155
- editFieldsInline: 'Edit fields inline',
156
- share: 'Share',
157
- duplicate: 'Duplicate',
158
- export: 'Export',
159
- viewHistory: 'View history',
160
- delete: 'Delete',
161
- moreActions: 'More actions',
162
- addToFavorites: 'Add to favorites',
163
- removeFromFavorites: 'Remove from favorites',
164
- previousRecord: 'Previous record',
165
- nextRecord: 'Next record',
166
- recordOf: '{{current}} of {{total}}',
167
- recordNotFound: 'Record not found',
168
- recordNotFoundDescription: 'The record you are looking for does not exist or may have been deleted.',
169
- goBack: 'Go back',
170
- details: 'Details',
171
- related: 'Related',
172
- relatedRecords: '{{count}} records',
173
- relatedRecordOne: '{{count}} record',
174
- noRelatedRecords: 'No related records found',
175
- loading: 'Loading...',
176
- copyToClipboard: 'Copy to clipboard',
177
- copied: 'Copied!',
178
- deleteConfirmation: 'Are you sure you want to delete this record?',
179
- editRecord: 'Edit record',
180
- viewAll: 'View All',
181
- new: 'New',
182
- emptyValue: '—',
183
- activity: 'Activity',
184
- editRow: 'Edit',
185
- deleteRow: 'Delete',
186
- deleteRowConfirmation: 'Are you sure you want to delete this record?',
187
- actions: 'Actions',
188
- previousPage: 'Previous',
189
- nextPage: 'Next',
190
- pageOf: 'Page {{current}} of {{total}}',
191
- sortBy: 'Sort by',
192
- filterPlaceholder: 'Filter...',
193
- highlightFields: 'Key Fields',
194
- },
195
- chart: {
196
- noData: 'No chart data available',
197
- loading: 'Loading chart...',
198
- },
199
- dashboard: {
200
- addWidget: 'Add widget',
201
- removeWidget: 'Remove widget',
202
- editLayout: 'Edit layout',
203
- saveLayout: 'Save layout',
204
- resetLayout: 'Reset layout',
205
- },
206
- configPanel: {
207
- save: 'Save',
208
- discard: 'Discard',
209
- close: 'Close',
210
- layout: 'Layout',
211
- columns: 'Columns',
212
- gap: 'Gap',
213
- rowHeight: 'Row height',
214
- data: 'Data',
215
- refreshInterval: 'Refresh interval',
216
- appearance: 'Appearance',
217
- title: 'Title',
218
- showDescription: 'Show description',
219
- theme: 'Theme',
220
- configuration: 'Configuration',
221
- general: 'General',
222
- advanced: 'Advanced',
223
- },
224
- appDesigner: {
225
- createApp: 'Create Application',
226
- editApp: 'Edit Application',
227
- basicInfo: 'Basic Info',
228
- objects: 'Objects',
229
- navigation: 'Navigation',
230
- branding: 'Branding',
231
- appName: 'App Name',
232
- appTitle: 'Title',
233
- appDescription: 'Description',
234
- appIcon: 'Icon',
235
- template: 'Template',
236
- layout: 'Layout',
237
- layoutSidebar: 'Sidebar',
238
- layoutHeader: 'Header',
239
- layoutEmpty: 'Empty',
240
- selectObjects: 'Select Objects',
241
- searchObjects: 'Search objects…',
242
- selectAll: 'Select All',
243
- deselectAll: 'Deselect All',
244
- navBuilder: 'Navigation Builder',
245
- addGroup: 'Add Group',
246
- addUrl: 'Add URL',
247
- addSeparator: 'Add Separator',
248
- noNavItems: 'No navigation items yet.',
249
- logoUrl: 'Logo URL',
250
- primaryColor: 'Primary Color',
251
- faviconUrl: 'Favicon URL',
252
- preview: 'Preview',
253
- complete: 'Complete',
254
- snakeCaseHint: 'Must be snake_case (e.g. my_app)',
255
- modeEdit: 'Edit',
256
- modePreview: 'Preview',
257
- modeCode: 'Code',
258
- addWidget: 'Add Widget',
259
- widgetProperties: 'Widget Properties',
260
- dataSource: 'Data Source',
261
- valueField: 'Value Field',
262
- aggregate: 'Aggregate',
263
- colorVariant: 'Color Variant',
264
- addComponent: 'Add Component',
265
- componentProperties: 'Component Properties',
266
- viewType: 'View Type',
267
- fields: 'Fields',
268
- toolbar: 'Toolbar',
269
- showSearch: 'Show Search',
270
- showFilters: 'Show Filters',
271
- showSort: 'Show Sort',
272
- appearance: 'Appearance',
273
- rowHeight: 'Row Height',
274
- stripedRows: 'Striped Rows',
275
- bordered: 'Bordered',
276
- livePreview: 'Live Preview',
277
- stepBasicDesc: 'Name, title, and layout',
278
- stepObjectsDesc: 'Select business objects',
279
- stepNavigationDesc: 'Build navigation tree',
280
- stepBrandingDesc: 'Logo, colors, and favicon',
281
- noObjectsFound: 'No objects found.',
282
- noNavItemsHint: 'No navigation items yet. Select objects in the previous step or add items manually.',
283
- separator: 'Separator',
284
- separatorLabel: '— Separator —',
285
- newGroup: 'New Group',
286
- newLink: 'New Link',
287
- saveDraft: 'Save Draft',
288
- cancelConfirmTitle: 'Discard changes?',
289
- cancelConfirmMessage: 'You have unsaved changes. Are you sure you want to cancel?',
290
- confirmDiscard: 'Discard',
291
- keepEditing: 'Keep Editing',
292
- navNoItems: 'No navigation items. Click buttons above to add items.',
293
- navNoPreviewItems: 'No items',
294
- navLivePreview: 'Live Preview',
295
- navCollapseGroup: 'Collapse group',
296
- navExpandGroup: 'Expand group',
297
- navAddChild: 'Add child',
298
- navMoveUp: 'Move up',
299
- navMoveDown: 'Move down',
300
- navRemove: 'Remove',
301
- navObjectPage: 'Object Page',
302
- navDashboard: 'Dashboard',
303
- navPage: 'Page',
304
- navReport: 'Report',
305
- navGroup: 'Group',
306
- navUrl: 'URL',
307
- navSeparator: 'Separator',
308
- navTypeObject: 'Object',
309
- navTypeDashboard: 'Dashboard',
310
- navTypePage: 'Page',
311
- navTypeReport: 'Report',
312
- navTypeUrl: 'URL',
313
- navTypeGroup: 'Group',
314
- navTypeSeparator: 'Separator',
315
- navTypeAction: 'Action',
316
- navEditIcon: 'Edit icon',
317
- navToggleVisible: 'Toggle visibility',
318
- navHidden: 'Hidden',
319
- navExportSchema: 'Export JSON',
320
- navImportSchema: 'Import JSON',
321
- navExportSuccess: 'Navigation schema exported',
322
- navImportSuccess: 'Navigation schema imported',
323
- navImportError: 'Invalid navigation JSON',
324
- navIconPlaceholder: 'Icon name (e.g. Users)',
325
- dashboardEditor: 'Dashboard Editor',
326
- noWidgets: 'No widgets. Click a button above to add one.',
327
- widgetLayoutSize: 'Layout Size',
328
- widgetWidth: 'Width',
329
- widgetHeight: 'Height',
330
- dashboardPreview: 'Dashboard Preview',
331
- noWidgetsPreview: 'No widgets to preview',
332
- pageCanvasEditor: 'Page Canvas Editor',
333
- emptyPage: 'Empty page. Click a button above to add a component.',
334
- pagePreview: 'Page Preview',
335
- noComponentsPreview: 'No components to preview',
336
- modePage: 'Page',
337
- modeDashboard: 'Dashboard',
338
- undo: 'Undo',
339
- redo: 'Redo',
340
- brandingEditor: 'Branding Editor',
341
- brandingExport: 'Export JSON',
342
- brandingImport: 'Import JSON',
343
- brandingPreview: 'Preview',
344
- brandingSampleButton: 'Sample Button',
345
- brandingSampleText: 'This is how your brand theme will look.',
346
- colorPalette: 'Color Palette',
347
- fontFamily: 'Font Family',
348
- fontDefault: 'Default (System)',
349
- modeLight: 'Light',
350
- modeDark: 'Dark',
351
- mobilePreview: 'Mobile Preview',
352
- },
353
- console: {
354
- title: 'ObjectStack Console',
355
- initializing: 'Initializing application...',
356
- breadcrumb: {
357
- dashboards: 'Dashboards',
358
- pages: 'Pages',
359
- reports: 'Reports',
360
- system: 'System',
361
- },
362
- loadingSteps: {
363
- connecting: 'Connecting to data source',
364
- loadingConfig: 'Loading configuration',
365
- preparingWorkspace: 'Preparing workspace',
366
- },
367
- shortcuts: {
368
- title: 'Keyboard Shortcuts',
369
- description: 'Quick reference for all available keyboard shortcuts.',
370
- groups: {
371
- general: 'General',
372
- navigation: 'Navigation',
373
- dataViews: 'Data Views',
374
- preferences: 'Preferences',
375
- },
376
- openCommandPalette: 'Open command palette',
377
- showShortcuts: 'Show keyboard shortcuts',
378
- closeDialog: 'Close dialog / panel',
379
- toggleSidebar: 'Toggle sidebar',
380
- focusSearch: 'Focus search',
381
- createRecord: 'Create new record',
382
- refreshData: 'Refresh data',
383
- editRecord: 'Edit selected record',
384
- toggleDarkMode: 'Toggle dark mode',
385
- },
386
- commandPalette: {
387
- placeholder: 'Type a command or search...',
388
- noResults: 'No results found.',
389
- objects: 'Objects',
390
- dashboards: 'Dashboards',
391
- pages: 'Pages',
392
- reports: 'Reports',
393
- switchApp: 'Switch App',
394
- current: 'Current',
395
- preferences: 'Preferences',
396
- lightTheme: 'Light Theme',
397
- darkTheme: 'Dark Theme',
398
- systemTheme: 'System Theme',
399
- actions: 'Actions',
400
- openFullSearch: 'Open Full Search Page',
401
- createApp: 'Create New App',
402
- },
403
- errors: {
404
- somethingWentWrong: 'Something went wrong',
405
- unexpectedError: 'An unexpected error occurred while rendering this view.',
406
- tryAgain: 'Try Again',
407
- goHome: 'Go Home',
408
- errorDetails: 'Error Details (dev only)',
409
- },
410
- theme: {
411
- toggle: 'Toggle theme',
412
- light: 'Light',
413
- dark: 'Dark',
414
- system: 'System',
415
- },
416
- objectView: {
417
- objectNotFound: 'Object Not Found',
418
- objectNotFoundDescription: 'The object "{{objectName}}" does not exist in the current configuration.',
419
- objectNotFoundHint: 'Check your app navigation settings or select a different object from the sidebar.',
420
- allRecords: 'All Records',
421
- exitDesignMode: 'Exit Design Mode',
422
- enterDesignMode: 'Enter Design Mode',
423
- metadataInspector: 'Metadata Inspector',
424
- editView: 'Edit View',
425
- addView: 'Add View',
426
- designTools: 'Design tools',
427
- new: 'New',
428
- configureView: 'Configure View',
429
- closePanel: 'Close panel',
430
- page: 'Page',
431
- pageConfigHint: 'Toolbar, navigation & view shell settings',
432
- listConfigHint: 'Data rendering, columns & appearance for this list type',
433
- general: 'General',
434
- generalHint: 'View title, description, and type',
435
- toolbar: 'Toolbar',
436
- toolbarHint: 'Search, filter, sort, group, and density toggles',
437
- toolbarEnabledCount: '{{count}} of {{total}} enabled',
438
- navigationSection: 'Navigation',
439
- navigationHint: 'Row click behavior and detail view settings',
440
- records: 'Records',
441
- recordsHint: 'Selection mode, add record, and inline editing',
442
- exportPrint: 'Export & Print',
443
- exportPrintHint: 'Export formats, printing, and record count display',
444
- showAllFields: 'Show All',
445
- hideAllFields: 'Hide All',
446
- searchFields: 'Search fields...',
447
- title: 'Title',
448
- description: 'Description',
449
- data: 'Data',
450
- source: 'Source',
451
- columns: 'Columns',
452
- filterBy: 'Filter by',
453
- sortBy: 'Sort by',
454
- appearance: 'Appearance',
455
- showDescription: 'Show description',
456
- viewType: 'View type',
457
- userFilters: 'User filters',
458
- enableSearch: 'Enable search',
459
- enableFilter: 'Enable filter',
460
- enableSort: 'Enable sort',
461
- enableHideFields: 'Enable hide fields',
462
- enableGroup: 'Enable group',
463
- enableColor: 'Enable color',
464
- enableDensity: 'Enable density',
465
- userActions: 'User actions',
466
- addRecordViaForm: 'Add records through a form',
467
- advanced: 'Advanced',
468
- allowExport: 'Allow export',
469
- recordCount: '{{count}} records',
470
- noDescription: 'No description',
471
- none: 'None',
472
- columnsConfigured: '{{count}} columns',
473
- save: 'Save',
474
- discard: 'Discard',
475
- createView: 'Create View',
476
- newView: 'New View',
477
- typeOptions: 'Type Options',
478
- groupByField: 'Group by field',
479
- startDateField: 'Start date field',
480
- titleField: 'Title field',
481
- latitudeField: 'Latitude field',
482
- longitudeField: 'Longitude field',
483
- imageField: 'Image field',
484
- dateField: 'Date field',
485
- selectField: 'Select field...',
486
- gridOptionsHint: 'Grid view uses the columns configured above.',
487
- groupBy: 'Group by',
488
- prefixField: 'Prefix field',
489
- fields: 'Fields',
490
- fieldsVisible: '{{count}} visible',
491
- sortsCount: '{{count}} sorts',
492
- filtersCount: '{{count}} filters',
493
- endDateField: 'End date field',
494
- color: 'Color',
495
- fieldTextColor: 'Field text color',
496
- rowHeight: 'Row height',
497
- wrapHeaders: 'Wrap headers',
498
- showFieldDescriptions: 'Show field descriptions',
499
- collapseAllByDefault: 'Collapse all by default',
500
- striped: 'Striped rows',
501
- bordered: 'Bordered cells',
502
- inlineEdit: 'Edit records inline',
503
- addDeleteRecordsInline: 'Add/delete records inline',
504
- clickIntoRecordDetails: 'Click into record details',
505
- navigationMode: 'Navigation mode',
506
- navigationWidth: 'Navigation width',
507
- navigationWidthHint: 'Available for drawer, modal, and split navigation modes',
508
- openNewTab: 'Open in new tab',
509
- openNewTabHint: 'Available for page and new window navigation modes',
510
- selectionMode: 'Selection mode',
511
- selectionNone: 'None',
512
- selectionSingle: 'Single',
513
- selectionMultiple: 'Multiple',
514
- pageSize: 'Page size',
515
- pageSizeOptions: 'Page size options',
516
- exportFormats: 'Export formats',
517
- exportMaxRecords: 'Max records',
518
- exportIncludeHeaders: 'Include headers',
519
- exportFileNamePrefix: 'File name prefix',
520
- searchableFields: 'Searchable fields',
521
- filterableFields: 'Filterable fields',
522
- resizableColumns: 'Resizable columns',
523
- densityCompact: 'Compact',
524
- densityComfortable: 'Comfortable',
525
- densitySpacious: 'Spacious',
526
- densityMode: 'Density mode',
527
- hiddenFields: 'Hidden fields',
528
- rowActions: 'Row actions',
529
- bulkActions: 'Bulk actions',
530
- sharing: 'Sharing',
531
- sharingEnabled: 'Enable sharing',
532
- sharingVisibility: 'Visibility',
533
- addRecordEnabled: 'Enable add record',
534
- addRecordPosition: 'Position',
535
- addRecordMode: 'Mode',
536
- addRecordFormView: 'Form view',
537
- conditionalFormatting: 'Conditional formatting',
538
- addRule: 'Add rule',
539
- quickFilters: 'Quick filters',
540
- addQuickFilter: 'Add quick filter',
541
- ufElements: 'Elements',
542
- ufDropdown: 'Dropdown',
543
- ufTabs: 'Tabs',
544
- ufToggle: 'Toggle',
545
- ufAddField: '+ Add filter field...',
546
- ufNoFields: 'No fields available',
547
- ufAddTab: '+ Add tab',
548
- ufTabLabel: 'Label',
549
- ufShowAllRecords: 'Show "All records" tab',
550
- ufAllowAddTab: 'Allow adding tabs',
551
- showRecordCount: 'Show record count',
552
- allowPrinting: 'Allow printing',
553
- virtualScroll: 'Virtual scroll',
554
- emptyStateTitle: 'Empty state title',
555
- emptyStateMessage: 'Empty state message',
556
- emptyStateIcon: 'Empty state icon',
557
- ariaLabel: 'ARIA label',
558
- ariaDescribedBy: 'ARIA described by',
559
- ariaLive: 'ARIA live',
560
- accessibility: 'Accessibility',
561
- viewTabs: 'View Tabs',
562
- },
563
- localeSwitcher: {
564
- label: 'Language',
565
- },
566
- },
567
- auth: {
568
- login: {
569
- title: 'Sign in to your account',
570
- description: 'Enter your email and password to continue',
571
- emailLabel: 'Email',
572
- emailPlaceholder: 'name@example.com',
573
- passwordLabel: 'Password',
574
- passwordPlaceholder: 'Enter your password',
575
- forgotPasswordText: 'Forgot password?',
576
- submitButton: 'Sign In',
577
- submittingButton: 'Signing in...',
578
- noAccountText: "Don't have an account?",
579
- signUpText: 'Sign up',
580
- },
581
- register: {
582
- title: 'Create an account',
583
- description: 'Enter your information to get started',
584
- nameLabel: 'Name',
585
- namePlaceholder: 'John Doe',
586
- emailLabel: 'Email',
587
- emailPlaceholder: 'name@example.com',
588
- passwordLabel: 'Password',
589
- passwordPlaceholder: 'Create a password (min. 8 characters)',
590
- confirmPasswordLabel: 'Confirm Password',
591
- confirmPasswordPlaceholder: 'Confirm your password',
592
- passwordMismatchError: 'Passwords do not match',
593
- passwordTooShortError: 'Password must be at least 8 characters',
594
- submitButton: 'Create Account',
595
- submittingButton: 'Creating account...',
596
- hasAccountText: 'Already have an account?',
597
- signInText: 'Sign in',
598
- },
599
- forgotPassword: {
600
- title: 'Reset your password',
601
- description: "Enter your email address and we'll send you a link to reset your password",
602
- emailLabel: 'Email',
603
- emailPlaceholder: 'name@example.com',
604
- submitButton: 'Send Reset Link',
605
- submittingButton: 'Sending...',
606
- successTitle: 'Check your email',
607
- successDescription: "We've sent a password reset link to {{email}}. Please check your inbox.",
608
- backToSignInText: 'Back to sign in',
609
- rememberPasswordText: 'Remember your password?',
610
- signInText: 'Sign in',
611
- },
612
- },
613
- errors: {
614
- networkError: 'Network error. Please check your connection.',
615
- serverError: 'Server error. Please try again later.',
616
- notFound: 'Resource not found.',
617
- unauthorized: 'You are not authorized to perform this action.',
618
- forbidden: 'Access denied.',
619
- timeout: 'Request timed out. Please try again.',
620
- unknown: 'An unexpected error occurred.',
621
- },
622
- } as const;
623
-
624
- export default en;
625
- export type TranslationKeys = typeof en;