@deckbuilderkit/view-explorer 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -2
- package/package.json +40 -4
- package/src/ExplorerScreen.tsx +742 -0
- package/src/client.ts +104 -0
- package/src/commands.ts +29 -0
- package/src/explorer/CompareTab.tsx +52 -0
- package/src/explorer/CurlPanel.tsx +144 -0
- package/src/explorer/DetailsTab.tsx +284 -0
- package/src/explorer/FileTab.tsx +466 -0
- package/src/explorer/LogTab.tsx +130 -0
- package/src/explorer/ProjectSearch.tsx +117 -0
- package/src/explorer/ProjectTree.tsx +824 -0
- package/src/explorer/PropertiesDialog.tsx +144 -0
- package/src/explorer/SqlPanel.tsx +221 -0
- package/src/explorer/TreePane.tsx +216 -0
- package/src/explorer/copy-path.ts +9 -0
- package/src/explorer/file-undo.ts +36 -0
- package/src/explorer/fs-actions.ts +34 -0
- package/src/explorer/name-index.ts +58 -0
- package/src/explorer/os-drop.ts +56 -0
- package/src/explorer/resolve-image-path.ts +19 -0
- package/src/explorer/tab-actions.ts +17 -0
- package/src/explorer/tree-find.ts +37 -0
- package/src/explorer/useLocalImages.ts +49 -0
- package/src/explorer-paths.ts +9 -0
- package/src/explorer-state.ts +21 -0
- package/src/explorer.css +61 -0
- package/src/i18n.ts +526 -0
- package/src/options.ts +8 -0
- package/src/server.ts +156 -0
- package/src/settings/cards.tsx +99 -0
- package/src/settings.ts +107 -0
- package/src/view.tsx +38 -0
- package/src/web.ts +4 -0
package/src/i18n.ts
ADDED
|
@@ -0,0 +1,526 @@
|
|
|
1
|
+
import { createT, type Messages } from '@deckbuilderkit/ui';
|
|
2
|
+
|
|
3
|
+
export const en = {
|
|
4
|
+
'nav.explorer': 'Explorer',
|
|
5
|
+
'explorer.welcome': 'Explorer',
|
|
6
|
+
'explorer.welcomeTitle': 'No file open',
|
|
7
|
+
'explorer.welcomeHint': 'Add a folder as a project, then double-click a file in the tree to open it in a tab.',
|
|
8
|
+
'explorer.watermark.quickOpen': 'Go to file',
|
|
9
|
+
'explorer.watermark.search': 'Search in files',
|
|
10
|
+
'explorer.watermark.tree': 'Show or hide the tree',
|
|
11
|
+
'explorer.watermark.palette': 'Show all commands',
|
|
12
|
+
'explorer.watermark.zen': 'Zen mode',
|
|
13
|
+
'explorer.noProjects': 'No projects yet',
|
|
14
|
+
'explorer.projectAdd': 'Add project',
|
|
15
|
+
'explorer.projectEdit': 'Edit project',
|
|
16
|
+
'explorer.projectName': 'Name',
|
|
17
|
+
'explorer.projectPath': 'Folder',
|
|
18
|
+
'explorer.pickFolder': 'Choose the project folder',
|
|
19
|
+
'explorer.deleteProjectBody': '{name} is only removed from this list. The files stay where they are.',
|
|
20
|
+
'explorer.addAProject': 'Add a project',
|
|
21
|
+
'explorer.addProjectItem': 'Add project…',
|
|
22
|
+
'explorer.editProjectItem': 'Edit {name}…',
|
|
23
|
+
'explorer.removeProjectItem': 'Remove {name}…',
|
|
24
|
+
'explorer.removeProjectTitle': 'Remove {name}?',
|
|
25
|
+
'explorer.outside': 'outside',
|
|
26
|
+
'explorer.open': 'Open',
|
|
27
|
+
'explorer.newFile': 'New file',
|
|
28
|
+
'explorer.newFolder': 'New folder',
|
|
29
|
+
'explorer.rename': 'Rename',
|
|
30
|
+
'explorer.delete': 'Delete',
|
|
31
|
+
'explorer.openDetails': 'Open as details',
|
|
32
|
+
'explorer.details.name': 'Name',
|
|
33
|
+
'explorer.details.size': 'Size',
|
|
34
|
+
'explorer.details.modified': 'Modified',
|
|
35
|
+
'explorer.details.type': 'Type',
|
|
36
|
+
'explorer.details.folder': 'Folder',
|
|
37
|
+
'explorer.details.link': 'Link',
|
|
38
|
+
'explorer.details.file': 'File',
|
|
39
|
+
'explorer.details.fileType': '{ext} file',
|
|
40
|
+
'explorer.details.up': 'Up one level',
|
|
41
|
+
'explorer.details.empty': 'This folder is empty',
|
|
42
|
+
'explorer.openTerminal': 'Open terminal here',
|
|
43
|
+
'explorer.selectForCompare': 'Select for compare',
|
|
44
|
+
'explorer.compareWithSelected': 'Compare with selected',
|
|
45
|
+
'explorer.compareSelected': 'Compare selected',
|
|
46
|
+
'explorer.properties': 'Properties',
|
|
47
|
+
'explorer.props.name': 'Name',
|
|
48
|
+
'explorer.props.path': 'Full path',
|
|
49
|
+
'explorer.props.type': 'Type',
|
|
50
|
+
'explorer.props.size': 'Size',
|
|
51
|
+
'explorer.props.created': 'Created',
|
|
52
|
+
'explorer.props.modified': 'Modified',
|
|
53
|
+
'explorer.props.accessed': 'Accessed',
|
|
54
|
+
'explorer.props.readOnly': 'Read-only',
|
|
55
|
+
'explorer.props.file': 'File',
|
|
56
|
+
'explorer.props.dir': 'Folder',
|
|
57
|
+
'explorer.props.symlink': 'Symbolic link',
|
|
58
|
+
'explorer.props.yes': 'Yes',
|
|
59
|
+
'explorer.props.no': 'No',
|
|
60
|
+
'explorer.props.bytes': '{size} ({bytes} bytes)',
|
|
61
|
+
'explorer.props.calcSize': 'Calculate size',
|
|
62
|
+
'explorer.props.contains': '{files} files, {dirs} folders',
|
|
63
|
+
'explorer.props.counting': 'Counting…',
|
|
64
|
+
'explorer.props.cancel': 'Cancel',
|
|
65
|
+
'explorer.props.sha256': 'SHA-256',
|
|
66
|
+
'explorer.props.hashing': 'Hashing…',
|
|
67
|
+
'explorer.props.copy': 'Copy',
|
|
68
|
+
'explorer.props.close': 'Close',
|
|
69
|
+
'explorer.props.copied': 'Copied',
|
|
70
|
+
'explorer.compareBinary': 'Binary files can\'t be compared.',
|
|
71
|
+
'explorer.compareTruncated': 'A file is too large; only its start is compared.',
|
|
72
|
+
'explorer.reveal': 'Reveal in Explorer',
|
|
73
|
+
'explorer.goToFile': 'Go to file',
|
|
74
|
+
'explorer.openInEditor': 'Open in {editor}',
|
|
75
|
+
'explorer.editorMissing': 'not found',
|
|
76
|
+
'explorer.openDefault': 'Open with default app',
|
|
77
|
+
'explorer.copyFullPath': 'Copy full path',
|
|
78
|
+
'explorer.copyPath': 'Copy relative path',
|
|
79
|
+
'explorer.extractHere': 'Extract here',
|
|
80
|
+
'explorer.extractTo': 'Extract to…',
|
|
81
|
+
'explorer.extractToLabel': 'Folder (relative to the project)',
|
|
82
|
+
'explorer.extracted': 'Extracted {name} to {target}',
|
|
83
|
+
'explorer.compressZip': 'Compress to .zip',
|
|
84
|
+
'explorer.compress7z': 'Compress to .7z',
|
|
85
|
+
'explorer.compressed': 'Created {name}',
|
|
86
|
+
'explorer.compressedSkipped': 'Created {name}; {count} links were skipped',
|
|
87
|
+
'explorer.name': 'Name',
|
|
88
|
+
'explorer.nameInvalid': 'This name is not valid.',
|
|
89
|
+
'explorer.items': '{count} items',
|
|
90
|
+
'explorer.andMore': '…and {count} more',
|
|
91
|
+
'explorer.dirtyTitle': 'Unsaved changes',
|
|
92
|
+
'explorer.deleteTitle': 'Delete',
|
|
93
|
+
'explorer.deleteBody': '{name} goes to the Recycle Bin. You can restore it from there.',
|
|
94
|
+
'explorer.deleteMany': '{count} items go to the Recycle Bin. You can restore them from there.',
|
|
95
|
+
'explorer.deleteOne': 'Delete one item at a time',
|
|
96
|
+
'explorer.undo': 'Undo',
|
|
97
|
+
'explorer.undone': 'Undone: {what}',
|
|
98
|
+
'explorer.undoNothing': 'Nothing to undo.',
|
|
99
|
+
'explorer.did.create': 'Created {name}',
|
|
100
|
+
'explorer.did.rename': 'Renamed {name}',
|
|
101
|
+
'explorer.did.move': 'Moved {name}',
|
|
102
|
+
'explorer.did.copy': 'Copied {name}',
|
|
103
|
+
'explorer.undoDeleteTitle': 'Undo?',
|
|
104
|
+
'explorer.undoDeleteBody': '{name} is moved to the Recycle Bin.',
|
|
105
|
+
'explorer.existsTitle': 'Name already in use',
|
|
106
|
+
'explorer.existsBody': 'A file or folder named {name} already exists here.',
|
|
107
|
+
'explorer.replace': 'Replace',
|
|
108
|
+
'explorer.keepBoth': 'Keep both',
|
|
109
|
+
'explorer.skip': 'Skip',
|
|
110
|
+
'explorer.applyToAll': 'Do this for all conflicts',
|
|
111
|
+
'explorer.uploading': 'Adding files: {done} of {total}',
|
|
112
|
+
'explorer.uploadFailed': '{count} files could not be added: {error}',
|
|
113
|
+
'explorer.dirtyDelete': '{count} open files have unsaved changes that will be lost.',
|
|
114
|
+
'explorer.moveTitle': 'Move',
|
|
115
|
+
'explorer.moveBody': 'Move {name} into {target}?',
|
|
116
|
+
'explorer.moveMany': 'Move {count} items into {target}?',
|
|
117
|
+
'settings.explorer.confirmDelete': 'Confirm delete',
|
|
118
|
+
'settings.explorer.confirmDelete.hint': 'Ask before deleting files and folders. A warning about unsaved changes in open files still shows.',
|
|
119
|
+
'settings.explorer.confirmDragDrop': 'Confirm drag and drop',
|
|
120
|
+
'settings.explorer.confirmDragDrop.hint': 'Ask before moving files and folders by dragging them in the tree.',
|
|
121
|
+
'settings.explorer.showHidden': 'Show excluded entries',
|
|
122
|
+
'settings.explorer.showHidden.hint': 'Start each tree with the entries matching #files.exclude# shown. The tree header can still toggle them.',
|
|
123
|
+
'settings.explorer.restoreTabs': 'Restore tabs',
|
|
124
|
+
'settings.explorer.restoreTabs.hint': 'Reopen the tabs of the last session when the Explorer opens.',
|
|
125
|
+
'settings.explorer.markdownToc': 'Table of contents',
|
|
126
|
+
'settings.explorer.markdownToc.hint': 'Show a heading rail beside rendered Markdown in Preview; click it to jump to a heading.',
|
|
127
|
+
'explorer.dirtyMove': '{count} open files have unsaved changes. They stay open at the new path.',
|
|
128
|
+
'explorer.newNameHint': 'Enter to create, Escape to cancel',
|
|
129
|
+
'explorer.copy': 'Copy',
|
|
130
|
+
'explorer.cut': 'Cut',
|
|
131
|
+
'explorer.paste': 'Paste',
|
|
132
|
+
'explorer.search.placeholder': 'Search in {name}',
|
|
133
|
+
'explorer.search.content': 'Content',
|
|
134
|
+
'explorer.search.none': 'No results',
|
|
135
|
+
'explorer.search.count': '{count} results',
|
|
136
|
+
'explorer.search.truncated': 'showing the first {count}',
|
|
137
|
+
'explorer.search.running': 'Searching…',
|
|
138
|
+
'explorer.showExcluded': 'Show excluded files and folders',
|
|
139
|
+
'explorer.search.open': 'Search in this project',
|
|
140
|
+
'explorer.search.close': 'Close the search',
|
|
141
|
+
'explorer.find.placeholder': 'Find in the tree (Enter: next match)',
|
|
142
|
+
'explorer.find.filter': 'Filter',
|
|
143
|
+
'explorer.find.filterHint': 'Show only matching entries',
|
|
144
|
+
'explorer.find.none': 'No match',
|
|
145
|
+
'explorer.more': 'More actions',
|
|
146
|
+
'explorer.split': 'Show a second project below',
|
|
147
|
+
'explorer.closeTree': 'Close this tree',
|
|
148
|
+
'explorer.edit': 'Edit',
|
|
149
|
+
'explorer.wrap': 'Wrap lines',
|
|
150
|
+
'explorer.preview': 'Preview',
|
|
151
|
+
'explorer.save': 'Save',
|
|
152
|
+
'explorer.reload': 'Reload from disk',
|
|
153
|
+
'explorer.sql.pickConnection': 'Choose a connection',
|
|
154
|
+
'explorer.sql.noConnection': 'Choose a connection first',
|
|
155
|
+
'explorer.sql.openWorkbench': 'Open in Workbench',
|
|
156
|
+
'explorer.sql.close': 'Close results',
|
|
157
|
+
'explorer.sql.steps': 'Steps',
|
|
158
|
+
'explorer.sql.xmlView': 'SQL view',
|
|
159
|
+
'explorer.sql.merge': 'Merge SQL',
|
|
160
|
+
'explorer.sql.params': 'Parameters',
|
|
161
|
+
'explorer.sql.paramsHint': 'Values are inserted as typed into the SQL; quote text yourself.',
|
|
162
|
+
'explorer.sql.paramOptional': 'optional: only used in a conditional line',
|
|
163
|
+
'explorer.sql.paramRequired': 'used directly in the SQL',
|
|
164
|
+
'explorer.sql.paramsRun': 'Run',
|
|
165
|
+
'explorer.curl.openRest': 'Open in REST',
|
|
166
|
+
'explorer.curl.close': 'Close response',
|
|
167
|
+
'explorer.curl.notCurl': 'No curl command at the cursor.',
|
|
168
|
+
'explorer.logRotated': 'The file was truncated or rotated; showing it from the start again.',
|
|
169
|
+
'explorer.logCopied': 'Copied {count} lines',
|
|
170
|
+
'explorer.logTooLarge': 'Too large to copy, use Save to end.',
|
|
171
|
+
'explorer.logSaved': 'Saved to {path}',
|
|
172
|
+
'explorer.logDismiss': 'Dismiss',
|
|
173
|
+
'explorer.discardTitle': 'Discard changes?',
|
|
174
|
+
'explorer.discardBody': 'The unsaved changes of {name} are lost.',
|
|
175
|
+
'explorer.discard': 'Discard',
|
|
176
|
+
'explorer.pathCopied': 'Path copied',
|
|
177
|
+
'explorer.copyFailed': "Couldn't copy to the clipboard.",
|
|
178
|
+
'explorer.staleSave': "Failed to save {name}: the file on disk is newer. Reload to discard your changes, or overwrite the file with them.",
|
|
179
|
+
'explorer.overwrite': 'Overwrite',
|
|
180
|
+
'explorer.overwriteTitle': 'Overwrite the file?',
|
|
181
|
+
'explorer.overwriteBody': 'The changes made to {name} on disk are lost.',
|
|
182
|
+
'explorer.readOnlySave': 'Failed to save {name}: the file is read-only.',
|
|
183
|
+
'explorer.makeWritable': 'Make writable and save',
|
|
184
|
+
'explorer.status.position': 'Ln {line}, Col {col}',
|
|
185
|
+
'explorer.status.selected': '({count} selected)',
|
|
186
|
+
'explorer.status.selections': '{count} selections',
|
|
187
|
+
'explorer.status.selectionsChars': '{count} selections ({chars} characters selected)',
|
|
188
|
+
'explorer.status.eol': 'Switch to {eol} line endings',
|
|
189
|
+
'explorer.status.encoding': 'File encoding',
|
|
190
|
+
'explorer.status.language': 'Language',
|
|
191
|
+
'explorer.status.size': 'File size',
|
|
192
|
+
'explorer.status.imageSize': 'Image size',
|
|
193
|
+
'explorer.status.zoom': 'Zoom',
|
|
194
|
+
'explorer.status.readOnly': 'Read-only',
|
|
195
|
+
'explorer.status.truncated': 'Truncated',
|
|
196
|
+
'settings.section.explorer': 'Explorer',
|
|
197
|
+
'settings.explorer.saving': 'Saving files',
|
|
198
|
+
'settings.explorer.autoSave': 'Auto save',
|
|
199
|
+
'settings.explorer.autoSave.off': 'Off',
|
|
200
|
+
'settings.explorer.autoSave.afterDelay': 'After a delay',
|
|
201
|
+
'settings.explorer.autoSave.onFocusChange': 'On focus change',
|
|
202
|
+
'settings.explorer.autoSave.hint': 'After a delay saves 1 s after you stop typing; on focus change saves when you leave the tab or the window.',
|
|
203
|
+
'settings.explorer.trim': 'Trim trailing whitespace',
|
|
204
|
+
'settings.explorer.trim.hint': 'Removes spaces at line ends on save. Not in Markdown, where two spaces are a line break. Applies to #files.autoSave# saves too.',
|
|
205
|
+
'settings.explorer.finalNewline': 'Insert final newline',
|
|
206
|
+
'settings.explorer.finalNewline.hint': 'Ends the file with a line break on save, including #files.autoSave# saves.',
|
|
207
|
+
'settings.explorer.tabs': 'Tabs',
|
|
208
|
+
'settings.explorer.autoReveal': 'Auto reveal',
|
|
209
|
+
'settings.explorer.autoReveal.hint': 'Selecting a tab shows its file in the Explorer tree: the folders open and the file is selected. node_modules and .git are skipped.',
|
|
210
|
+
'settings.explorer.view': 'Tree',
|
|
211
|
+
'settings.explorer.exclude': 'Excluded files',
|
|
212
|
+
'settings.explorer.exclude.hint': 'One pattern per line, matched against the path from the project root; a leading double star matches at any depth. Matches are hidden from the tree and from search; the eye button in the tree header shows them dimmed.',
|
|
213
|
+
'settings.explorer.sort': 'Sort order',
|
|
214
|
+
'settings.explorer.sort.hint': 'How the entries of a folder are ordered.',
|
|
215
|
+
'settings.explorer.sort.default': 'Folders first',
|
|
216
|
+
'settings.explorer.sort.mixed': 'Mixed',
|
|
217
|
+
'settings.explorer.sort.filesFirst': 'Files first',
|
|
218
|
+
'settings.explorer.sort.type': 'Type',
|
|
219
|
+
'settings.explorer.sort.modified': 'Modified',
|
|
220
|
+
'settings.explorer.compact': 'Compact folders',
|
|
221
|
+
'settings.explorer.compact.hint': 'Show a folder that holds only one folder on the same row, like src/main/java. Left and Right move between the parts.',
|
|
222
|
+
'settings.explorer.nesting': 'File nesting',
|
|
223
|
+
'settings.explorer.nesting.hint': 'Show related files under one parent file, like package.json with its lock files. Renaming, deleting or moving the parent leaves the nested files alone.',
|
|
224
|
+
'settings.explorer.nesting.patterns': 'Nesting patterns',
|
|
225
|
+
'settings.explorer.nesting.patterns.hint': 'One per line: parent pattern, a colon, then comma separated child patterns. The parent may have one star; children may use ${capture} (what that star matched), ${basename}, ${extname}, ${dirname} and a star.',
|
|
226
|
+
'settings.explorer.breadcrumbs': 'Breadcrumbs',
|
|
227
|
+
'settings.explorer.breadcrumbs.hint': 'Show the path above the editor as segments. Click a folder to list its entries.',
|
|
228
|
+
'explorer.revealInTree': 'Reveal in Explorer tree',
|
|
229
|
+
'explorer.openSide': 'Open to the side',
|
|
230
|
+
'explorer.refresh': 'Refresh',
|
|
231
|
+
'explorer.collapseAll': 'Collapse all folders',
|
|
232
|
+
'explorer.expandAll': 'Expand all folders',
|
|
233
|
+
'keys.explorer.revealInTree': 'Reveal the active file in the tree',
|
|
234
|
+
'keys.explorer.collapseAll': 'Collapse all folders in the tree',
|
|
235
|
+
'keys.explorer.breadcrumbs': 'Focus the breadcrumbs',
|
|
236
|
+
'settings.explorer.previewTabs': 'Preview tabs',
|
|
237
|
+
'settings.explorer.previewTabs.hint': 'A single click on a file opens it in an italic tab that the next click replaces. Double-click the file or the tab, or edit the file, to keep it open. Off: a single click only selects.',
|
|
238
|
+
'keys.explorer.zen': 'Zen mode: hide everything but the tabs (Esc twice leaves)',
|
|
239
|
+
'keys.file.save': 'Save file',
|
|
240
|
+
'keys.file.wrap': 'Toggle word wrap',
|
|
241
|
+
'keys.explorer.sqlProblems': 'Show SQL problems',
|
|
242
|
+
'keys.explorer.sqlFormat': 'Format SQL file',
|
|
243
|
+
'keys.markdown.live': 'Markdown: Live',
|
|
244
|
+
'keys.markdown.edit': 'Markdown: Source',
|
|
245
|
+
'keys.markdown.split': 'Markdown: Split',
|
|
246
|
+
'keys.markdown.preview': 'Markdown: Toggle Preview',
|
|
247
|
+
'explorer.layout': 'Text column',
|
|
248
|
+
'keys.explorer.search': 'Search in the project',
|
|
249
|
+
'keys.explorer.find': 'Find in the tree',
|
|
250
|
+
'explorer.shared.run': 'Run',
|
|
251
|
+
'explorer.shared.cancel': 'Cancel',
|
|
252
|
+
'explorer.shared.sourceManage': 'Connections…',
|
|
253
|
+
'explorer.shared.source': 'Source',
|
|
254
|
+
'explorer.shared.runAll': 'Run all',
|
|
255
|
+
'explorer.shared.format': 'Format',
|
|
256
|
+
'explorer.shared.txPending': 'Uncommitted changes',
|
|
257
|
+
'explorer.shared.copySelected': 'Copy selected',
|
|
258
|
+
'explorer.shared.copy': 'Copy results',
|
|
259
|
+
'explorer.shared.txCommit': 'Commit',
|
|
260
|
+
'explorer.shared.txRollback': 'Rollback',
|
|
261
|
+
'explorer.shared.terminalTab': 'Terminal',
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
export const ptBR: Messages<typeof en> = {
|
|
265
|
+
'nav.explorer': 'Explorador',
|
|
266
|
+
'explorer.welcome': 'Explorador',
|
|
267
|
+
'explorer.welcomeTitle': 'Nenhum arquivo aberto',
|
|
268
|
+
'explorer.welcomeHint': 'Adicione uma pasta como projeto e dê dois cliques em um arquivo da árvore para abri-lo em uma aba.',
|
|
269
|
+
'explorer.watermark.quickOpen': 'Ir para arquivo',
|
|
270
|
+
'explorer.watermark.search': 'Pesquisar nos arquivos',
|
|
271
|
+
'explorer.watermark.tree': 'Mostrar ou ocultar a árvore',
|
|
272
|
+
'explorer.watermark.palette': 'Mostrar todos os comandos',
|
|
273
|
+
'explorer.watermark.zen': 'Modo zen',
|
|
274
|
+
'explorer.noProjects': 'Nenhum projeto ainda',
|
|
275
|
+
'explorer.projectAdd': 'Adicionar projeto',
|
|
276
|
+
'explorer.projectEdit': 'Editar projeto',
|
|
277
|
+
'explorer.projectName': 'Nome',
|
|
278
|
+
'explorer.projectPath': 'Pasta',
|
|
279
|
+
'explorer.pickFolder': 'Escolha a pasta do projeto',
|
|
280
|
+
'explorer.deleteProjectBody': '{name} é removido apenas desta lista. Os arquivos continuam onde estão.',
|
|
281
|
+
'explorer.addAProject': 'Adicionar um projeto',
|
|
282
|
+
'explorer.addProjectItem': 'Adicionar projeto…',
|
|
283
|
+
'explorer.editProjectItem': 'Editar {name}…',
|
|
284
|
+
'explorer.removeProjectItem': 'Remover {name}…',
|
|
285
|
+
'explorer.removeProjectTitle': 'Remover {name}?',
|
|
286
|
+
'explorer.outside': 'fora',
|
|
287
|
+
'explorer.open': 'Abrir',
|
|
288
|
+
'explorer.newFile': 'Novo arquivo',
|
|
289
|
+
'explorer.newFolder': 'Nova pasta',
|
|
290
|
+
'explorer.rename': 'Renomear',
|
|
291
|
+
'explorer.delete': 'Excluir',
|
|
292
|
+
'explorer.openDetails': 'Abrir como detalhes',
|
|
293
|
+
'explorer.details.name': 'Nome',
|
|
294
|
+
'explorer.details.size': 'Tamanho',
|
|
295
|
+
'explorer.details.modified': 'Modificado',
|
|
296
|
+
'explorer.details.type': 'Tipo',
|
|
297
|
+
'explorer.details.folder': 'Pasta',
|
|
298
|
+
'explorer.details.link': 'Link',
|
|
299
|
+
'explorer.details.file': 'Arquivo',
|
|
300
|
+
'explorer.details.fileType': 'Arquivo {ext}',
|
|
301
|
+
'explorer.details.up': 'Subir um nível',
|
|
302
|
+
'explorer.details.empty': 'Esta pasta está vazia',
|
|
303
|
+
'explorer.openTerminal': 'Abrir terminal aqui',
|
|
304
|
+
'explorer.selectForCompare': 'Selecionar para comparar',
|
|
305
|
+
'explorer.compareWithSelected': 'Comparar com selecionado',
|
|
306
|
+
'explorer.compareSelected': 'Comparar selecionados',
|
|
307
|
+
'explorer.properties': 'Propriedades',
|
|
308
|
+
'explorer.props.name': 'Nome',
|
|
309
|
+
'explorer.props.path': 'Caminho completo',
|
|
310
|
+
'explorer.props.type': 'Tipo',
|
|
311
|
+
'explorer.props.size': 'Tamanho',
|
|
312
|
+
'explorer.props.created': 'Criado em',
|
|
313
|
+
'explorer.props.modified': 'Modificado em',
|
|
314
|
+
'explorer.props.accessed': 'Acessado em',
|
|
315
|
+
'explorer.props.readOnly': 'Somente leitura',
|
|
316
|
+
'explorer.props.file': 'Arquivo',
|
|
317
|
+
'explorer.props.dir': 'Pasta',
|
|
318
|
+
'explorer.props.symlink': 'Link simbólico',
|
|
319
|
+
'explorer.props.yes': 'Sim',
|
|
320
|
+
'explorer.props.no': 'Não',
|
|
321
|
+
'explorer.props.bytes': '{size} ({bytes} bytes)',
|
|
322
|
+
'explorer.props.calcSize': 'Calcular tamanho',
|
|
323
|
+
'explorer.props.contains': '{files} arquivos, {dirs} pastas',
|
|
324
|
+
'explorer.props.counting': 'Contando…',
|
|
325
|
+
'explorer.props.cancel': 'Cancelar',
|
|
326
|
+
'explorer.props.sha256': 'SHA-256',
|
|
327
|
+
'explorer.props.hashing': 'Calculando hash…',
|
|
328
|
+
'explorer.props.copy': 'Copiar',
|
|
329
|
+
'explorer.props.close': 'Fechar',
|
|
330
|
+
'explorer.props.copied': 'Copiado',
|
|
331
|
+
'explorer.compareBinary': 'Arquivos binários não podem ser comparados.',
|
|
332
|
+
'explorer.compareTruncated': 'Um arquivo é grande demais; só o início é comparado.',
|
|
333
|
+
'explorer.reveal': 'Mostrar no Explorador',
|
|
334
|
+
'explorer.goToFile': 'Ir para o arquivo',
|
|
335
|
+
'explorer.openInEditor': 'Abrir no {editor}',
|
|
336
|
+
'explorer.editorMissing': 'não encontrado',
|
|
337
|
+
'explorer.openDefault': 'Abrir com o app padrão',
|
|
338
|
+
'explorer.copyFullPath': 'Copiar caminho completo',
|
|
339
|
+
'explorer.copyPath': 'Copiar caminho relativo',
|
|
340
|
+
'explorer.extractHere': 'Extrair aqui',
|
|
341
|
+
'explorer.extractTo': 'Extrair para…',
|
|
342
|
+
'explorer.extractToLabel': 'Pasta (relativa ao projeto)',
|
|
343
|
+
'explorer.extracted': '{name} extraído para {target}',
|
|
344
|
+
'explorer.compressZip': 'Compactar em .zip',
|
|
345
|
+
'explorer.compress7z': 'Compactar em .7z',
|
|
346
|
+
'explorer.compressed': '{name} criado',
|
|
347
|
+
'explorer.compressedSkipped': '{name} criado; {count} links foram ignorados',
|
|
348
|
+
'explorer.name': 'Nome',
|
|
349
|
+
'explorer.nameInvalid': 'Este nome não é válido.',
|
|
350
|
+
'explorer.items': '{count} itens',
|
|
351
|
+
'explorer.andMore': '…e mais {count}',
|
|
352
|
+
'explorer.dirtyTitle': 'Alterações não salvas',
|
|
353
|
+
'explorer.deleteTitle': 'Excluir',
|
|
354
|
+
'explorer.deleteBody': '{name} vai para a Lixeira. Você pode restaurar de lá.',
|
|
355
|
+
'explorer.deleteMany': '{count} itens vão para a Lixeira. Você pode restaurar de lá.',
|
|
356
|
+
'explorer.deleteOne': 'Exclua um item por vez',
|
|
357
|
+
'explorer.undo': 'Desfazer',
|
|
358
|
+
'explorer.undone': 'Desfeito: {what}',
|
|
359
|
+
'explorer.undoNothing': 'Nada para desfazer.',
|
|
360
|
+
'explorer.did.create': '{name} criado',
|
|
361
|
+
'explorer.did.rename': '{name} renomeado',
|
|
362
|
+
'explorer.did.move': '{name} movido',
|
|
363
|
+
'explorer.did.copy': '{name} copiado',
|
|
364
|
+
'explorer.undoDeleteTitle': 'Desfazer?',
|
|
365
|
+
'explorer.undoDeleteBody': '{name} vai para a Lixeira.',
|
|
366
|
+
'explorer.existsTitle': 'Nome já em uso',
|
|
367
|
+
'explorer.existsBody': 'Já existe um arquivo ou pasta chamado {name} aqui.',
|
|
368
|
+
'explorer.replace': 'Substituir',
|
|
369
|
+
'explorer.keepBoth': 'Manter os dois',
|
|
370
|
+
'explorer.skip': 'Ignorar',
|
|
371
|
+
'explorer.applyToAll': 'Fazer isso para todos os conflitos',
|
|
372
|
+
'explorer.uploading': 'Adicionando arquivos: {done} de {total}',
|
|
373
|
+
'explorer.uploadFailed': '{count} arquivos não puderam ser adicionados: {error}',
|
|
374
|
+
'explorer.dirtyDelete': '{count} arquivos abertos têm alterações não salvas que serão perdidas.',
|
|
375
|
+
'explorer.moveTitle': 'Mover',
|
|
376
|
+
'explorer.moveBody': 'Mover {name} para {target}?',
|
|
377
|
+
'explorer.moveMany': 'Mover {count} itens para {target}?',
|
|
378
|
+
'settings.explorer.confirmDelete': 'Confirmar exclusão',
|
|
379
|
+
'settings.explorer.confirmDelete.hint': 'Pergunta antes de excluir arquivos e pastas. O aviso de alterações não salvas em arquivos abertos continua aparecendo.',
|
|
380
|
+
'settings.explorer.confirmDragDrop': 'Confirmar arrastar e soltar',
|
|
381
|
+
'settings.explorer.confirmDragDrop.hint': 'Pergunta antes de mover arquivos e pastas arrastando-os na árvore.',
|
|
382
|
+
'settings.explorer.showHidden': 'Mostrar entradas excluídas',
|
|
383
|
+
'settings.explorer.showHidden.hint': 'Inicia cada árvore mostrando as entradas que combinam com #files.exclude#. O cabeçalho da árvore ainda alterna isso.',
|
|
384
|
+
'settings.explorer.restoreTabs': 'Restaurar abas',
|
|
385
|
+
'settings.explorer.restoreTabs.hint': 'Reabre as abas da última sessão ao abrir o Explorer.',
|
|
386
|
+
'settings.explorer.markdownToc': 'Sumário',
|
|
387
|
+
'settings.explorer.markdownToc.hint': 'Mostra uma barra de títulos ao lado do Markdown renderizado na visualização; clique nela para ir a um título.',
|
|
388
|
+
'explorer.dirtyMove': '{count} arquivos abertos têm alterações não salvas. Eles continuam abertos no novo caminho.',
|
|
389
|
+
'explorer.newNameHint': 'Enter para criar, Esc para cancelar',
|
|
390
|
+
'explorer.copy': 'Copiar',
|
|
391
|
+
'explorer.cut': 'Recortar',
|
|
392
|
+
'explorer.paste': 'Colar',
|
|
393
|
+
'explorer.search.placeholder': 'Buscar em {name}',
|
|
394
|
+
'explorer.search.content': 'Conteúdo',
|
|
395
|
+
'explorer.search.none': 'Nenhum resultado',
|
|
396
|
+
'explorer.search.count': '{count} resultados',
|
|
397
|
+
'explorer.search.truncated': 'mostrando os primeiros {count}',
|
|
398
|
+
'explorer.search.running': 'Buscando…',
|
|
399
|
+
'explorer.showExcluded': 'Mostrar arquivos e pastas excluídos',
|
|
400
|
+
'explorer.search.open': 'Buscar neste projeto',
|
|
401
|
+
'explorer.search.close': 'Fechar a busca',
|
|
402
|
+
'explorer.find.placeholder': 'Procurar na árvore (Enter: próximo)',
|
|
403
|
+
'explorer.find.filter': 'Filtrar',
|
|
404
|
+
'explorer.find.filterHint': 'Mostrar só as entradas encontradas',
|
|
405
|
+
'explorer.find.none': 'Nada encontrado',
|
|
406
|
+
'explorer.more': 'Mais ações',
|
|
407
|
+
'explorer.split': 'Mostrar um segundo projeto abaixo',
|
|
408
|
+
'explorer.closeTree': 'Fechar esta árvore',
|
|
409
|
+
'explorer.edit': 'Editar',
|
|
410
|
+
'explorer.wrap': 'Quebrar linhas',
|
|
411
|
+
'explorer.preview': 'Visualizar',
|
|
412
|
+
'explorer.save': 'Salvar',
|
|
413
|
+
'explorer.reload': 'Recarregar do disco',
|
|
414
|
+
'explorer.sql.pickConnection': 'Escolha uma conexão',
|
|
415
|
+
'explorer.sql.noConnection': 'Escolha uma conexão primeiro',
|
|
416
|
+
'explorer.sql.openWorkbench': 'Abrir no Workbench',
|
|
417
|
+
'explorer.sql.close': 'Fechar resultados',
|
|
418
|
+
'explorer.sql.steps': 'Etapas',
|
|
419
|
+
'explorer.sql.xmlView': 'Visão SQL',
|
|
420
|
+
'explorer.sql.merge': 'Mesclar SQL',
|
|
421
|
+
'explorer.sql.params': 'Parâmetros',
|
|
422
|
+
'explorer.sql.paramsHint': 'Os valores entram como digitados no SQL; coloque aspas no texto.',
|
|
423
|
+
'explorer.sql.paramOptional': 'opcional: só usado em linha condicional',
|
|
424
|
+
'explorer.sql.paramRequired': 'usado diretamente no SQL',
|
|
425
|
+
'explorer.sql.paramsRun': 'Executar',
|
|
426
|
+
'explorer.curl.openRest': 'Abrir no REST',
|
|
427
|
+
'explorer.curl.close': 'Fechar resposta',
|
|
428
|
+
'explorer.curl.notCurl': 'Nenhum comando curl no cursor.',
|
|
429
|
+
'explorer.logRotated': 'O arquivo foi truncado ou rotacionado; exibindo desde o início de novo.',
|
|
430
|
+
'explorer.logCopied': '{count} linhas copiadas',
|
|
431
|
+
'explorer.logTooLarge': 'Grande demais para copiar, use Salvar até o fim.',
|
|
432
|
+
'explorer.logSaved': 'Salvo em {path}',
|
|
433
|
+
'explorer.logDismiss': 'Dispensar',
|
|
434
|
+
'explorer.discardTitle': 'Descartar alterações?',
|
|
435
|
+
'explorer.discardBody': 'As alterações não salvas de {name} serão perdidas.',
|
|
436
|
+
'explorer.discard': 'Descartar',
|
|
437
|
+
'explorer.pathCopied': 'Caminho copiado',
|
|
438
|
+
'explorer.copyFailed': 'Não foi possível copiar para a área de transferência.',
|
|
439
|
+
'explorer.staleSave': 'Falha ao salvar {name}: o arquivo no disco é mais recente. Recarregue para descartar suas alterações, ou sobrescreva o arquivo com elas.',
|
|
440
|
+
'explorer.overwrite': 'Sobrescrever',
|
|
441
|
+
'explorer.overwriteTitle': 'Sobrescrever o arquivo?',
|
|
442
|
+
'explorer.overwriteBody': 'As alterações feitas em {name} no disco serão perdidas.',
|
|
443
|
+
'explorer.readOnlySave': 'Falha ao salvar {name}: o arquivo é somente leitura.',
|
|
444
|
+
'explorer.makeWritable': 'Tornar gravável e salvar',
|
|
445
|
+
'explorer.status.position': 'Ln {line}, Col {col}',
|
|
446
|
+
'explorer.status.selected': '({count} selecionados)',
|
|
447
|
+
'explorer.status.selections': '{count} seleções',
|
|
448
|
+
'explorer.status.selectionsChars': '{count} seleções ({chars} caracteres selecionados)',
|
|
449
|
+
'explorer.status.eol': 'Mudar para quebras de linha {eol}',
|
|
450
|
+
'explorer.status.encoding': 'Codificação do arquivo',
|
|
451
|
+
'explorer.status.language': 'Linguagem',
|
|
452
|
+
'explorer.status.size': 'Tamanho do arquivo',
|
|
453
|
+
'explorer.status.imageSize': 'Tamanho da imagem',
|
|
454
|
+
'explorer.status.zoom': 'Zoom',
|
|
455
|
+
'explorer.status.readOnly': 'Somente leitura',
|
|
456
|
+
'explorer.status.truncated': 'Truncado',
|
|
457
|
+
'settings.section.explorer': 'Explorador',
|
|
458
|
+
'settings.explorer.saving': 'Salvar arquivos',
|
|
459
|
+
'settings.explorer.autoSave': 'Salvamento automático',
|
|
460
|
+
'settings.explorer.autoSave.off': 'Desligado',
|
|
461
|
+
'settings.explorer.autoSave.afterDelay': 'Após uma pausa',
|
|
462
|
+
'settings.explorer.autoSave.onFocusChange': 'Ao trocar o foco',
|
|
463
|
+
'settings.explorer.autoSave.hint': 'Após uma pausa salva 1 s depois que você para de digitar; ao trocar o foco salva quando você sai da aba ou da janela.',
|
|
464
|
+
'settings.explorer.trim': 'Remover espaços no fim das linhas',
|
|
465
|
+
'settings.explorer.trim.hint': 'Remove espaços no fim das linhas ao salvar. Não em Markdown, onde dois espaços são uma quebra de linha. Vale também para #files.autoSave#.',
|
|
466
|
+
'settings.explorer.finalNewline': 'Inserir quebra de linha final',
|
|
467
|
+
'settings.explorer.finalNewline.hint': 'Termina o arquivo com uma quebra de linha ao salvar, inclusive com #files.autoSave#.',
|
|
468
|
+
'settings.explorer.tabs': 'Abas',
|
|
469
|
+
'settings.explorer.autoReveal': 'Revelar automaticamente',
|
|
470
|
+
'settings.explorer.autoReveal.hint': 'Ao selecionar uma aba, o arquivo aparece na árvore do Explorador: as pastas se abrem e o arquivo é selecionado. node_modules e .git são ignorados.',
|
|
471
|
+
'settings.explorer.view': 'Árvore',
|
|
472
|
+
'settings.explorer.exclude': 'Arquivos excluídos',
|
|
473
|
+
'settings.explorer.exclude.hint': 'Um padrão por linha, comparado com o caminho a partir da raiz do projeto; dois asteriscos no início valem em qualquer nível. O que combina some da árvore e da busca; o botão de olho no cabeçalho da árvore mostra esmaecido.',
|
|
474
|
+
'settings.explorer.sort': 'Ordem',
|
|
475
|
+
'settings.explorer.sort.hint': 'Como as entradas de uma pasta são ordenadas.',
|
|
476
|
+
'settings.explorer.sort.default': 'Pastas primeiro',
|
|
477
|
+
'settings.explorer.sort.mixed': 'Misturado',
|
|
478
|
+
'settings.explorer.sort.filesFirst': 'Arquivos primeiro',
|
|
479
|
+
'settings.explorer.sort.type': 'Tipo',
|
|
480
|
+
'settings.explorer.sort.modified': 'Modificado',
|
|
481
|
+
'settings.explorer.compact': 'Pastas compactas',
|
|
482
|
+
'settings.explorer.compact.hint': 'Mostra uma pasta que contém só uma pasta na mesma linha, como src/main/java. Esquerda e Direita mudam de parte.',
|
|
483
|
+
'settings.explorer.nesting': 'Agrupar arquivos',
|
|
484
|
+
'settings.explorer.nesting.hint': 'Mostra arquivos relacionados sob um arquivo pai, como o package.json com seus arquivos de lock. Renomear, excluir ou mover o pai não mexe nos agrupados.',
|
|
485
|
+
'settings.explorer.nesting.patterns': 'Padrões de agrupamento',
|
|
486
|
+
'settings.explorer.nesting.patterns.hint': 'Um por linha: padrão do pai, dois pontos e padrões dos filhos separados por vírgula. O pai pode ter um asterisco; os filhos podem usar ${capture} (o que esse asterisco pegou), ${basename}, ${extname}, ${dirname} e um asterisco.',
|
|
487
|
+
'settings.explorer.breadcrumbs': 'Trilha de navegação',
|
|
488
|
+
'settings.explorer.breadcrumbs.hint': 'Mostra o caminho acima do editor em segmentos. Clique em uma pasta para listar o conteúdo.',
|
|
489
|
+
'explorer.revealInTree': 'Mostrar na árvore do Explorador',
|
|
490
|
+
'explorer.openSide': 'Abrir ao lado',
|
|
491
|
+
'explorer.refresh': 'Atualizar',
|
|
492
|
+
'explorer.collapseAll': 'Recolher todas as pastas',
|
|
493
|
+
'explorer.expandAll': 'Expandir todas as pastas',
|
|
494
|
+
'keys.explorer.revealInTree': 'Mostrar o arquivo ativo na árvore',
|
|
495
|
+
'keys.explorer.collapseAll': 'Recolher todas as pastas da árvore',
|
|
496
|
+
'keys.explorer.breadcrumbs': 'Focar a trilha de navegação',
|
|
497
|
+
'settings.explorer.previewTabs': 'Abas de visualização',
|
|
498
|
+
'settings.explorer.previewTabs.hint': 'Um clique em um arquivo o abre em uma aba em itálico que o próximo clique substitui. Clique duas vezes no arquivo ou na aba, ou edite o arquivo, para mantê-lo aberto. Desligado: um clique só seleciona.',
|
|
499
|
+
'keys.explorer.zen': 'Modo zen: esconde tudo menos as abas (Esc duas vezes sai)',
|
|
500
|
+
'keys.file.save': 'Salvar arquivo',
|
|
501
|
+
'keys.file.wrap': 'Alternar quebra de linhas',
|
|
502
|
+
'keys.explorer.sqlProblems': 'Mostrar problemas do SQL',
|
|
503
|
+
'keys.explorer.sqlFormat': 'Formatar arquivo SQL',
|
|
504
|
+
'keys.markdown.live': 'Markdown: Ao vivo',
|
|
505
|
+
'keys.markdown.edit': 'Markdown: Código',
|
|
506
|
+
'keys.markdown.split': 'Markdown: Dividir',
|
|
507
|
+
'keys.markdown.preview': 'Markdown: Alternar visualização',
|
|
508
|
+
'explorer.layout': 'Coluna de texto',
|
|
509
|
+
'keys.explorer.search': 'Buscar no projeto',
|
|
510
|
+
'keys.explorer.find': 'Procurar na árvore',
|
|
511
|
+
'explorer.shared.run': 'Executar',
|
|
512
|
+
'explorer.shared.cancel': 'Cancelar',
|
|
513
|
+
'explorer.shared.sourceManage': 'Conexões…',
|
|
514
|
+
'explorer.shared.source': 'Origem',
|
|
515
|
+
'explorer.shared.runAll': 'Executar tudo',
|
|
516
|
+
'explorer.shared.format': 'Formatar',
|
|
517
|
+
'explorer.shared.txPending': 'Alterações não confirmadas',
|
|
518
|
+
'explorer.shared.copySelected': 'Copiar selecionadas',
|
|
519
|
+
'explorer.shared.copy': 'Copiar resultados',
|
|
520
|
+
'explorer.shared.txCommit': 'Commit',
|
|
521
|
+
'explorer.shared.txRollback': 'Rollback',
|
|
522
|
+
'explorer.shared.terminalTab': 'Terminal',
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
export type ExplorerMessageKey = keyof typeof en;
|
|
526
|
+
export const t = createT<ExplorerMessageKey>();
|
package/src/options.ts
ADDED