feat: 添加终端回滚行数设置

This commit is contained in:
Baobhan Sith
2025-05-05 17:06:10 +08:00
parent d3cae06c63
commit 4c983945db
8 changed files with 136 additions and 5 deletions
+13
View File
@@ -640,6 +640,19 @@
"showQuickCommandTagsLabel": "Show tags in quick command list",
"showQuickCommandTagsDescription": "Disable to hide tags in the quick command list and exclude them from search."
},
"terminalScrollback": {
"title": "Terminal Scrollback Limit",
"limitLabel": "Maximum Lines",
"limitHint": "Set the maximum number of output lines the terminal keeps. 0 means unlimited (uses default 5000). This setting takes effect the next time a terminal is opened.",
"saveButton": "Save",
"success": {
"saved": "Terminal scrollback limit setting saved successfully."
},
"error": {
"saveFailed": "Failed to save terminal scrollback limit setting.",
"invalidInput": "Please enter a valid non-negative integer."
}
},
"ipBlacklist": {
"title": "IP Blacklist Management",
"description": "Configure login attempt limits and automatic ban duration. Local addresses (127.0.0.1, ::1) will not be banned.",
+13
View File
@@ -874,6 +874,19 @@
"showQuickCommandTagsLabel": "クイックコマンドリストにタグを表示",
"showQuickCommandTagsDescription": "無効にすると、クイックコマンドリストのタグが非表示になり、検索から除外されます。"
},
"terminalScrollback": {
"title": "ターミナルスクロールバック制限",
"limitLabel": "最大行数",
"limitHint": "ターミナルが保持する最大出力行数を設定します。0 は無制限を意味します (デフォルト値 5000 を使用)。この設定は、次にターミナルを開いたときに有効になります。",
"saveButton": "保存",
"success": {
"saved": "ターミナルスクロールバック制限の設定が正常に保存されました。"
},
"error": {
"saveFailed": "ターミナルスクロールバック制限の設定の保存に失敗しました。",
"invalidInput": "有効な非負整数を入力してください。"
}
},
"about": {
"version": "バージョン",
"checkingUpdate": "更新を確認中...",
+13
View File
@@ -640,6 +640,19 @@
"showQuickCommandTagsLabel": "在快捷指令列表中显示标签",
"showQuickCommandTagsDescription": "关闭后将隐藏快捷指令列表中的标签,并从搜索中排除标签。"
},
"terminalScrollback": {
"title": "终端回滚行数",
"limitLabel": "最大行数",
"limitHint": "设置终端保留的最大输出行数。0 表示无限制 (使用默认值 5000)。此设置将在下次打开终端时生效。",
"saveButton": "保存",
"success": {
"saved": "终端回滚行数设置已保存。"
},
"error": {
"saveFailed": "保存终端回滚行数设置失败。",
"invalidInput": "请输入一个有效的非负整数。"
}
},
"ipBlacklist": {
"title": "IP 黑名单管理",
"description": "配置登录失败次数限制和自动封禁时长。本地地址 (127.0.0.1, ::1) 不会被封禁。",