feat: 为快捷指令添加变量功能

#57
This commit is contained in:
Baobhan Sith
2025-05-30 09:25:46 +08:00
parent e2d6dcb937
commit 807a48a7dd
14 changed files with 595 additions and 109 deletions
+14 -3
View File
@@ -606,7 +606,8 @@
"createSuccess": "Tag created successfully.",
"updateSuccess": "Tag updated successfully.",
"deleteSuccess": "Tag \"{name}\" deleted successfully.",
"deleteFailed": "Failed to delete tag \"{name}\": {error}"
"deleteFailed": "Failed to delete tag \"{name}\": {error}",
"errorDelete": "Error deleting tag: {error}"
},
"settings": {
"popupFileManager": {
@@ -1041,6 +1042,7 @@
"testMessageUnsaved": "Test triggered for unsaved {channelType} configuration"
},
"common": {
"confirm": "Confirm",
"ok": "OK",
"success": "Success",
"error": "Error",
@@ -1293,11 +1295,19 @@
"name": "Name:",
"namePlaceholder": "Optional, for quick identification",
"command": "Command:",
"commandPlaceholder": "e.g., ls -alh /home/user",
"commandPlaceholder": "e.g.,",
"errorCommandRequired": "Command cannot be empty",
"add": "Add",
"tags": "Tags:",
"tagsPlaceholder": "Select or create tags..."
"tagsPlaceholder": "Select or create tags...",
"variablesTitle": "Variable Management",
"noVariables": "No variables yet. Click the button below to add one.",
"variableNamePlaceholder": "Variable Name",
"variableValuePlaceholder": "Variable Value",
"addVariable": "+ Add Variable",
"execute": "Execute",
"warningUndefinedVariables": "Warning: Undefined variables in command template: {variables}",
"errorNoActiveSession": "No active SSH session to execute the command."
},
"untagged": "Untagged",
"tags": {
@@ -1626,3 +1636,4 @@
"copiedError": "Failed to copy path"
}
}