@djangocfg/i18n 2.1.111

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.
@@ -0,0 +1,491 @@
1
+ import type { I18nTranslations } from '../types'
2
+
3
+ /**
4
+ * English translations (default)
5
+ */
6
+ export const en: I18nTranslations = {
7
+ ui: {
8
+ select: {
9
+ placeholder: 'Select option...',
10
+ search: 'Search...',
11
+ noResults: 'No results found.',
12
+ selectAll: 'Select all',
13
+ clearAll: 'Clear all',
14
+ moreItems: '+{count} more',
15
+ loading: 'Loading...',
16
+ },
17
+
18
+ pagination: {
19
+ previous: 'Previous',
20
+ next: 'Next',
21
+ first: 'First',
22
+ last: 'Last',
23
+ page: 'Page {page}',
24
+ of: 'of {total}',
25
+ showing: '{from}-{to} of {total}',
26
+ },
27
+
28
+ dialog: {
29
+ close: 'Close',
30
+ confirm: 'Confirm',
31
+ cancel: 'Cancel',
32
+ },
33
+
34
+ form: {
35
+ submit: 'Submit',
36
+ cancel: 'Cancel',
37
+ save: 'Save',
38
+ delete: 'Delete',
39
+ edit: 'Edit',
40
+ create: 'Create',
41
+ update: 'Update',
42
+ reset: 'Reset',
43
+ clear: 'Clear',
44
+ loading: 'Loading...',
45
+ saving: 'Saving...',
46
+ deleting: 'Deleting...',
47
+ required: 'This field is required',
48
+ optional: 'Optional',
49
+ minLength: '{min} characters minimum',
50
+ maxLength: '{max} characters maximum',
51
+ invalidEmail: 'Please enter a valid email address',
52
+ invalidUrl: 'Please enter a valid URL',
53
+ invalidPhone: 'Please enter a valid phone number',
54
+ passwordMismatch: 'Passwords do not match',
55
+ },
56
+
57
+ datetime: {
58
+ today: 'Today',
59
+ yesterday: 'Yesterday',
60
+ tomorrow: 'Tomorrow',
61
+ now: 'Just now',
62
+ secondsAgo: '{count} seconds ago',
63
+ minutesAgo: '{count} minutes ago',
64
+ hoursAgo: '{count} hours ago',
65
+ daysAgo: '{count} days ago',
66
+ pickDate: 'Pick a date',
67
+ pickTime: 'Pick a time',
68
+ pickDateTime: 'Pick date and time',
69
+ pickDateRange: 'Pick a date range',
70
+ },
71
+
72
+ file: {
73
+ upload: 'Upload',
74
+ uploading: 'Uploading...',
75
+ dragDrop: 'Drag and drop files here',
76
+ browse: 'Browse files',
77
+ remove: 'Remove',
78
+ maxSize: 'Max size: {size}',
79
+ invalidType: 'Invalid file type',
80
+ tooLarge: 'File is too large',
81
+ },
82
+
83
+ table: {
84
+ noData: 'No data available',
85
+ loading: 'Loading data...',
86
+ showing: 'Showing {from}-{to} of {total}',
87
+ rowsPerPage: 'Rows per page',
88
+ sortAsc: 'Sort ascending',
89
+ sortDesc: 'Sort descending',
90
+ filter: 'Filter',
91
+ clearFilters: 'Clear filters',
92
+ selectAll: 'Select all',
93
+ deselectAll: 'Deselect all',
94
+ selected: '{count} selected',
95
+ },
96
+
97
+ actions: {
98
+ view: 'View',
99
+ copy: 'Copy',
100
+ copied: 'Copied!',
101
+ copyToClipboard: 'Copy to clipboard',
102
+ download: 'Download',
103
+ share: 'Share',
104
+ refresh: 'Refresh',
105
+ retry: 'Retry',
106
+ expand: 'Expand',
107
+ collapse: 'Collapse',
108
+ showMore: 'Show more',
109
+ showLess: 'Show less',
110
+ seeAll: 'See all',
111
+ goBack: 'Go back',
112
+ remove: 'Remove',
113
+ previousSlide: 'Previous slide',
114
+ nextSlide: 'Next slide',
115
+ },
116
+
117
+ phone: {
118
+ searchCountries: 'Search countries...',
119
+ noCountries: 'No countries found',
120
+ },
121
+
122
+ navigation: {
123
+ title: 'Navigation',
124
+ },
125
+
126
+ states: {
127
+ loading: 'Loading',
128
+ empty: 'Empty',
129
+ error: 'Error',
130
+ success: 'Success',
131
+ warning: 'Warning',
132
+ info: 'Info',
133
+ pending: 'Pending',
134
+ active: 'Active',
135
+ inactive: 'Inactive',
136
+ enabled: 'Enabled',
137
+ disabled: 'Disabled',
138
+ },
139
+
140
+ errors: {
141
+ generic: 'Something went wrong',
142
+ network: 'Network error. Please check your connection.',
143
+ timeout: 'Request timed out. Please try again.',
144
+ notFound: 'Not found',
145
+ unauthorized: 'Please sign in to continue',
146
+ forbidden: 'You do not have permission to access this',
147
+ serverError: 'Server error. Please try again later.',
148
+ validation: 'Please check the form for errors',
149
+ unknown: 'An unknown error occurred',
150
+ },
151
+ },
152
+
153
+ layouts: {
154
+ sidebar: {
155
+ toggle: 'Toggle sidebar',
156
+ collapse: 'Collapse sidebar',
157
+ expand: 'Expand sidebar',
158
+ },
159
+
160
+ navigation: {
161
+ menu: 'Menu',
162
+ home: 'Home',
163
+ back: 'Back',
164
+ forward: 'Forward',
165
+ toggleMobile: 'Toggle mobile menu',
166
+ breadcrumb: 'Breadcrumb',
167
+ },
168
+
169
+ profile: {
170
+ settings: 'Settings',
171
+ account: 'Account',
172
+ logout: 'Log out',
173
+ login: 'Log in',
174
+ signUp: 'Sign up',
175
+ signOut: 'Sign Out',
176
+ userMenu: 'User menu',
177
+ },
178
+
179
+ theme: {
180
+ toggle: 'Toggle theme',
181
+ light: 'Light',
182
+ dark: 'Dark',
183
+ system: 'System',
184
+ },
185
+
186
+ search: {
187
+ placeholder: 'Search...',
188
+ noResults: 'No results found',
189
+ recentSearches: 'Recent searches',
190
+ clearHistory: 'Clear history',
191
+ },
192
+
193
+ mobile: {
194
+ closeMenu: 'Close menu',
195
+ },
196
+
197
+ errors: {
198
+ somethingWentWrong: 'Something went wrong',
199
+ tryRefreshing: "We're sorry, but something unexpected happened. Please try refreshing the page.",
200
+ refreshPage: 'Refresh Page',
201
+ goBack: 'Go Back',
202
+ goHome: 'Go Home',
203
+ needHelp: 'Need help?',
204
+ contactSupport: 'Contact support',
205
+ persistsContact: 'If the problem persists, please contact {email}',
206
+ error: 'Error',
207
+ badRequest: 'Bad Request',
208
+ authRequired: 'Authentication Required',
209
+ accessDenied: 'Access Denied',
210
+ pageNotFound: 'Page Not Found',
211
+ requestTimeout: 'Request Timeout',
212
+ serverError: 'Server Error',
213
+ badGateway: 'Bad Gateway',
214
+ serviceUnavailable: 'Service Unavailable',
215
+ gatewayTimeout: 'Gateway Timeout',
216
+ badRequestDesc: 'The request could not be understood. Please check your input and try again.',
217
+ authRequiredDesc: 'You need to sign in to access this page.',
218
+ accessDeniedDesc: "You don't have permission to access this resource.",
219
+ pageNotFoundDesc: "The page you're looking for doesn't exist or has been moved.",
220
+ requestTimeoutDesc: 'The request took too long to process. Please try again.',
221
+ serverErrorDesc: "Something went wrong on our end. We're working to fix it.",
222
+ badGatewayDesc: 'The server received an invalid response. Please try again later.',
223
+ serviceUnavailableDesc: 'The service is temporarily unavailable. Please try again later.',
224
+ gatewayTimeoutDesc: 'The server took too long to respond. Please try again.',
225
+ unknownErrorDesc: 'An unexpected error occurred. Please try again or contact support.',
226
+ },
227
+
228
+ push: {
229
+ enableNotifications: 'Enable notifications',
230
+ stayUpdated: 'Stay updated with important updates and alerts',
231
+ enable: 'Enable',
232
+ notNow: 'Not now',
233
+ dismiss: 'Dismiss',
234
+ },
235
+
236
+ auth: {
237
+ authRequired: 'Authentication Required',
238
+ pleaseSignIn: 'Please sign in to continue',
239
+ goToSignIn: 'Go to Sign In',
240
+ },
241
+
242
+ chat: {
243
+ aiAssistant: 'AI Assistant',
244
+ defaultTitle: 'AI Chat',
245
+ newChat: 'New chat',
246
+ closeChat: 'Close chat',
247
+ switchToFloating: 'Switch to floating mode',
248
+ switchToSidebar: 'Switch to sidebar mode',
249
+ dragToResize: 'Drag to resize',
250
+ howCanIHelp: 'How can I help?',
251
+ },
252
+
253
+ pwa: {
254
+ addToHomeScreen: 'Add to Home Screen',
255
+ installApp: 'Install App',
256
+ tapToLearnHow: 'Tap to learn how',
257
+ clickToSeeGuide: 'Click to see desktop guide',
258
+ tapToInstall: 'Tap to install',
259
+ installing: 'Installing...',
260
+ dismiss: 'Dismiss',
261
+ appLogo: 'App logo',
262
+ iosTitle: 'Add to Home Screen',
263
+ iosDescription: 'Install this app on your iPhone for quick access and a better experience',
264
+ iosStep1Title: 'Tap Share',
265
+ iosStep1Desc: 'At the bottom of Safari',
266
+ iosStep2Title: 'Scroll & Tap',
267
+ iosStep2Desc: '"Add to Home Screen"',
268
+ iosStep3Title: 'Confirm',
269
+ iosStep3Desc: 'Tap "Add" in top-right',
270
+ gotIt: 'Got It',
271
+ desktopTitle: 'Install App on Desktop',
272
+ desktopDescription: 'Install this app on {browser} for quick access from your desktop',
273
+ desktopDescSafari: 'Safari on macOS has limited PWA support. For the best experience, use Chrome, Edge, or Brave.',
274
+ desktopTip: 'You can also right-click the page and look for "Install" option in {browser}',
275
+ desktopFirefoxNote: 'Firefox has limited PWA support. Some features may not work as expected.',
276
+ chromiumStep1Title: 'Find Install Icon',
277
+ chromiumStep1Desc: 'Look for install icon in address bar (right side)',
278
+ chromiumStep2Title: 'Click Install',
279
+ chromiumStep2Desc: 'Click the icon and select "Install"',
280
+ chromiumStep3Title: 'Confirm',
281
+ chromiumStep3Desc: 'Click "Install" in the popup dialog',
282
+ firefoxStep1Title: 'Open Menu',
283
+ firefoxStep1Desc: 'Click the menu button (three lines)',
284
+ firefoxStep2Title: 'Find Install Option',
285
+ firefoxStep2Desc: 'Look for "Install" or "Add to Home Screen"',
286
+ firefoxStep3Title: 'Confirm',
287
+ firefoxStep3Desc: 'Follow the installation prompts',
288
+ safariStep1Title: 'Limited Support',
289
+ safariStep1Desc: 'Safari on macOS has limited PWA support',
290
+ safariStep2Title: 'Use Chromium Browser',
291
+ safariStep2Desc: 'Consider using Chrome, Edge, or Brave for full PWA experience',
292
+ unknownStep1Title: 'Check Address Bar',
293
+ unknownStep1Desc: 'Look for an install or download icon',
294
+ unknownStep2Title: 'Or Use Menu',
295
+ unknownStep2Desc: 'Check browser menu for install option',
296
+ unknownStep3Title: 'Confirm',
297
+ unknownStep3Desc: 'Follow the installation prompts',
298
+ close: 'Close',
299
+ },
300
+
301
+ profilePage: {
302
+ title: 'Profile',
303
+ account: 'Account',
304
+ personalInfo: 'Personal Information',
305
+ work: 'Work',
306
+ security: 'Security',
307
+ actions: 'Actions',
308
+ email: 'Email',
309
+ firstName: 'First Name',
310
+ lastName: 'Last Name',
311
+ company: 'Company',
312
+ position: 'Position',
313
+ phone: 'Phone',
314
+ notSet: 'Not set',
315
+ on: 'On',
316
+ off: 'Off',
317
+ save: 'Save',
318
+ saving: 'Saving...',
319
+ cancel: 'Cancel',
320
+ signOut: 'Sign Out',
321
+ deleteAccount: 'Delete Account',
322
+ deleting: 'Deleting...',
323
+ twoFactorAuth: 'Two-Factor Authentication',
324
+ avatar: 'Avatar',
325
+ changeAvatar: 'Change avatar',
326
+ memberSince: 'Member since {date}',
327
+ enterField: 'Enter {field}',
328
+ profileUpdated: 'Profile updated',
329
+ avatarUpdated: 'Avatar updated',
330
+ failedToUpdate: 'Failed to update',
331
+ failedToUploadAvatar: 'Failed to upload avatar',
332
+ selectImageFile: 'Please select an image file',
333
+ fileTooLarge: 'File size must be less than 5MB',
334
+ notAuthenticated: 'Not Authenticated',
335
+ pleaseLogIn: 'Please log in to view your profile.',
336
+ deleteAccountTitle: 'Delete Account',
337
+ deleteAccountDesc: 'This action cannot be undone. Your account will be permanently deleted.',
338
+ typeToConfirm: 'Type {word} to confirm:',
339
+ confirmationWord: 'DELETE',
340
+ },
341
+ },
342
+
343
+ api: {
344
+ errors: {
345
+ networkError: 'Network error',
346
+ connectionFailed: 'Connection failed',
347
+ requestTimeout: 'Request timed out',
348
+ serverUnavailable: 'Server is unavailable',
349
+ invalidResponse: 'Invalid response from server',
350
+ rateLimited: 'Too many requests. Please wait.',
351
+ },
352
+ status: {
353
+ connecting: 'Connecting...',
354
+ connected: 'Connected',
355
+ disconnected: 'Disconnected',
356
+ reconnecting: 'Reconnecting...',
357
+ },
358
+ logout: {
359
+ title: 'Logout',
360
+ message: 'Are you sure you want to logout?',
361
+ confirm: 'Logout',
362
+ cancel: 'Cancel',
363
+ },
364
+ },
365
+
366
+ centrifugo: {
367
+ monitor: {
368
+ title: 'Centrifugo Monitor',
369
+ description: 'Real-time WebSocket monitoring and debugging',
370
+ openMonitor: 'Open Centrifugo Monitor',
371
+ openDebugPanel: 'Open Centrifugo Debug Panel',
372
+ widgetTitle: 'WebSocket Monitor',
373
+ },
374
+ tabs: {
375
+ connection: 'Connection',
376
+ messages: 'Messages',
377
+ subscriptions: 'Subscriptions',
378
+ },
379
+ subscriptionsList: {
380
+ title: 'Active Subscriptions',
381
+ notConnected: 'Not connected to Centrifugo',
382
+ noActiveSubscriptions: 'No active subscriptions',
383
+ },
384
+ status: {
385
+ connected: 'Connected',
386
+ disconnected: 'Disconnected',
387
+ connecting: 'Connecting...',
388
+ connect: 'Connect',
389
+ uptime: 'Uptime:',
390
+ subscriptions: 'Subscriptions:',
391
+ realtimeUnavailable: 'Real-time features unavailable',
392
+ },
393
+ feed: {
394
+ title: 'Messages Feed',
395
+ noMessages: 'No messages yet',
396
+ pausedClickToResume: 'Paused - Click play to resume',
397
+ autoScrollOn: 'Auto-scroll: ON',
398
+ autoScrollOff: 'Auto-scroll: OFF',
399
+ viewData: 'View data',
400
+ },
401
+ filters: {
402
+ title: 'Filters',
403
+ active: 'Active',
404
+ clear: 'Clear',
405
+ searchMessages: 'Search messages...',
406
+ level: 'Level:',
407
+ type: 'Type:',
408
+ source: 'Source',
409
+ autoScrollToLatest: 'Auto-scroll to latest',
410
+ },
411
+ debug: {
412
+ title: 'Centrifugo Debug',
413
+ description: 'WebSocket connection status, logs, and subscriptions',
414
+ openDebugPanel: 'Open Centrifugo Debug Panel',
415
+ tabConnection: 'Connection',
416
+ tabLogs: 'Logs',
417
+ tabSubscriptions: 'Subscriptions',
418
+ },
419
+ },
420
+
421
+ tools: {
422
+ code: {
423
+ copyCode: 'Copy code',
424
+ noContent: 'No content available',
425
+ },
426
+
427
+ diagram: {
428
+ title: 'Diagram',
429
+ clickToView: 'Click to view fullscreen',
430
+ },
431
+
432
+ image: {
433
+ noImage: 'No image content',
434
+ failedToLoad: 'Failed to load image',
435
+ zoomIn: 'Zoom in',
436
+ zoomOut: 'Zoom out',
437
+ fitToView: 'Fit to view',
438
+ flipHorizontal: 'Flip horizontal',
439
+ flipVertical: 'Flip vertical',
440
+ rotate: 'Rotate 90°',
441
+ fullscreen: 'Open in fullscreen',
442
+ },
443
+
444
+ gallery: {
445
+ noImages: 'No images available',
446
+ lightbox: 'Image lightbox',
447
+ previous: 'Previous image',
448
+ next: 'Next image',
449
+ close: 'Close lightbox',
450
+ download: 'Download image',
451
+ share: 'Share image',
452
+ },
453
+
454
+ video: {
455
+ play: 'Play video',
456
+ fullscreen: 'Fullscreen',
457
+ unavailable: 'Video unavailable',
458
+ },
459
+
460
+ audio: {
461
+ restart: 'Restart',
462
+ back: 'Back 5 seconds',
463
+ forward: 'Forward 5 seconds',
464
+ volume: 'Volume',
465
+ },
466
+
467
+ color: {
468
+ pick: 'Pick color',
469
+ },
470
+
471
+ openapi: {
472
+ response: 'Response',
473
+ noResponse: 'No response body available',
474
+ required: 'Required',
475
+ optional: 'Optional',
476
+ searchEndpoints: 'Search endpoints...',
477
+ all: 'All',
478
+ methods: 'Methods',
479
+ path: 'Path',
480
+ description: 'Description',
481
+ navigation: 'Navigation',
482
+ previous: 'Previous',
483
+ next: 'Next',
484
+ bearerToken: 'Enter Bearer token (optional, uses JWT if empty)',
485
+ },
486
+
487
+ form: {
488
+ title: 'Form',
489
+ },
490
+ },
491
+ }
@@ -0,0 +1,3 @@
1
+ export { en } from './en'
2
+ export { ru } from './ru'
3
+ export { ko } from './ko'