Context Definitions
| Context | Definition | Chinese |
|---|---|---|
| Console | Developer tools (F12 tools, debugging) | 开发者工具 |
| Terminal | Command line interface (SSH, bash, PowerShell) | 终端/命令行 |
| Web Page | UI elements (buttons, forms, input fields) | 网页界面 |
Usage by Context
Terminal (CLI)
Preposition: in the terminal
Examples:
- ✅ “Run the script in your terminal.” (在终端里运行脚本)
- ✅ “Execute the command in the terminal.” (在终端里执行命令)
- ✅ “Open the terminal and run this command.” (打开终端运行这个命令)
Web Page (UI/Form)
Prepositions:
- on the page (for buttons/UI elements)
- in the form (for forms)
- in the input field (for specific fields)
Examples:
- ✅ “Click the button on the page.” (点击网页上的按钮)
- ✅ “Enter your email in the form.” (在表单里输入邮箱)
- ✅ “Input the value in the input field.” (在输入框里输入值)
- ✅ “Fill in the form.” (填写表单)
Console (Developer Tools)
Preposition: in the console
Examples:
- ✅ “Debug in the console.” (在控制台里调试)
- ✅ “Check the error in the console.” (在控制台里查看错误)
Common Mistakes
| ❌ Wrong | ✅ Correct | Note |
|---|---|---|
| Click the button on the console | Click the button on the page | console ≠ web page |
| Input something on the console | Input something in the form | console ≠ form |
| Run the script on the terminal | Run the script in the terminal | terminal 用 in |
Customer Communication Examples
For Web UI
- “Please click the Submit button on the page.” ✅
- “Enter your API key in the form.” ✅
- “Fill in the required fields.” ✅
For Terminal/CLI
- “Run this script in your terminal.” ✅
- “Execute the command in the terminal.” ✅
Decision Tree
| |
Memory Trick
- on the page → 网页上的 UI 元素
- in the form → 表单里
- in the terminal → 终端里(命令行)
- in the console → 开发者工具里
Practice
Complete the sentences with the correct preposition:
- “Run the installation script ___ your terminal.”
- “Click the Login button ___ the page.”
- “Enter your username ___ the form.”
- “Check the JavaScript error ___ the console.”
Answers:
- in (terminal uses “in”)
- on (web page button uses “on the page”)
- in (form uses “in”)
- in (console uses “in”)