dify/web/i18n/lang/common.en.ts

337 lines
11 KiB
TypeScript
Raw Normal View History

2023-05-15 08:51:32 +08:00
const translation = {
api: {
success: 'Success',
saved: 'Saved',
create: 'Created',
remove: 'Removed',
},
operation: {
2023-05-25 16:59:47 +08:00
create: 'Create',
2023-05-15 08:51:32 +08:00
confirm: 'Confirm',
cancel: 'Cancel',
clear: 'Clear',
save: 'Save',
edit: 'Edit',
add: 'Add',
refresh: 'Restart',
reset: 'Reset',
2023-05-15 08:51:32 +08:00
search: 'Search',
change: 'Change',
remove: 'Remove',
send: 'Send',
copy: 'Copy',
lineBreak: 'Line break',
sure: 'I\'m sure',
download: 'Download',
delete: 'Delete',
settings: 'Settings',
setup: 'Setup',
getForFree: 'Get for free',
reload: 'Reload',
2023-05-15 08:51:32 +08:00
},
placeholder: {
input: 'Please enter',
select: 'Please select',
},
unit: {
char: 'chars',
},
actionMsg: {
noModification: 'No modifications at the moment.',
2023-05-15 08:51:32 +08:00
modifiedSuccessfully: 'Modified successfully',
modificationFailed: 'Modification failed',
copySuccessfully: 'Copied successfully',
},
model: {
params: {
temperature: 'Temperature',
temperatureTip:
'Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.',
top_p: 'Top P',
top_pTip:
2023-05-15 08:51:32 +08:00
'Controls diversity via nucleus sampling: 0.5 means half of all likelihood-weighted options are considered.',
presence_penalty: 'Presence penalty',
presence_penaltyTip:
2023-05-15 08:51:32 +08:00
'How much to penalize new tokens based on whether they appear in the text so far. Increases the model\'s likelihood to talk about new topics.',
frequency_penalty: 'Frequency penalty',
frequency_penaltyTip:
2023-05-15 08:51:32 +08:00
'How much to penalize new tokens based on their existing frequency in the text so far. Decreases the model\'s likelihood to repeat the same line verbatim.',
max_tokens: 'Max token',
max_tokensTip:
'Max tokens depending on the model. Prompt and completion share this limit. One token is roughly 1 English character.',
2023-07-06 15:57:04 +08:00
maxTokenSettingTip: 'Your max token setting is high, potentially limiting space for prompts, queries, and data. Consider setting it below 2/3.',
setToCurrentModelMaxTokenTip: 'Max token is updated to the 80% maximum token of the current model {{maxToken}}.',
2023-05-15 08:51:32 +08:00
},
tone: {
Creative: 'Creative',
Balanced: 'Balanced',
Precise: 'Precise',
Custom: 'Custom',
},
},
menus: {
status: 'beta',
2023-05-25 16:59:47 +08:00
explore: 'Explore',
apps: 'Build Apps',
2023-05-15 08:51:32 +08:00
plugins: 'Plugins',
pluginsTips: 'Integrate third-party plugins or create ChatGPT-compatible AI-Plugins.',
datasets: 'Datasets',
datasetsTips: 'COMING SOON: Import your own text data or write data in real-time via Webhook for LLM context enhancement.',
newApp: 'New App',
newDataset: 'Create dataset',
},
userProfile: {
settings: 'Settings',
workspace: 'Workspace',
createWorkspace: 'Create Workspace',
helpCenter: 'Help Document',
about: 'About',
logout: 'Log out',
},
settings: {
accountGroup: 'ACCOUNT',
workplaceGroup: 'WORKPLACE',
2023-05-30 09:59:05 +08:00
account: 'My account',
members: 'Members',
integrations: 'Integrations',
language: 'Language',
provider: 'Model Provider',
dataSource: 'Data Source',
plugin: 'Plugins',
2023-05-15 08:51:32 +08:00
},
account: {
avatar: 'Avatar',
name: 'Name',
email: 'Email',
password: 'Password',
passwordTip: 'You can set a permanent password if you dont want to use temporary login codes',
setPassword: 'Set a password',
resetPassword: 'Reset password',
currentPassword: 'Current password',
newPassword: 'New password',
confirmPassword: 'Confirm password',
notEqual: 'Two passwords are different.',
2023-05-15 08:51:32 +08:00
langGeniusAccount: 'Dify account',
langGeniusAccountTip: 'Your Dify account and associated user data.',
editName: 'Edit Name',
showAppLength: 'Show {{length}} apps',
},
members: {
team: 'Team',
2023-05-30 09:59:05 +08:00
invite: 'Add',
2023-05-15 08:51:32 +08:00
name: 'NAME',
lastActive: 'LAST ACTIVE',
role: 'ROLES',
pending: 'Pending...',
owner: 'Owner',
admin: 'Admin',
adminTip: 'Can build apps & manage team settings',
normal: 'Normal',
normalTip: 'Only can use apps, can not build apps',
2023-05-30 09:59:05 +08:00
inviteTeamMember: 'Add team member',
inviteTeamMemberTip: 'They can access your team data directly after signing in.',
2023-05-15 08:51:32 +08:00
email: 'Email',
emailInvalid: 'Invalid Email Format',
emailPlaceholder: 'Input Email',
2023-05-30 09:59:05 +08:00
sendInvite: 'Add',
invitationSent: 'Invitation sent',
invitationSentTip: 'Invitation sent, and they can sign in to Dify to access your team data.',
invitationLink: 'Invitation Link',
2023-05-15 08:51:32 +08:00
ok: 'OK',
removeFromTeam: 'Remove from team',
removeFromTeamTip: 'Will remove team access',
setAdmin: 'Set as administrator',
setMember: 'Set to ordinary member',
disinvite: 'Cancel the invitation',
deleteMember: 'Delete Member',
you: '(You)',
},
integrations: {
connected: 'Connected',
google: 'Google',
googleAccount: 'Login with Google account',
github: 'GitHub',
githubAccount: 'Login with GitHub account',
2023-05-30 09:59:05 +08:00
connect: 'Connect',
2023-05-15 08:51:32 +08:00
},
language: {
displayLanguage: 'Display Language',
timezone: 'Time Zone',
},
provider: {
2023-05-30 09:59:05 +08:00
apiKey: 'API Key',
enterYourKey: 'Enter your API key here',
invalidKey: 'Invalid OpenAI API key',
validatedError: 'Validation failed: ',
validating: 'Validating key...',
saveFailed: 'Save api key failed',
apiKeyExceedBill: 'This API KEY has no quota available, please read',
2023-05-15 08:51:32 +08:00
addKey: 'Add Key',
comingSoon: 'Coming Soon',
editKey: 'Edit',
invalidApiKey: 'Invalid API key',
azure: {
apiBase: 'API Base',
2023-05-22 17:39:28 +08:00
apiBasePlaceholder: 'The API Base URL of your Azure OpenAI Endpoint.',
2023-05-15 08:51:32 +08:00
apiKey: 'API Key',
apiKeyPlaceholder: 'Enter your API key here',
helpTip: 'Learn Azure OpenAI Service',
},
openaiHosted: {
openaiHosted: 'Hosted OpenAI',
onTrial: 'ON TRIAL',
exhausted: 'QUOTA EXHAUSTED',
desc: 'The OpenAI hosting service provided by Dify allows you to use models such as GPT-3.5. Before your trial quota is used up, you need to set up other model providers.',
callTimes: 'Call times',
usedUp: 'Trial quota used up. Add own Model Provider.',
useYourModel: 'Currently using own Model Provider.',
close: 'Close',
},
anthropicHosted: {
anthropicHosted: 'Anthropic Claude',
onTrial: 'ON TRIAL',
exhausted: 'QUOTA EXHAUSTED',
desc: 'Powerful model, which excels at a wide range of tasks from sophisticated dialogue and creative content generation to detailed instruction.',
callTimes: 'Call times',
usedUp: 'Trial quota used up. Add own Model Provider.',
useYourModel: 'Currently using own Model Provider.',
close: 'Close',
},
anthropic: {
using: 'The embedding capability is using',
enableTip: 'To enable the Anthropic model, you need to bind to OpenAI or Azure OpenAI Service first.',
notEnabled: 'Not enabled',
keyFrom: 'Get your API key from Anthropic',
},
2023-05-15 08:51:32 +08:00
encrypted: {
front: 'Your API KEY will be encrypted and stored using',
back: ' technology.',
2023-05-30 09:59:05 +08:00
},
2023-05-15 08:51:32 +08:00
},
modelProvider: {
selectModel: 'Select your model',
setupModelFirst: 'Please set up your model first',
systemReasoningModel: {
key: 'System Reasoning Model',
tip: 'Set the default inference model to be used for creating applications, as well as features such as dialogue name generation and next question suggestion will also use the default inference model.',
},
embeddingModel: {
key: 'Embedding Model',
tip: 'Set the default model for document embedding processing of the dataset, both retrieval and import of the dataset use this Embedding model for vectorization processing. Switching will cause the vector dimension between the imported dataset and the question to be inconsistent, resulting in retrieval failure. To avoid retrieval failure, please do not switch this model at will.',
},
speechToTextModel: {
key: 'Speech-to-Text Model',
tip: 'Set the default model for speech-to-text input in conversation.',
},
quota: 'Quota',
searchModel: 'Search model',
noModelFound: 'No model found for {{model}}',
models: 'Models',
showMoreModelProvider: 'Show more model provider',
selector: {
tip: 'This model has been removed. Please add a model or select another model.',
},
card: {
quota: 'QUOTA',
onTrial: 'On Trial',
paid: 'Paid',
quotaExhausted: 'Quota exhausted',
callTimes: 'Call times',
tokens: 'Tokens',
buyQuota: 'Buy Quota',
priorityUse: 'Priority use',
removeKey: 'Remove API Key',
tip: 'Priority will be given to the paid quota. The Trial quota will be used after the paid quota is exhausted.',
},
item: {
deleteDesc: '{{modelName}} are being used as system reasoning models. Some functions will not be available after removal. Please confirm.',
freeQuota: 'FREE QUOTA',
},
addApiKey: 'Add your API key',
invalidApiKey: 'Invalid API key',
encrypted: {
front: 'Your API KEY will be encrypted and stored using',
back: ' technology.',
},
2023-08-14 16:36:04 +08:00
freeQuota: {
howToEarn: 'How to earn',
},
},
dataSource: {
add: 'Add a data source',
connect: 'Connect',
notion: {
title: 'Notion',
description: 'Using Notion as a data source for the dataset.',
connectedWorkspace: 'Connected workspace',
addWorkspace: 'Add workspace',
connected: 'Connected',
disconnected: 'Disconnected',
changeAuthorizedPages: 'Change authorized pages',
pagesAuthorized: 'Pages authorized',
sync: 'Sync',
remove: 'Remove',
selector: {
pageSelected: 'Pages Selected',
searchPages: 'Search pages...',
noSearchResult: 'No search resluts',
addPages: 'Add pages',
preview: 'PREVIEW',
},
},
},
plugin: {
serpapi: {
apiKey: 'API Key',
apiKeyPlaceholder: 'Enter your API key',
keyFrom: 'Get your SerpAPI key from SerpAPI Account Page',
},
},
2023-05-15 08:51:32 +08:00
about: {
changeLog: 'Changlog',
updateNow: 'Update now',
nowAvailable: 'Dify {{version}} is now available.',
latestAvailable: 'Dify {{version}} is the latest version available.',
},
appMenus: {
overview: 'Overview',
promptEng: 'Prompt Eng.',
apiAccess: 'API Access',
logAndAnn: 'Logs & Ann.',
},
environment: {
testing: 'TESTING',
development: 'DEVELOPMENT',
},
appModes: {
completionApp: 'Text Generator',
chatApp: 'Chat App',
},
datasetMenus: {
documents: 'Documents',
hitTesting: 'Hit Testing',
settings: 'Settings',
emptyTip: 'The data set has not been associated, please go to the application or plug-in to complete the association.',
viewDoc: 'View documentation',
relatedApp: 'linked apps',
},
2023-07-07 17:50:42 +08:00
voiceInput: {
speaking: 'Speak now...',
converting: 'Converting to text...',
notAllow: 'microphone not authorized',
},
modelName: {
'gpt-3.5-turbo': 'GPT-3.5-Turbo',
'gpt-3.5-turbo-16k': 'GPT-3.5-Turbo-16K',
'gpt-4': 'GPT-4',
'gpt-4-32k': 'GPT-4-32K',
'text-davinci-003': 'Text-Davinci-003',
'text-embedding-ada-002': 'Text-Embedding-Ada-002',
'whisper-1': 'Whisper-1',
'claude-instant-1': 'Claude-Instant',
'claude-2': 'Claude-2',
},
2023-05-15 08:51:32 +08:00
}
export default translation