feat(database): Add database compression function (#1027)
* feat(database): Add database compression function Add database compression functionality to the connection statistics page to reduce the size of the database file Add multi-language support and related UI interactions * fix(database): Update the description of database compression operations and fix the statistics cleanup logic Update the description of database compression operations in the multilingual files to explicitly state that data will not be lost Fix the connection statistics cleanup logic to ensure correct matching of server IDs Add error handling for the compression operation to prevent the UI from freezing * Update lib/l10n/app_en.arb Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -46,6 +46,9 @@
|
||||
"clearServerStatsContent": "确定要清空服务器 \"{serverName}\" 的连接统计数据吗?此操作无法撤销。",
|
||||
"clearServerStatsTitle": "清空 {serverName} 统计",
|
||||
"clearThisServerStats": "清空此服务器统计",
|
||||
"compactDatabase": "压缩数据库",
|
||||
"compactDatabaseContent": "数据库大小:{size}\n\n此操作将重新组织数据库以减少体积,数据不会丢失。",
|
||||
"confirm": "确认",
|
||||
"closeAfterSave": "保存后关闭",
|
||||
"cmd": "命令",
|
||||
"collapseUITip": "是否默认折叠 UI 中的长列表",
|
||||
|
||||
Reference in New Issue
Block a user