-
Notifications
You must be signed in to change notification settings - Fork 116
Expand file tree
/
Copy pathlocalize.ts
More file actions
185 lines (175 loc) · 6.86 KB
/
Copy pathlocalize.ts
File metadata and controls
185 lines (175 loc) · 6.86 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
175
176
177
178
179
180
181
182
183
184
185
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
'use strict';
import { l10n } from 'vscode';
export namespace AttachProcess {
export const attachTitle = l10n.t('Attach to process');
export const selectProcessPlaceholder = l10n.t('Select the process to attach to');
export const noProcessSelected = l10n.t('No process selected');
export const refreshList = l10n.t('Refresh process list');
}
export namespace DebugConfigStrings {
export const debugStopped = l10n.t('Debug Stopped');
export const selectConfiguration = {
title: l10n.t('Select a debug configuration'),
placeholder: l10n.t('Debug Configuration'),
};
export const launchJsonCompletions = {
label: l10n.t('Python Debugger'),
description: l10n.t('Select a Python Debugger debug configuration'),
};
export const browsePath = {
label: l10n.t('Browse Files...'),
detail: l10n.t('Browse your file system to find a Python file.'),
openButtonLabel: l10n.t('Select File'),
title: l10n.t('Select Python File'),
};
export namespace file {
export const snippet = {
name: l10n.t('Python Debugger: Current File'),
};
export const selectConfiguration = {
label: l10n.t('Python File'),
description: l10n.t('Debug the currently active Python file'),
};
}
export namespace fileWithArgs {
export const snippet = {
name: l10n.t('Python Debugger: Current File with Arguments'),
};
export const selectConfiguration = {
label: l10n.t('Python File with Arguments'),
description: l10n.t('Debug the currently active Python file with arguments'),
};
}
export namespace module {
export const snippet = {
name: l10n.t('Python Debugger: Module'),
default: l10n.t('enter-your-module-name'),
};
export const selectConfiguration = {
label: l10n.t('Module'),
description: l10n.t("Debug a Python module by invoking it with '-m'"),
};
export const enterModule = {
title: l10n.t('Debug Module'),
prompt: l10n.t('Enter a Python module/package name'),
default: l10n.t('enter-your-module-name'),
invalid: l10n.t('Enter a valid module name'),
};
}
export namespace attach {
export const snippet = {
name: l10n.t('Python Debugger: Remote Attach'),
};
export const selectConfiguration = {
label: l10n.t('Remote Attach'),
description: l10n.t('Attach to a remote debug server'),
};
export const enterRemoteHost = {
title: l10n.t('Remote Debugging'),
prompt: l10n.t('Enter a valid host name or IP address'),
invalid: l10n.t('Enter a valid host name or IP address'),
};
export const enterRemotePort = {
title: l10n.t('Remote Debugging'),
prompt: l10n.t('Enter the port number that the debug server is listening on'),
invalid: l10n.t('Enter a valid port number'),
};
}
export namespace attachPid {
export const snippet = {
name: l10n.t('Python Debugger: Attach using Process Id'),
};
export const selectConfiguration = {
label: l10n.t('Attach using Process ID'),
description: l10n.t('Attach to a local process'),
};
}
export namespace django {
export const snippet = {
name: l10n.t('Python Debugger: Django'),
};
export const selectConfiguration = {
label: l10n.t('Django'),
description: l10n.t('Launch and debug a Django web application'),
};
export const djangoConfigPromp = {
title: l10n.t('Debug Django'),
prompt: l10n.t('Enter the path to manage.py or select a file from the list.'),
};
}
export namespace fastapi {
export const snippet = {
name: l10n.t('Python Debugger: FastAPI'),
};
export const selectConfiguration = {
label: l10n.t('FastAPI'),
description: l10n.t('Launch and debug a FastAPI web application'),
};
export const snippetFile = {
name: l10n.t('Python Debugger: FastAPI File'),
};
export const selectConfigurationWithFile = {
label: l10n.t('FastAPI File'),
description: l10n.t('Launch and debug a FastAPI web application using the current file'),
};
}
export namespace flask {
export const snippet = {
name: l10n.t('Python Debugger: Flask'),
};
export const selectConfiguration = {
label: l10n.t('Flask'),
description: l10n.t('Launch and debug a Flask web application'),
};
export const enterAppPathOrNamePath = {
title: l10n.t('Debug Flask'),
prompt: l10n.t('Python Debugger: Flask'),
invalid: l10n.t('Enter a valid name'),
};
export const flaskConfigPromp = {
title: l10n.t('Debug Flask'),
prompt: l10n.t('Enter the path to app.py or select a file from the list.'),
};
}
export namespace pyramid {
export const snippet = {
name: l10n.t('Python Debugger: Pyramid Application'),
};
export const selectConfiguration = {
label: l10n.t('Pyramid'),
description: l10n.t('Launch and debug a Pyramid web application'),
};
export const enterDevelopmentIniPath = {
title: l10n.t('Debug Pyramid'),
invalid: l10n.t('Enter a valid file path'),
};
}
}
export namespace Common {
export const loadingExtension = l10n.t('Python Debugger extension loading...');
export const doNotShowAgain = l10n.t('Do not show again');
export const moreInfo = l10n.t('More Info');
export const noIWillDoItLater = l10n.t('No, I will do it later');
export const openLaunch = l10n.t('Open launch.json');
export const selectPythonInterpreter = l10n.t('Select Python Interpreter');
}
export namespace Interpreters {
export const changePythonInterpreter = l10n.t('Change Python Interpreter');
}
export namespace OutdatedDebugger {
export const outdatedDebuggerMessage = l10n.t(
'We noticed you are attaching to ptvsd (Python debugger), which was deprecated on May 1st, 2020. Please switch to [debugpy](https://aka.ms/migrateToDebugpy).',
);
}
export namespace Logging {
export const currentWorkingDirectory = l10n.t('cwd:');
}
export namespace pickArgsInput {
export const title = l10n.t('Command Line Arguments');
export const prompt = l10n.t('Enter the command line arguments you want to pass to the program');
}
export namespace DebugVisualizers {
export const hexDecoder = l10n.t('Show as Hex');
}