Kaynağa Gözat

i18n: use Chinese for right-click menu text

Developer 1 ay önce
ebeveyn
işleme
f5c54e970c
2 değiştirilmiş dosya ile 13 ekleme ve 10 silme
  1. 9 6
      README.md
  2. 4 4
      package.json

+ 9 - 6
README.md

@@ -4,18 +4,21 @@ A VS Code extension to copy code context formatted for AI assistants (Claude, Ch
 
 ## Features
 
-- **Copy Selection** (`Ctrl+Alt+C` / `Cmd+Alt+C`) — Copy selected code with file path, line, and column numbers
-- **Copy Active File** (`Ctrl+Alt+F` / `Cmd+Alt+F`) — Copy the entire active file
-- **Copy Workspace Files** — Pick files from the workspace to copy as context
-- **Copy Selected Files** — Select multiple files in the explorer and copy their contents
+- **Copy Selection** (`Ctrl+Alt+C` / `Cmd+Alt+C`) — 复制选区引用头 `[path LnCn-LnCn]`
+- **Copy Active File** (`Ctrl+Alt+F` / `Cmd+Alt+F`) — 复制当前文件引用头 `[path]`
+- **Copy Workspace Files** — 弹窗选文件,批量复制引用
+- **Copy Selected Files** — 资源管理器多选文件,批量复制引用
 
 ## Output Format
 
 ```
 [src/file.ts L10C1-L25C30]
-```typescript
-// your code here
 ```
+
+### 多文件
+
+```
+[src/extension.ts][src/copyContext.ts L10C1-L45C20]
 ```
 
 ## Requirements

+ 4 - 4
package.json

@@ -15,19 +15,19 @@
     "commands": [
       {
         "command": "vsix-cp-ai-ctx.copySelection",
-        "title": "Copy AI Context: Selection"
+        "title": "复制 AI 上下文: 选区"
       },
       {
         "command": "vsix-cp-ai-ctx.copyFile",
-        "title": "Copy AI Context: Active File"
+        "title": "复制 AI 上下文: 文件"
       },
       {
         "command": "vsix-cp-ai-ctx.copyWorkspaceFiles",
-        "title": "Copy AI Context: Workspace Files"
+        "title": "复制 AI 上下文: 工作区文件"
       },
       {
         "command": "vsix-cp-ai-ctx.copySelectedFiles",
-        "title": "Copy AI Context: Selected Files"
+        "title": "复制 AI 上下文: 选中文件"
       }
     ],
     "keybindings": [