data.json 7.1 KB

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