@campus-admin/locale 2.0.9 → 2.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/dist/index.d.ts +166 -0
- package/dist/index.js +166 -0
- package/dist/zh-CN.d.ts +83 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,89 @@ export declare const LOCALES: {
|
|
|
8
8
|
export declare const frameworkMessages: {
|
|
9
9
|
'zh-CN': {
|
|
10
10
|
campus: {
|
|
11
|
+
quickChat: {
|
|
12
|
+
title: string;
|
|
13
|
+
select: string;
|
|
14
|
+
loadFailed: string;
|
|
15
|
+
sendFailed: string;
|
|
16
|
+
retry: string;
|
|
17
|
+
you: string;
|
|
18
|
+
assistant: string;
|
|
19
|
+
message: string;
|
|
20
|
+
placeholder: string;
|
|
21
|
+
send: string;
|
|
22
|
+
};
|
|
23
|
+
personalTools: {
|
|
24
|
+
notes: string;
|
|
25
|
+
closeNotes: string;
|
|
26
|
+
notesList: string;
|
|
27
|
+
dock: string;
|
|
28
|
+
blank: string;
|
|
29
|
+
noteTitle: string;
|
|
30
|
+
noteBody: string;
|
|
31
|
+
notePlaceholder: string;
|
|
32
|
+
colors: string;
|
|
33
|
+
currentColor: string;
|
|
34
|
+
colorName: string;
|
|
35
|
+
expand: string;
|
|
36
|
+
dragNote: string;
|
|
37
|
+
collapse: string;
|
|
38
|
+
returnNote: string;
|
|
39
|
+
pin: string;
|
|
40
|
+
newNote: string;
|
|
41
|
+
emptyNotes: string;
|
|
42
|
+
hideNotes: string;
|
|
43
|
+
showNotes: string;
|
|
44
|
+
hiddenNotes: string;
|
|
45
|
+
shownNotes: string;
|
|
46
|
+
markLine: string;
|
|
47
|
+
noteTooLong: string;
|
|
48
|
+
notesDisabled: string;
|
|
49
|
+
removeNote: string;
|
|
50
|
+
retry: string;
|
|
51
|
+
remove: string;
|
|
52
|
+
unsaved: string;
|
|
53
|
+
saveError: string;
|
|
54
|
+
saveDetail: string;
|
|
55
|
+
failure: string;
|
|
56
|
+
todo: string;
|
|
57
|
+
closeTodo: string;
|
|
58
|
+
todoPanel: string;
|
|
59
|
+
todoTitle: string;
|
|
60
|
+
todoColor: string;
|
|
61
|
+
changeColor: string;
|
|
62
|
+
activeColor: string;
|
|
63
|
+
drag: string;
|
|
64
|
+
reorder: string;
|
|
65
|
+
search: string;
|
|
66
|
+
searchTodo: string;
|
|
67
|
+
hideDone: string;
|
|
68
|
+
showDone: string;
|
|
69
|
+
close: string;
|
|
70
|
+
newTodo: string;
|
|
71
|
+
maxTodos: string;
|
|
72
|
+
add: string;
|
|
73
|
+
complete: string;
|
|
74
|
+
undoComplete: string;
|
|
75
|
+
editTodo: string;
|
|
76
|
+
editDue: string;
|
|
77
|
+
setDue: string;
|
|
78
|
+
dueDate: string;
|
|
79
|
+
dueTime: string;
|
|
80
|
+
clearDue: string;
|
|
81
|
+
doneDue: string;
|
|
82
|
+
noMatch: string;
|
|
83
|
+
allDone: string;
|
|
84
|
+
emptyTodo: string;
|
|
85
|
+
todoSave: string;
|
|
86
|
+
todoSaveDetail: string;
|
|
87
|
+
yellow: string;
|
|
88
|
+
pink: string;
|
|
89
|
+
green: string;
|
|
90
|
+
blue: string;
|
|
91
|
+
purple: string;
|
|
92
|
+
gray: string;
|
|
93
|
+
};
|
|
11
94
|
doc: {
|
|
12
95
|
sheetjsDependency: string;
|
|
13
96
|
title: string;
|
|
@@ -217,6 +300,89 @@ export declare const frameworkMessages: {
|
|
|
217
300
|
};
|
|
218
301
|
'en-US': {
|
|
219
302
|
campus: {
|
|
303
|
+
quickChat: {
|
|
304
|
+
title: string;
|
|
305
|
+
select: string;
|
|
306
|
+
loadFailed: string;
|
|
307
|
+
sendFailed: string;
|
|
308
|
+
retry: string;
|
|
309
|
+
you: string;
|
|
310
|
+
assistant: string;
|
|
311
|
+
message: string;
|
|
312
|
+
placeholder: string;
|
|
313
|
+
send: string;
|
|
314
|
+
};
|
|
315
|
+
personalTools: {
|
|
316
|
+
notes: string;
|
|
317
|
+
closeNotes: string;
|
|
318
|
+
notesList: string;
|
|
319
|
+
dock: string;
|
|
320
|
+
blank: string;
|
|
321
|
+
noteTitle: string;
|
|
322
|
+
noteBody: string;
|
|
323
|
+
notePlaceholder: string;
|
|
324
|
+
colors: string;
|
|
325
|
+
currentColor: string;
|
|
326
|
+
colorName: string;
|
|
327
|
+
expand: string;
|
|
328
|
+
dragNote: string;
|
|
329
|
+
collapse: string;
|
|
330
|
+
returnNote: string;
|
|
331
|
+
pin: string;
|
|
332
|
+
newNote: string;
|
|
333
|
+
emptyNotes: string;
|
|
334
|
+
hideNotes: string;
|
|
335
|
+
showNotes: string;
|
|
336
|
+
hiddenNotes: string;
|
|
337
|
+
shownNotes: string;
|
|
338
|
+
markLine: string;
|
|
339
|
+
noteTooLong: string;
|
|
340
|
+
notesDisabled: string;
|
|
341
|
+
removeNote: string;
|
|
342
|
+
retry: string;
|
|
343
|
+
remove: string;
|
|
344
|
+
unsaved: string;
|
|
345
|
+
saveError: string;
|
|
346
|
+
saveDetail: string;
|
|
347
|
+
failure: string;
|
|
348
|
+
todo: string;
|
|
349
|
+
closeTodo: string;
|
|
350
|
+
todoPanel: string;
|
|
351
|
+
todoTitle: string;
|
|
352
|
+
todoColor: string;
|
|
353
|
+
changeColor: string;
|
|
354
|
+
activeColor: string;
|
|
355
|
+
drag: string;
|
|
356
|
+
reorder: string;
|
|
357
|
+
search: string;
|
|
358
|
+
searchTodo: string;
|
|
359
|
+
hideDone: string;
|
|
360
|
+
showDone: string;
|
|
361
|
+
close: string;
|
|
362
|
+
newTodo: string;
|
|
363
|
+
maxTodos: string;
|
|
364
|
+
add: string;
|
|
365
|
+
complete: string;
|
|
366
|
+
undoComplete: string;
|
|
367
|
+
editTodo: string;
|
|
368
|
+
editDue: string;
|
|
369
|
+
setDue: string;
|
|
370
|
+
dueDate: string;
|
|
371
|
+
dueTime: string;
|
|
372
|
+
clearDue: string;
|
|
373
|
+
doneDue: string;
|
|
374
|
+
noMatch: string;
|
|
375
|
+
allDone: string;
|
|
376
|
+
emptyTodo: string;
|
|
377
|
+
todoSave: string;
|
|
378
|
+
todoSaveDetail: string;
|
|
379
|
+
yellow: string;
|
|
380
|
+
pink: string;
|
|
381
|
+
green: string;
|
|
382
|
+
blue: string;
|
|
383
|
+
purple: string;
|
|
384
|
+
gray: string;
|
|
385
|
+
};
|
|
220
386
|
doc: {
|
|
221
387
|
sheetjsDependency: string;
|
|
222
388
|
title: string;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,88 @@
|
|
|
1
1
|
// packages/locale/src/en-US.ts
|
|
2
2
|
var e = { campus: {
|
|
3
|
+
quickChat: {
|
|
4
|
+
title: "Quick chat",
|
|
5
|
+
select: "Select",
|
|
6
|
+
loadFailed: "Could not load chat options",
|
|
7
|
+
sendFailed: "Could not send. Try again.",
|
|
8
|
+
retry: "Retry",
|
|
9
|
+
you: "You",
|
|
10
|
+
assistant: "Assistant",
|
|
11
|
+
message: "Message",
|
|
12
|
+
placeholder: "Type a message…",
|
|
13
|
+
send: "Send"
|
|
14
|
+
},
|
|
15
|
+
personalTools: {
|
|
16
|
+
notes: "Sticky notes",
|
|
17
|
+
closeNotes: "Close sticky notes",
|
|
18
|
+
notesList: "Sticky notes list",
|
|
19
|
+
dock: "Pinned notes",
|
|
20
|
+
blank: "Blank note",
|
|
21
|
+
noteTitle: "Note title",
|
|
22
|
+
noteBody: "Note text",
|
|
23
|
+
notePlaceholder: "Write your note",
|
|
24
|
+
colors: "Note color",
|
|
25
|
+
currentColor: "Note color, current: {color}",
|
|
26
|
+
colorName: "Note color · {color}",
|
|
27
|
+
expand: "Expand note: {title}",
|
|
28
|
+
dragNote: "Drag note",
|
|
29
|
+
collapse: "Collapse",
|
|
30
|
+
returnNote: "Return to list",
|
|
31
|
+
pin: "Pin to page",
|
|
32
|
+
newNote: "New note",
|
|
33
|
+
emptyNotes: "No notes yet",
|
|
34
|
+
hideNotes: "Hide floating notes",
|
|
35
|
+
showNotes: "Show floating notes",
|
|
36
|
+
hiddenNotes: "Floating notes hidden",
|
|
37
|
+
shownNotes: "Floating notes shown",
|
|
38
|
+
markLine: "Mark line complete",
|
|
39
|
+
noteTooLong: "The note is too long. Shorten it and try again.",
|
|
40
|
+
notesDisabled: "Sticky notes are disabled. Your draft is still on this page.",
|
|
41
|
+
removeNote: "Delete “{title}”?",
|
|
42
|
+
retry: "Retry",
|
|
43
|
+
remove: "Delete",
|
|
44
|
+
unsaved: "Unsaved",
|
|
45
|
+
saveError: "Could not save. Try again.",
|
|
46
|
+
saveDetail: "Could not save: {message}",
|
|
47
|
+
failure: "Action failed. Try again.",
|
|
48
|
+
todo: "To-do",
|
|
49
|
+
closeTodo: "Close to-do",
|
|
50
|
+
todoPanel: "To-do list",
|
|
51
|
+
todoTitle: "To-do",
|
|
52
|
+
todoColor: "To-do color",
|
|
53
|
+
changeColor: "Change color · {color}",
|
|
54
|
+
activeColor: "Change color, current: {color}",
|
|
55
|
+
drag: "Drag",
|
|
56
|
+
reorder: "Drag to reorder",
|
|
57
|
+
search: "Search",
|
|
58
|
+
searchTodo: "Search to-do items",
|
|
59
|
+
hideDone: "Hide completed",
|
|
60
|
+
showDone: "Show completed",
|
|
61
|
+
close: "Close",
|
|
62
|
+
newTodo: "New to-do",
|
|
63
|
+
maxTodos: "Limit of {count} items",
|
|
64
|
+
add: "Add",
|
|
65
|
+
complete: "Complete",
|
|
66
|
+
undoComplete: "Mark incomplete",
|
|
67
|
+
editTodo: "Edit to-do",
|
|
68
|
+
editDue: "Edit due date",
|
|
69
|
+
setDue: "Set due date",
|
|
70
|
+
dueDate: "Due date",
|
|
71
|
+
dueTime: "Due time (optional)",
|
|
72
|
+
clearDue: "Clear due date",
|
|
73
|
+
doneDue: "Done",
|
|
74
|
+
noMatch: "No matching items",
|
|
75
|
+
allDone: "All done",
|
|
76
|
+
emptyTodo: "No to-do items yet",
|
|
77
|
+
todoSave: "To-do was not saved. Try again.",
|
|
78
|
+
todoSaveDetail: "To-do was not saved: {message}",
|
|
79
|
+
yellow: "Yellow",
|
|
80
|
+
pink: "Pink",
|
|
81
|
+
green: "Green",
|
|
82
|
+
blue: "Blue",
|
|
83
|
+
purple: "Purple",
|
|
84
|
+
gray: "Gray"
|
|
85
|
+
},
|
|
3
86
|
doc: {
|
|
4
87
|
sheetjsDependency: "Please install and register SheetJS: npm install https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz. Do not install the outdated xlsx registry release with known vulnerabilities. Register: registerDocLoader('xlsx', () => import('xlsx')).",
|
|
5
88
|
title: "Document viewer",
|
|
@@ -204,6 +287,89 @@ var e = { campus: {
|
|
|
204
287
|
backHome: "Back to home"
|
|
205
288
|
}
|
|
206
289
|
} }, t = { campus: {
|
|
290
|
+
quickChat: {
|
|
291
|
+
title: "快捷聊天",
|
|
292
|
+
select: "请选择",
|
|
293
|
+
loadFailed: "加载聊天范围失败",
|
|
294
|
+
sendFailed: "发送失败,请重试",
|
|
295
|
+
retry: "重试",
|
|
296
|
+
you: "你",
|
|
297
|
+
assistant: "助手",
|
|
298
|
+
message: "消息",
|
|
299
|
+
placeholder: "输入消息…",
|
|
300
|
+
send: "发送"
|
|
301
|
+
},
|
|
302
|
+
personalTools: {
|
|
303
|
+
notes: "便签",
|
|
304
|
+
closeNotes: "收起便签",
|
|
305
|
+
notesList: "便签列表",
|
|
306
|
+
dock: "置顶便签",
|
|
307
|
+
blank: "空白便签",
|
|
308
|
+
noteTitle: "便签标题",
|
|
309
|
+
noteBody: "便签内容",
|
|
310
|
+
notePlaceholder: "写下你的便签",
|
|
311
|
+
colors: "便签颜色",
|
|
312
|
+
currentColor: "便签颜色,当前{color}",
|
|
313
|
+
colorName: "便签颜色 · {color}",
|
|
314
|
+
expand: "展开便签:{title}",
|
|
315
|
+
dragNote: "拖动便签",
|
|
316
|
+
collapse: "折叠",
|
|
317
|
+
returnNote: "放回列表",
|
|
318
|
+
pin: "钉到页面",
|
|
319
|
+
newNote: "新建便签",
|
|
320
|
+
emptyNotes: "还没有便签",
|
|
321
|
+
hideNotes: "隐藏悬浮便签",
|
|
322
|
+
showNotes: "显示悬浮便签",
|
|
323
|
+
hiddenNotes: "已隐藏悬浮便签",
|
|
324
|
+
shownNotes: "已显示悬浮便签",
|
|
325
|
+
markLine: "标记本行完成",
|
|
326
|
+
noteTooLong: "内容超过字数上限,请缩短后重试",
|
|
327
|
+
notesDisabled: "便签功能已关闭,内容仍保留在本页",
|
|
328
|
+
removeNote: "删除「{title}」?",
|
|
329
|
+
retry: "重试",
|
|
330
|
+
remove: "删除",
|
|
331
|
+
unsaved: "未保存",
|
|
332
|
+
saveError: "保存失败,请重试",
|
|
333
|
+
saveDetail: "保存失败:{message}",
|
|
334
|
+
failure: "操作失败,请重试",
|
|
335
|
+
todo: "待办",
|
|
336
|
+
closeTodo: "收起待办",
|
|
337
|
+
todoPanel: "待办清单",
|
|
338
|
+
todoTitle: "待 办",
|
|
339
|
+
todoColor: "待办颜色",
|
|
340
|
+
changeColor: "换色 · {color}",
|
|
341
|
+
activeColor: "换色,当前{color}",
|
|
342
|
+
drag: "拖动",
|
|
343
|
+
reorder: "拖动排序",
|
|
344
|
+
search: "搜索",
|
|
345
|
+
searchTodo: "搜索待办",
|
|
346
|
+
hideDone: "隐藏已完成",
|
|
347
|
+
showDone: "显示已完成",
|
|
348
|
+
close: "关闭",
|
|
349
|
+
newTodo: "新待办",
|
|
350
|
+
maxTodos: "最多 {count} 条",
|
|
351
|
+
add: "新增",
|
|
352
|
+
complete: "完成",
|
|
353
|
+
undoComplete: "取消完成",
|
|
354
|
+
editTodo: "修改待办",
|
|
355
|
+
editDue: "修改到期时间",
|
|
356
|
+
setDue: "设置到期时间",
|
|
357
|
+
dueDate: "到期日期",
|
|
358
|
+
dueTime: "到期时间(可不填)",
|
|
359
|
+
clearDue: "清除到期时间",
|
|
360
|
+
doneDue: "完成设置",
|
|
361
|
+
noMatch: "没有匹配的待办",
|
|
362
|
+
allDone: "都完成了",
|
|
363
|
+
emptyTodo: "暂无待办",
|
|
364
|
+
todoSave: "待办未保存,请重试",
|
|
365
|
+
todoSaveDetail: "待办未保存:{message}",
|
|
366
|
+
yellow: "黄色",
|
|
367
|
+
pink: "粉色",
|
|
368
|
+
green: "绿色",
|
|
369
|
+
blue: "蓝色",
|
|
370
|
+
purple: "紫色",
|
|
371
|
+
gray: "灰色"
|
|
372
|
+
},
|
|
207
373
|
doc: {
|
|
208
374
|
sheetjsDependency: "请安装并注册 SheetJS:npm install https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz;不要安装 npm 仓库中有已知漏洞的旧版 xlsx。注册示例:registerDocLoader('xlsx', () => import('xlsx'))。",
|
|
209
375
|
title: "文档查看",
|
package/dist/zh-CN.d.ts
CHANGED
|
@@ -1,6 +1,89 @@
|
|
|
1
1
|
/** 框架内置词条(中文)。键必须与 en-US 成对,后续由检查脚本保证。 */
|
|
2
2
|
export declare const zhCN: {
|
|
3
3
|
campus: {
|
|
4
|
+
quickChat: {
|
|
5
|
+
title: string;
|
|
6
|
+
select: string;
|
|
7
|
+
loadFailed: string;
|
|
8
|
+
sendFailed: string;
|
|
9
|
+
retry: string;
|
|
10
|
+
you: string;
|
|
11
|
+
assistant: string;
|
|
12
|
+
message: string;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
send: string;
|
|
15
|
+
};
|
|
16
|
+
personalTools: {
|
|
17
|
+
notes: string;
|
|
18
|
+
closeNotes: string;
|
|
19
|
+
notesList: string;
|
|
20
|
+
dock: string;
|
|
21
|
+
blank: string;
|
|
22
|
+
noteTitle: string;
|
|
23
|
+
noteBody: string;
|
|
24
|
+
notePlaceholder: string;
|
|
25
|
+
colors: string;
|
|
26
|
+
currentColor: string;
|
|
27
|
+
colorName: string;
|
|
28
|
+
expand: string;
|
|
29
|
+
dragNote: string;
|
|
30
|
+
collapse: string;
|
|
31
|
+
returnNote: string;
|
|
32
|
+
pin: string;
|
|
33
|
+
newNote: string;
|
|
34
|
+
emptyNotes: string;
|
|
35
|
+
hideNotes: string;
|
|
36
|
+
showNotes: string;
|
|
37
|
+
hiddenNotes: string;
|
|
38
|
+
shownNotes: string;
|
|
39
|
+
markLine: string;
|
|
40
|
+
noteTooLong: string;
|
|
41
|
+
notesDisabled: string;
|
|
42
|
+
removeNote: string;
|
|
43
|
+
retry: string;
|
|
44
|
+
remove: string;
|
|
45
|
+
unsaved: string;
|
|
46
|
+
saveError: string;
|
|
47
|
+
saveDetail: string;
|
|
48
|
+
failure: string;
|
|
49
|
+
todo: string;
|
|
50
|
+
closeTodo: string;
|
|
51
|
+
todoPanel: string;
|
|
52
|
+
todoTitle: string;
|
|
53
|
+
todoColor: string;
|
|
54
|
+
changeColor: string;
|
|
55
|
+
activeColor: string;
|
|
56
|
+
drag: string;
|
|
57
|
+
reorder: string;
|
|
58
|
+
search: string;
|
|
59
|
+
searchTodo: string;
|
|
60
|
+
hideDone: string;
|
|
61
|
+
showDone: string;
|
|
62
|
+
close: string;
|
|
63
|
+
newTodo: string;
|
|
64
|
+
maxTodos: string;
|
|
65
|
+
add: string;
|
|
66
|
+
complete: string;
|
|
67
|
+
undoComplete: string;
|
|
68
|
+
editTodo: string;
|
|
69
|
+
editDue: string;
|
|
70
|
+
setDue: string;
|
|
71
|
+
dueDate: string;
|
|
72
|
+
dueTime: string;
|
|
73
|
+
clearDue: string;
|
|
74
|
+
doneDue: string;
|
|
75
|
+
noMatch: string;
|
|
76
|
+
allDone: string;
|
|
77
|
+
emptyTodo: string;
|
|
78
|
+
todoSave: string;
|
|
79
|
+
todoSaveDetail: string;
|
|
80
|
+
yellow: string;
|
|
81
|
+
pink: string;
|
|
82
|
+
green: string;
|
|
83
|
+
blue: string;
|
|
84
|
+
purple: string;
|
|
85
|
+
gray: string;
|
|
86
|
+
};
|
|
4
87
|
doc: {
|
|
5
88
|
sheetjsDependency: string;
|
|
6
89
|
title: string;
|