data.json 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. "softDeletePurged": "{count} soft-deleted records also purged",
  33. "successMessage": "Successfully cleaned {count} log records ({batches} batches, took {duration}s)",
  34. "vacuumComplete": "Database space reclaimed",
  35. "willClean": "Will clean all log records from {range}"
  36. },
  37. "description": "Manage database backup and recovery with full data import/export and log cleanup.",
  38. "export": {
  39. "button": "Export Database",
  40. "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.",
  41. "error": "Failed to export database",
  42. "exporting": "Exporting...",
  43. "failed": "Export failed",
  44. "mode": {
  45. "excludeLogs": "Exclude Logs",
  46. "full": "Full Backup",
  47. "ledgerOnly": "Ledger Only"
  48. },
  49. "modeDescription": {
  50. "excludeLogs": "Export without log data (keeps structure)",
  51. "full": "Export all data including request logs",
  52. "ledgerOnly": "Export only billing ledger (minimal size)"
  53. },
  54. "successMessage": "Database exported successfully!"
  55. },
  56. "guide": {
  57. "items": {
  58. "cleanup": {
  59. "description": "Physically delete historical log data (irreversible). Statistics table will be retained. Recommend exporting database backup before cleanup.",
  60. "title": "Log Cleanup"
  61. },
  62. "environment": {
  63. "description": "This feature requires Docker Compose deployment. Local development may not support it.",
  64. "title": "Environment Requirements"
  65. },
  66. "format": {
  67. "description": "Uses PostgreSQL custom format (.dump), auto-compressed and compatible with different database versions.",
  68. "title": "Backup Format"
  69. },
  70. "merge": {
  71. "description": "Retains existing data and attempts to insert backup data. Primary key conflicts may cause import failure.",
  72. "title": "Merge Mode"
  73. },
  74. "overwrite": {
  75. "description": "Deletes all existing data before importing, ensuring database matches backup exactly. Best for complete recovery.",
  76. "title": "Overwrite Mode"
  77. },
  78. "safety": {
  79. "description": "Before importing, recommend exporting current database as backup to avoid data loss.",
  80. "title": "Security Recommendation"
  81. }
  82. },
  83. "title": "Usage Instructions and Precautions"
  84. },
  85. "import": {
  86. "backupFile": "Backup file:",
  87. "backupRecommendation": "Recommend exporting current database as backup before proceeding.",
  88. "button": "Import Database",
  89. "cancel": "Cancel",
  90. "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.",
  91. "cleanFirstLabel": "Clear existing data (overwrite mode)",
  92. "confirm": "Confirm Import",
  93. "confirmMerge": "You selected 'Merge Mode', which will attempt to import backup while keeping existing data.",
  94. "confirmOverwrite": "You selected 'Overwrite Mode', which will delete all existing data before importing backup.",
  95. "confirmTitle": "Confirm Database Import",
  96. "descriptionFull": "Restore database from backup file. Supports PostgreSQL custom format (.dump) backup files.",
  97. "error": "Failed to import database",
  98. "errorUnknown": "Unknown error",
  99. "failedMessage": "Data import failed",
  100. "fileError": "Please select .dump format backup file",
  101. "fileSelected": "Selected: {name} ({size} MB)",
  102. "importing": "Importing...",
  103. "noFileSelected": "Please select backup file first",
  104. "parseError": "Failed to parse response data",
  105. "progressTitle": "Import Progress",
  106. "selectFileLabel": "Select Backup File",
  107. "streamError": "Cannot read response stream",
  108. "streamInterrupted": "Data stream unexpectedly interrupted",
  109. "streamInterruptedDesc": "Import progress did not complete normally. Please check the logs and verify data integrity. Re-import if needed.",
  110. "successCleanModeDesc": "All data has been successfully restored. Refresh your browser if the page displays incorrectly.",
  111. "successMergeModeDesc": "Data has been successfully imported and merged. Refresh your browser if the page displays incorrectly.",
  112. "successMessage": "Data import completed!",
  113. "successWithWarnings": "Data import completed (with warnings)",
  114. "successWithWarningsDesc": "Data has been successfully imported, but some existing objects were skipped. Refresh your browser or restart the application if the page displays incorrectly.",
  115. "warningMerge": "Note: Import may fail if primary key conflicts exist.",
  116. "warningOverwrite": "Warning: This action is irreversible, all current data will be permanently deleted!"
  117. },
  118. "section": {
  119. "cleanup": {
  120. "description": "Clean up historical log data to free up database storage. Note: Statistics data will be retained, but log details will be permanently deleted.",
  121. "title": "Log Cleanup"
  122. },
  123. "export": {
  124. "description": "Export complete database backup file (.dump format) for data migration or recovery.",
  125. "title": "Data Export"
  126. },
  127. "import": {
  128. "description": "Restore database from backup file. Supports PostgreSQL custom format (.dump) backup files.",
  129. "title": "Data Import"
  130. },
  131. "status": {
  132. "description": "View current database connection status and basic information.",
  133. "title": "Database Status"
  134. }
  135. },
  136. "status": {
  137. "connected": "Database connected",
  138. "connectionUnavailable": "Database connection unavailable, please check database service status",
  139. "error": "Failed to get database status",
  140. "loading": "Loading...",
  141. "retry": "Retry",
  142. "tables": "{count} tables",
  143. "unavailable": "Database unavailable",
  144. "size": "Database Size",
  145. "tableCount": "Table Count"
  146. },
  147. "title": "Data Management"
  148. }