-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpackage.nls.json
More file actions
36 lines (36 loc) · 2.22 KB
/
package.nls.json
File metadata and controls
36 lines (36 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"ext.displayName": "Variable Translation Helper",
"ext.description": "Quickly translate Chinese variable names into various common naming formats (camelCase, PascalCase, snake_case, etc.). Supports Google, Baidu, Tencent, OpenAI, Bing, and more.",
"cmd.varTranslation": "Variable Name Translation",
"cmd.camelCase": "camelCase",
"cmd.pascalCase": "PascalCase",
"cmd.paramCase": "paramCase kebab-case",
"cmd.snakeCase": "snakeCase snake_case",
"cmd.constantCase": "constantCase CONSTANT_CASE",
"cmd.capitalCase": "capitalCase Capital Case",
"cmd.dotCase": "dotCase dot.case",
"cmd.headerCase": "headerCase Header-Case",
"cmd.noCase": "noCase no case",
"cmd.pathCase": "pathCase path/case",
"cmd.selectCopilotModel": "Select Copilot Model",
"cmd.configEngine": "Configure Translation Engine",
"menu.label": "Translate Variable",
"menu.selectTranslate": "Select & Translate",
"config.title": "Variable Translation Settings",
"config.translationEngine": "Translation engine",
"config.targetLanguage": "Target language for English variable translation (e.g. zh, ja, ko, fr, de)",
"config.google.tld": "Google Translate top-level domain (e.g. com, cn)",
"config.baidu.appId": "Baidu Translate App ID (apply at: https://hcfy.app/docs/services/baidu-api)",
"config.baidu.secretKey": "Baidu Translate Secret Key",
"config.tencent.secretId": "Tencent Translate Secret ID (apply at: https://hcfy.app/docs/services/qq-api)",
"config.tencent.secretKey": "Tencent Translate Secret Key",
"config.openai.apiKey": "OpenAI API Key (starts with sk-)",
"config.openai.apiBaseUrl": "OpenAI API base URL override (leave empty for official endpoint)",
"config.openai.model": "OpenAI model name",
"config.bing.subscriptionKey": "Azure Translator subscription key (2M chars/month free)",
"config.bing.region": "Azure Translator region (e.g. global, eastasia)",
"config.libretranslate.apiBaseUrl": "LibreTranslate API URL (repo: https://github.com/LibreTranslate/LibreTranslate)",
"config.libretranslate.apiKey": "LibreTranslate API Key (if key auth is enabled)",
"config.deeplx.apiBaseUrl": "DeepLX API URL",
"config.copilot.model": "Copilot model ID, leave empty for auto-select. Use command 'Select Copilot Model' to set."
}