forked from electerm/electerm-locales
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathen_us.js
296 lines (274 loc) · 7.27 KB
/
en_us.js
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
/**
* language: english
*/
const lang = {
//app desc
app: {
desc: 'electerm is a terminal/ssh/sftp client(linux, mac, win) based on electron/ss2/node-pty/xterm/antd and many other libs',
isRunning: 'is running',
press: 'press',
toShow: 'to show'
},
//app menu
menu: {
//mac app
hide: 'hide',
hideothers: 'hide others',
unhide: 'unhide',
quit: 'quit',
//edit
edit: 'edit',
undo: 'undo',
redo: 'redo',
cut: 'cut',
copy: 'copy',
paste: 'paste',
pasteandmatchstyle: 'paste and match style',
del: 'delete',
selectall: 'select all',
startspeaking: 'start speaking',
stopspeaking: 'stop speaking',
//view
view: 'view',
reload: 'reload',
forcereload: 'force reload',
toggledevtools: 'toggle dev tools',
toggleControl: 'toggle control buttons',
resetzoom: 'reset zoom',
zoomin: 'zoom in',
zoomout: 'zoom out',
togglefullscreen: 'toggle fullscreen',
//window
window: 'window',
minimize: 'minimize',
maximize: 'maximize',
unmaximize: 'unmaximize',
close: 'close',
restart: 'restart',
front: 'front',
//help
help: 'help',
about: 'about',
checkUpdate: 'check update',
reportIssue: 'report issue',
homepage: 'homepage'
},
//common
common: {
history: 'history',
bookmarks: 'bookmarks',
bookmarkCategory: 'category',
setting: 'setting',
about: 'about',
ok: 'ok',
cancel: 'cancel',
restoreSessions: 'restore sessions from uncorrect shutdown?'
},
//control buttons
control: {
author: 'author',
download: 'download',
bugReport: 'bug report',
checkForUpdate: 'check for update',
homepage: 'homepage',
notFoundContent: 'no item',
newSsh: 'new ssh',
newTerminal: 'new terminal',
dependencies: 'dependencies',
env: 'env',
os: 'os',
userTips: 'user tips'
},
//transferHistory
transferHistory: {
transferHistory: 'transfer history',
localPath: 'local path',
remotePath: 'remote path',
type: 'type',
startTime: 'start time',
finishTime: 'finish time',
speed: 'speed',
clear: 'clear'
},
//ssh tabs
tabs: {
titleEmptyWarn: 'title can not be empty',
close: 'close',
closeOtherTabs: 'close other tabs',
closeTabRight: 'close tabs on the right',
newTab: 'new tab',
duplicate: 'duplicate',
rename: 'rename',
openNewTerm: 'open new terminal'
},
//main warpper
main: {
error: 'Something went wrong.'
},
//updater check
updater: {
noNeed: 'no need to update',
noNeedDesc: 'you are using the latest release',
fail: 'check update fails',
goGetIt: 'go get it!',
newVersion: 'new version found'
},
//setting
setting: {
new: 'new',
settings: 'settings',
common: 'common',
hotkeyNotOk: 'hotkey can not be registe, please use another one',
saved: 'saved',
saveLang: 'saved, restart to take effect',
restartNow: 'restart now',
hotkeyDesc: 'system hotkey(bring window back to front)',
timeoutDesc: 'ssh/sftp timeout(in millisecond)',
scrollBackDesc: 'scrollback lines',
language: 'language',
copyWhenSelect: 'copy selected text when select',
rightClickSelectsWord: 'right click auto select word',
pasteWhenContextMenu: 'paste when right click',
fontSize: 'font size',
fontFamily: 'font family',
opacity: 'opacity',
resetAllToDefault: 'restore settings to their original defaults'
},
//sftp
sftp: {
cancel: 'cancel',
skip: 'skip',
merge: 'merge',
overwrite: 'overwrite',
rename: 'rename',
renameAll: 'rename all',
mergeDesc: 'merge rest conflict folders',
overwriteDesc: 'overwrite rest conflict files',
mergeAll: 'merge all',
overwriteAll: 'overwrite all',
renameDesc: 'rename rest files/folders',
folder: 'folder',
file: 'file',
fileConflict: 'file conflict',
submit: 'submit',
edit: 'edit',
open: 'open',
permission: 'permission',
name: 'name',
mode: 'mode',
path: 'path',
fullPath: 'full path',
size: 'size',
accessTime: 'access time',
modifyTime: 'modify time',
attributes: 'attributes',
enter: 'enter',
deleteAll: 'delete all',
selected: 'selected',
newFile: 'new file',
newFolder: 'new folder',
selectAll: 'select all',
refresh: 'refresh',
editPermission: 'edit permission',
info: 'info',
filesAndFolders: 'files/folders',
files: 'files',
delTip: 'are you sure? this will delete these',
delTip1: 'and all the file/directory in them',
goParent: 'goto parent folder',
hide: 'hide',
show: 'show',
hfd: 'hidden files and directories',
remote: 'remote',
local: 'local',
fileTransfers: 'file transfers',
cancelAll: 'cancel all',
upload: 'upload',
download: 'download',
resume: 'resume',
pause: 'pause',
reset: 'reset'
},
permission: {
read: 'read',
write: 'write',
exec: 'exec',
owner: 'owner',
group: 'group',
other: 'other'
},
//ssh form
form: {
password: 'password',
privateKey: 'privateKey',
privateKeyDesc: 'private key string',
importFromFile: 'import from file',
passphrase: 'passphrase',
passphraseDesc: 'passphrase for privateKey',
host: 'host',
username: 'username',
port: 'port',
title: 'title',
saveAndConnect: 'save and connect',
save: 'save',
loginScript: 'run script',
loginScriptTip: 'run script after logined',
connect: 'connect',
testConnection: 'test connection',
required: 'required',
proxyIp: 'proxy ip',
proxyPort: 'proxy port',
proxyType: 'proxy type',
proxyIpPlaceholder: 'proxy ip address',
selectProxy: 'select proxy',
auth: 'auth',
proxy: 'proxy',
use: 'use'
},
//ssh terminal
ssh: {
clear: 'clear',
selectAll: 'select all',
savePassword: 'save password',
search: 'search',
terminal: 'terminal',
nextMatch: 'next match',
prevMatch: 'prev match',
split: 'split',
fileManager: 'file manager',
changeDirection: 'change direction'
},
//user tips
userTips: [
'<b>double click</b> a ssh tab will duplicate a same tab, and enter same path as original tab(limited support)',
'<b>double click</b> blank area of tab bar will open a new ssh terminal too',
'<b>right click</b> a ssh tab you can open context menu, from context menu there are <b>close other tabs</b>, <b>close tabs on the right</b>, and other functions',
'by default, <b>Ctrl + 2</b> will bring electerm window to front, hotkey can be set in <b>setting</b> menu',
'sftp copy and paste works in both local and remote'
],
//features
features: [
'work as a terminal or ssh/sftp client(similar to xshell)',
'hotkey to bring window back to front(simliar to guake, default is ctrl + 2)',
'support multi platform(linux, mac, windows)',
'support multi-language(en, cn only for now)'
],
featuresName: 'features',
//terminal themes
terminalThemes: {
terminalThemes: 'terminal themes',
export: 'export',
themeName: 'theme name',
saveAndApply: 'save and apply',
apply: 'apply',
default: 'default',
newTheme: 'new theme',
themeConfig: 'theme config',
updated: 'updated'
}
}
module.exports = {
lang,
name: 'English',
match: /en/
}