This commit is contained in:
Baobhan Sith
2025-05-12 22:29:54 +08:00
parent 978aa942fb
commit 688b9df707
4 changed files with 21 additions and 6 deletions
@@ -186,14 +186,14 @@
<hr class="border-border/50">
<!-- Terminal Right Click Paste -->
<div class="settings-section-content">
<h3 class="text-base font-semibold text-foreground mb-3">{{ $t('settings.workspace.terminalRightClickPasteTitle', '终端右键粘贴') }}</h3>
<h3 class="text-base font-semibold text-foreground mb-3">{{ $t('settings.workspace.terminalRightClickPasteTitle') }}</h3>
<form @submit.prevent="handleUpdateTerminalRightClickPasteSetting" class="space-y-4">
<div class="flex items-center">
<input type="checkbox" id="terminalEnableRightClickPaste" v-model="terminalEnableRightClickPasteLocal"
class="h-4 w-4 rounded border-border text-primary focus:ring-primary mr-2 cursor-pointer">
<label for="terminalEnableRightClickPaste" class="text-sm text-foreground cursor-pointer select-none">{{ $t('settings.workspace.terminalEnableRightClickPasteLabel', '启用终端右键粘贴') }}</label>
<label for="terminalEnableRightClickPaste" class="text-sm text-foreground cursor-pointer select-none">{{ $t('settings.workspace.terminalEnableRightClickPasteLabel') }}</label>
</div>
<p class="text-xs text-text-secondary mt-1">{{ $t('settings.workspace.terminalEnableRightClickPasteDescription', '允许在终端区域内使用鼠标右键粘贴剪贴板内容。') }}</p>
<p class="text-xs text-text-secondary mt-1">{{ $t('settings.workspace.terminalEnableRightClickPasteDescription') }}</p>
<div class="flex items-center justify-between pt-2">
<button type="submit"
class="px-4 py-2 bg-button text-button-text rounded-md shadow-sm hover:bg-button-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition duration-150 ease-in-out text-sm font-medium">
+6 -1
View File
@@ -775,7 +775,12 @@
"fileManagerDeleteConfirmTitle": "File Manager Delete Confirmation",
"fileManagerShowDeleteConfirmationLabel": "Show confirmation dialog when deleting files or folders",
"fileManagerDeleteConfirmSuccess": "File manager delete confirmation setting saved.",
"fileManagerDeleteConfirmError": "Failed to save file manager delete confirmation setting."
"fileManagerDeleteConfirmError": "Failed to save file manager delete confirmation setting.",
"terminalRightClickPasteTitle": "Terminal Right Click Paste",
"terminalEnableRightClickPasteLabel": "Enable terminal right-click paste",
"terminalEnableRightClickPasteDescription": "Allows pasting clipboard content using the right mouse button within the terminal area.",
"terminalRightClickPasteSuccess": "Terminal right-click paste setting saved.",
"terminalRightClickPasteError": "Failed to save terminal right-click paste setting."
},
"terminalScrollback": {
"title": "Terminal Scrollback Limit",
+6 -1
View File
@@ -1024,7 +1024,12 @@
"fileManagerDeleteConfirmTitle": "ファイルマネージャー削除確認",
"fileManagerShowDeleteConfirmationLabel": "ファイルまたはフォルダーを削除する際に確認ダイアログを表示する",
"fileManagerDeleteConfirmSuccess": "ファイルマネージャーの削除確認設定を保存しました。",
"fileManagerDeleteConfirmError": "ファイルマネージャーの削除確認設定の保存に失敗しました。"
"fileManagerDeleteConfirmError": "ファイルマネージャーの削除確認設定の保存に失敗しました。",
"terminalRightClickPasteTitle": "ターミナル右クリック貼り付け",
"terminalEnableRightClickPasteLabel": "ターミナルの右クリック貼り付けを有効にする",
"terminalEnableRightClickPasteDescription": "ターミナル領域内でマウスの右ボタンを使用してクリップボードの内容を貼り付けることを許可します。",
"terminalRightClickPasteSuccess": "ターミナルの右クリック貼り付け設定が保存されました。",
"terminalRightClickPasteError": "ターミナルの右クリック貼り付け設定の保存に失敗しました。"
},
"terminalScrollback": {
"title": "ターミナルスクロールバック制限",
+6 -1
View File
@@ -769,7 +769,12 @@
"fileManagerDeleteConfirmTitle": "文件管理器删除确认",
"fileManagerShowDeleteConfirmationLabel": "删除文件或文件夹时显示确认提示框",
"fileManagerDeleteConfirmSuccess": "文件管理器删除确认设置已保存。",
"fileManagerDeleteConfirmError": "保存文件管理器删除确认设置失败。"
"fileManagerDeleteConfirmError": "保存文件管理器删除确认设置失败。",
"terminalRightClickPasteTitle": "终端右键粘贴",
"terminalEnableRightClickPasteLabel": "启用终端右键粘贴",
"terminalEnableRightClickPasteDescription": "允许在终端区域内使用鼠标右键粘贴剪贴板内容。",
"terminalRightClickPasteSuccess": "终端右键粘贴设置已保存。",
"terminalRightClickPasteError": "保存终端右键粘贴设置失败。"
},
"terminalScrollback": {
"title": "终端回滚行数",