data.json 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. {
  2. "cleanup": {
  3. "backupRecommendation": "Recommendation: Export database backup before cleanup in case recovery is needed.",
  4. "button": "Clean Logs",
  5. "cancel": "Cancel",
  6. "cleaning": "Cleaning...",
  7. "confirm": "Confirm Cleanup",
  8. "confirmTitle": "Confirm Log Cleanup",
  9. "confirmWarning": "This operation will permanently delete all log records from {range} and cannot be recovered.",
  10. "descriptionWarning": "Clean up historical log data to free up database storage. Note: Statistics data will be retained, but log details will be permanently deleted.",
  11. "error": "Failed to clean logs",
  12. "failed": "Cleanup failed",
  13. "logsDeleted": "✗ Log details will be deleted (request/response content, error info, etc.)",
  14. "previewCount": "Will delete {count} log records",
  15. "previewError": "Unable to get preview",
  16. "previewLoading": "Counting...",
  17. "range": {
  18. "180days": "Logs older than 6 months (180 days)",
  19. "30days": "Logs older than 1 month (30 days)",
  20. "7days": "Logs older than 1 week (7 days)",
  21. "90days": "Logs older than 3 months (90 days)"
  22. },
  23. "rangeDescription": {
  24. "180days": "6 months ago",
  25. "30days": "1 month ago",
  26. "7days": "1 week ago",
  27. "90days": "3 months ago",
  28. "default": "{days} days ago"
  29. },
  30. "rangeLabel": "Cleanup Range",
  31. "statisticsRetained": "✓ Statistics data will be retained (for trend analysis)",
  32. "successMessage": "Successfully cleaned {count} log records ({batches} batches, took {duration}s)",
  33. "willClean": "Will clean all log records from {range}"
  34. },
  35. "description": "Manage database backup and recovery with full data import/export and log cleanup.",
  36. "export": {
  37. "button": "Export Database",
  38. "descriptionFull": "Export complete database backup file (.dump format) for data migration or recovery. Backup uses PostgreSQL custom format, auto-compressed and compatible with different database versions.",
  39. "error": "Failed to export database",
  40. "exporting": "Exporting...",
  41. "failed": "Export failed",
  42. "successMessage": "Database exported successfully!"
  43. },
  44. "guide": {
  45. "items": {
  46. "cleanup": {
  47. "description": "Physically delete historical log data (irreversible). Statistics table will be retained. Recommend exporting database backup before cleanup.",
  48. "title": "Log Cleanup"
  49. },
  50. "environment": {
  51. "description": "This feature requires Docker Compose deployment. Local development may not support it.",
  52. "title": "Environment Requirements"
  53. },
  54. "format": {
  55. "description": "Uses PostgreSQL custom format (.dump), auto-compressed and compatible with different database versions.",
  56. "title": "Backup Format"
  57. },
  58. "merge": {
  59. "description": "Retains existing data and attempts to insert backup data. Primary key conflicts may cause import failure.",
  60. "title": "Merge Mode"
  61. },
  62. "overwrite": {
  63. "description": "Deletes all existing data before importing, ensuring database matches backup exactly. Best for complete recovery.",
  64. "title": "Overwrite Mode"
  65. },
  66. "safety": {
  67. "description": "Before importing, recommend exporting current database as backup to avoid data loss.",
  68. "title": "Security Recommendation"
  69. }
  70. },
  71. "title": "Usage Instructions and Precautions"
  72. },
  73. "import": {
  74. "backupFile": "Backup file:",
  75. "backupRecommendation": "Recommend exporting current database as backup before proceeding.",
  76. "button": "Import Database",
  77. "cancel": "Cancel",
  78. "cleanFirstDescription": "Delete all existing data before importing to ensure database matches backup exactly. If unchecked, will attempt to merge data but may fail due to primary key conflicts.",
  79. "cleanFirstLabel": "Clear existing data (overwrite mode)",
  80. "confirm": "Confirm Import",
  81. "confirmMerge": "You selected 'Merge Mode', which will attempt to import backup while keeping existing data.",
  82. "confirmOverwrite": "You selected 'Overwrite Mode', which will delete all existing data before importing backup.",
  83. "confirmTitle": "Confirm Database Import",
  84. "descriptionFull": "Restore database from backup file. Supports PostgreSQL custom format (.dump) backup files.",
  85. "error": "Failed to import database",
  86. "errorUnknown": "Unknown error",
  87. "failedMessage": "Data import failed",
  88. "fileError": "Please select .dump format backup file",
  89. "fileSelected": "Selected: {name} ({size} MB)",
  90. "importing": "Importing...",
  91. "noFileSelected": "Please select backup file first",
  92. "parseError": "Failed to parse response data",
  93. "progressTitle": "Import Progress",
  94. "selectFileLabel": "Select Backup File",
  95. "streamError": "Cannot read response stream",
  96. "streamInterrupted": "Data stream unexpectedly interrupted",
  97. "streamInterruptedDesc": "Import progress did not complete normally. Please check the logs and verify data integrity. Re-import if needed.",
  98. "successCleanModeDesc": "All data has been successfully restored. Refresh your browser if the page displays incorrectly.",
  99. "successMergeModeDesc": "Data has been successfully imported and merged. Refresh your browser if the page displays incorrectly.",
  100. "successMessage": "Data import completed!",
  101. "successWithWarnings": "Data import completed (with warnings)",
  102. "successWithWarningsDesc": "Data has been successfully imported, but some existing objects were skipped. Refresh your browser or restart the application if the page displays incorrectly.",
  103. "warningMerge": "Note: Import may fail if primary key conflicts exist.",
  104. "warningOverwrite": "Warning: This action is irreversible, all current data will be permanently deleted!"
  105. },
  106. "section": {
  107. "cleanup": {
  108. "description": "Clean up historical log data to free up database storage. Note: Statistics data will be retained, but log details will be permanently deleted.",
  109. "title": "Log Cleanup"
  110. },
  111. "export": {
  112. "description": "Export complete database backup file (.dump format) for data migration or recovery.",
  113. "title": "Data Export"
  114. },
  115. "import": {
  116. "description": "Restore database from backup file. Supports PostgreSQL custom format (.dump) backup files.",
  117. "title": "Data Import"
  118. },
  119. "status": {
  120. "description": "View current database connection status and basic information.",
  121. "title": "Database Status"
  122. }
  123. },
  124. "status": {
  125. "connected": "Database connected",
  126. "connectionUnavailable": "Database connection unavailable, please check database service status",
  127. "error": "Failed to get database status",
  128. "loading": "Loading...",
  129. "retry": "Retry",
  130. "tables": "{count} tables",
  131. "unavailable": "Database unavailable"
  132. },
  133. "title": "Data Management"
  134. }