-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi18n.config.ts
63 lines (63 loc) · 2.57 KB
/
i18n.config.ts
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
export default defineI18nConfig(() => ({
legacy: false,
fallbackLocale: 'en',
messages: {
en: {
landing: {
title: 'Welcome to Assistant',
description: 'Your personal assistant for everything without monthly subscriptions or ads. Powered by OpenAI.',
login: 'Login/Signup',
},
dashboard: {
selectAssistant: 'Select Assistant',
name: 'Name',
instructions: 'System instructions',
model: 'Language model',
upload: 'Upload files',
save: 'Save',
newAssistant: 'New Assistant',
defaultName: 'Assistant',
defaultInstructions: 'You are a helpful assistant that can answer questions and help with tasks.',
missingFields: 'Missing fields, name and instructions are required',
message: 'Message',
messagePlaceholder: 'Type your message',
files: 'Uploaded files',
noFiles : 'No files uploaded',
noAssistants: 'No assistants found',
noAssistantsDescription: 'Create a new assistant to get started',
modelConfig: 'Model configuration',
noMessages: 'No messages yet 🤔',
temperature: 'Temperature',
topP: 'Top P',
codeCopied: 'Code copied to clipboard',
temperatureTip: 'The higher the temperature, the more creative the response. Lower temperatures are more predictable.',
topPTip: 'The probability of sampling the next token. Lower values result in more predictable text.',
resetConversation: 'Clear conversation',
markdown: 'Markdown parser',
latex: 'LaTeX parser',
tokenLimitErrorTitle: 'Token Limit Exceeded',
tokenLimitErrorDescription: 'The request is too large for the {model} model.\nReduce the number of tokens in the message or try a different model.',
fileSizeErrorTitle: 'File Size Exceeded',
fileSizeErrorDescription: 'One or more files exceed the maximum file size of {size}.',
fileTypeErrorTitle: 'Invalid File Type',
fileTypeErrorDescription: 'The file type of {file} is not supported.',
step: {
creating: 'Creating assistant...',
updating: 'Updating assistant...',
uploading: 'Uploading files...',
finishing: 'Finishing...',
}
},
logout: 'Logout',
dialog: {
confirm: 'Confirm',
cancel: 'Cancel',
delete: 'Delete',
confirmDelete: 'Confirm delete',
deleteItem: 'Are you sure you want to delete {item}?',
confirmLogout: 'Are you sure you want to logout?',
logout: 'Logout',
}
}
}
}))