33 * Licensed under the MIT License. See License.txt in the project root for license information.
44 *--------------------------------------------------------------------------------------------*/
55
6+ import { localize } from 'vs/nls' ;
67import { ISetting } from 'vs/workbench/services/preferences/common/preferences' ;
78
89export interface ITOCEntry {
@@ -15,7 +16,7 @@ export interface ITOCEntry {
1516
1617export const commonlyUsedData : ITOCEntry = {
1718 id : 'commonlyUsed' ,
18- label : ' Commonly Used' ,
19+ label : localize ( 'commonlyUsed' , " Commonly Used" ) ,
1920 settings : [ 'files.autoSave' , 'editor.fontSize' , 'editor.fontFamily' , 'editor.tabSize' , 'editor.renderWhitespace' , 'editor.cursorStyle' , 'editor.multiCursorModifier' , 'editor.insertSpaces' , 'editor.wordWrap' , 'files.exclude' , 'files.associations' ]
2021} ;
2122
@@ -25,168 +26,168 @@ export const tocData: ITOCEntry = {
2526 children : [
2627 {
2728 id : 'editor' ,
28- label : ' Text Editor' ,
29+ label : localize ( 'textEditor' , " Text Editor" ) ,
2930 children : [
3031 {
3132 id : 'editor/cursor' ,
32- label : 'Cursor' ,
33+ label : localize ( 'cursor' , "Cursor" ) ,
3334 settings : [ 'editor.cursor*' ]
3435 } ,
3536 {
3637 id : 'editor/find' ,
37- label : 'Find' ,
38+ label : localize ( 'find' , "Find" ) ,
3839 settings : [ 'editor.find.*' ]
3940 } ,
4041 {
4142 id : 'editor/font' ,
42- label : 'Font' ,
43+ label : localize ( 'font' , "Font" ) ,
4344 settings : [ 'editor.font*' ]
4445 } ,
4546 {
4647 id : 'editor/format' ,
47- label : 'Format' ,
48+ label : localize ( 'format' , "Format" ) ,
4849 settings : [ 'editor.format*' ]
4950 } ,
5051 {
5152 id : 'editor/diffEditor' ,
52- label : ' Diff Editor' ,
53+ label : localize ( 'diffEditor' , " Diff Editor" ) ,
5354 settings : [ 'diffEditor.*' ]
5455 } ,
5556 {
5657 id : 'editor/minimap' ,
57- label : 'Minimap' ,
58+ label : localize ( 'minimap' , "Minimap" ) ,
5859 settings : [ 'editor.minimap.*' ]
5960 } ,
6061 {
6162 id : 'editor/suggestions' ,
62- label : 'Suggestions' ,
63+ label : localize ( 'suggestions' , "Suggestions" ) ,
6364 settings : [ 'editor.*suggestion*' ]
6465 } ,
6566 {
6667 id : 'editor/files' ,
67- label : 'Files' ,
68+ label : localize ( 'files' , "Files" ) ,
6869 settings : [ 'files.*' ]
6970 } ,
7071 {
7172 id : 'editor/editor' ,
72- label : 'Editor' ,
73+ label : localize ( 'editor' , "Editor" ) ,
7374 settings : [ 'editor.*' ]
7475 }
7576 ]
7677 } ,
7778 {
7879 id : 'workbench' ,
79- label : 'Workbench' ,
80+ label : localize ( 'workbench' , "Workbench" ) ,
8081 children : [
8182 {
8283 id : 'workbench/appearance' ,
83- label : 'Appearance' ,
84+ label : localize ( 'appearance' , "Appearance" ) ,
8485 settings : [ 'workbench.activityBar.*' , 'workbench.*color*' , 'workbench.fontAliasing' , 'workbench.iconTheme' , 'workbench.sidebar.location' , 'workbench.*.visible' , 'workbench.tips.enabled' , 'workbench.tree.*' , 'workbench.view.*' ]
8586 } ,
8687 {
8788 id : 'workbench/editor' ,
88- label : ' Editor Management' ,
89+ label : localize ( 'editorManagement' , " Editor Management" ) ,
8990 settings : [ 'workbench.editor.*' ]
9091 } ,
9192 {
9293 id : 'workbench/zenmode' ,
93- label : ' Zen Mode' ,
94+ label : localize ( 'zenMode' , " Zen Mode" ) ,
9495 settings : [ 'zenmode.*' ]
9596 } ,
9697 {
9798 id : 'workbench/workbench' ,
98- label : 'Workbench' ,
99+ label : localize ( 'workbench' , "Workbench" ) ,
99100 settings : [ 'workbench.*' ]
100101 }
101102 ]
102103 } ,
103104 {
104105 id : 'window' ,
105- label : 'Window' ,
106+ label : localize ( 'window' , "Window" ) ,
106107 children : [
107108 {
108109 id : 'window/newWindow' ,
109- label : ' New Window' ,
110+ label : localize ( 'newWindow' , " New Window" ) ,
110111 settings : [ 'window.*newwindow*' ]
111112 } ,
112113 {
113114 id : 'window/window' ,
114- label : 'Window' ,
115+ label : localize ( 'window' , "Window" ) ,
115116 settings : [ 'window.*' ]
116117 }
117118 ]
118119 } ,
119120 {
120121 id : 'features' ,
121- label : 'Features' ,
122+ label : localize ( 'features' , "Features" ) ,
122123 children : [
123124 {
124125 id : 'features/explorer' ,
125- label : ' File Explorer' ,
126+ label : localize ( 'fileExplorer' , " File Explorer" ) ,
126127 settings : [ 'explorer.*' , 'outline.*' ]
127128 } ,
128129 {
129130 id : 'features/search' ,
130- label : 'Search' ,
131+ label : localize ( 'search' , "Search" ) ,
131132 settings : [ 'search.*' ]
132133 }
133134 ,
134135 {
135136 id : 'features/debug' ,
136- label : 'Debug' ,
137+ label : localize ( 'debug' , "Debug" ) ,
137138 settings : [ 'debug.*' , 'launch' ]
138139 } ,
139140 {
140141 id : 'features/scm' ,
141- label : 'SCM' ,
142+ label : localize ( 'scm' , "SCM" ) ,
142143 settings : [ 'scm.*' ]
143144 } ,
144145 {
145146 id : 'features/extensions' ,
146- label : ' Extension Viewlet' ,
147+ label : localize ( 'extensionViewlet' , " Extension Viewlet" ) ,
147148 settings : [ 'extensions.*' ]
148149 } ,
149150 {
150151 id : 'features/terminal' ,
151- label : 'Terminal' ,
152+ label : localize ( 'terminal' , "Terminal" ) ,
152153 settings : [ 'terminal.*' ]
153154 } ,
154155 {
155156 id : 'features/problems' ,
156- label : 'Problems' ,
157+ label : localize ( 'problems' , "Problems" ) ,
157158 settings : [ 'problems.*' ]
158159 }
159160 ]
160161 } ,
161162 {
162163 id : 'application' ,
163- label : 'Application' ,
164+ label : localize ( 'application' , "Application" ) ,
164165 children : [
165166 {
166167 id : 'application/http' ,
167- label : 'Proxy' ,
168+ label : localize ( 'proxy' , "Proxy" ) ,
168169 settings : [ 'http.*' ]
169170 } ,
170171 {
171172 id : 'application/keyboard' ,
172- label : 'Keyboard' ,
173+ label : localize ( 'keyboard' , "Keyboard" ) ,
173174 settings : [ 'keyboard.*' ]
174175 } ,
175176 {
176177 id : 'application/update' ,
177- label : 'Update' ,
178+ label : localize ( 'update' , "Update" ) ,
178179 settings : [ 'update.*' ]
179180 } ,
180181 {
181182 id : 'application/telemetry' ,
182- label : 'Telemetry' ,
183+ label : localize ( 'telemetry' , "Telemetry" ) ,
183184 settings : [ 'telemetry.*' ]
184185 }
185186 ]
186187 } ,
187188 {
188189 id : 'extensions' ,
189- label : 'Extensions' ,
190+ label : localize ( 'extensions' , "Extensions" ) ,
190191 settings : [ '*' ]
191192 }
192193 ]
0 commit comments