-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
174 lines (174 loc) · 4.32 KB
/
package.json
File metadata and controls
174 lines (174 loc) · 4.32 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
"name": "code-text-translator",
"displayName": "Text Translator & Enhancer",
"description": "Detects quoted strings and offers translation to other languages or text enhancement/rephrasing",
"version": "2.0.1",
"publisher": "apertacodex",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apertacodex/text-translator.git"
},
"bugs": {
"url": "https://github.com/apertacodex/text-translator/issues"
},
"homepage": "https://github.com/apertacodex/text-translator#readme",
"engines": {
"vscode": "^1.108.0"
},
"categories": [
"Other",
"Machine Learning"
],
"keywords": [
"translation",
"text",
"enhancement",
"rephrase",
"string",
"language"
],
"main": "./out/extension.js",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "myext.translateText",
"title": "Translate Text",
"icon": "$(globe)"
},
{
"command": "myext.enhanceText",
"title": "Enhance/Rephrase Text",
"icon": "$(edit)"
},
{
"command": "myext.detectStrings",
"title": "Detect All Strings",
"icon": "$(search)"
},
{
"command": "myext.openTranslationPanel",
"title": "Open Translation Panel",
"icon": "$(symbol-string)"
}
],
"views": {
"explorer": [
{
"id": "textTranslatorView",
"name": "Text Translator",
"when": "textTranslator.enabled"
}
]
},
"menus": {
"editor/context": [
{
"command": "myext.translateText",
"when": "editorHasSelection",
"group": "1_modification@1"
},
{
"command": "myext.enhanceText",
"when": "editorHasSelection",
"group": "1_modification@2"
}
],
"view/title": [
{
"command": "myext.detectStrings",
"when": "view == textTranslatorView",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "myext.translateText",
"when": "view == textTranslatorView && viewItem == stringItem",
"group": "inline"
},
{
"command": "myext.enhanceText",
"when": "view == textTranslatorView && viewItem == stringItem",
"group": "inline"
}
]
},
"keybindings": [
{
"command": "myext.translateText",
"key": "ctrl+shift+t",
"when": "editorTextFocus"
},
{
"command": "myext.enhanceText",
"key": "ctrl+shift+e",
"when": "editorTextFocus"
},
{
"command": "myext.detectStrings",
"key": "ctrl+shift+d",
"when": "editorTextFocus"
}
],
"configuration": {
"type": "object",
"title": "Text Translator",
"properties": {
"textTranslator.targetLanguages": {
"type": "array",
"default": [
"Spanish",
"French",
"German",
"Italian",
"Portuguese",
"Russian",
"Chinese",
"Japanese"
],
"description": "List of target languages for translation"
},
"textTranslator.enhancementTypes": {
"type": "array",
"default": [
"Formal",
"Casual",
"Concise",
"Detailed",
"Professional",
"Creative"
],
"description": "Types of text enhancement options"
},
"textTranslator.autoDetectStrings": {
"type": "boolean",
"default": true,
"description": "Automatically detect strings when opening files"
},
"textTranslator.showInlineActions": {
"type": "boolean",
"default": true,
"description": "Show translation and enhancement actions inline with detected strings"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"package": "vsce package"
},
"devDependencies": {
"@types/vscode": "^1.108.1",
"@types/node": "^25.0.9",
"typescript": "^5.9.3",
"ovsx": "^0.10.8"
},
"dependencies": {},
"icon": "images/icon.png"
}