2023-05-15 08:51:32 +08:00
const translation = {
welcome : {
firstStepTip : 'To get started,' ,
enterKeyTip : 'enter your OpenAI API Key below' ,
getKeyTip : 'Get your API Key from OpenAI dashboard' ,
placeholder : 'Your OpenAI API Key(eg.sk-xxxx)' ,
} ,
2023-08-12 00:57:13 +08:00
apiKeyInfo : {
cloud : {
trial : {
title : 'You are using the {{providerName}} trial quota.' ,
description : 'The trial quota is provided for your testing use. Before the trial quota calls are exhausted, please set up your own model provider or purchase additional quota.' ,
} ,
exhausted : {
title : 'Your trial quota have been used up, please set up your APIKey.' ,
description : 'Your trial quota has been exhausted. Please set up your own model provider or purchase additional quota.' ,
} ,
} ,
selfHost : {
title : {
row1 : 'To get started,' ,
row2 : 'setup your model provider first.' ,
} ,
} ,
callTimes : 'Call times' ,
2023-08-14 12:46:28 +08:00
usedToken : 'Used token' ,
2023-08-12 00:57:13 +08:00
setAPIBtn : 'Go to setup model provider' ,
tryCloud : 'Or try the cloud version of Dify with free quote' ,
} ,
2023-05-15 08:51:32 +08:00
overview : {
title : 'Overview' ,
appInfo : {
explanation : 'Ready-to-use AI WebApp' ,
accessibleAddress : 'Public URL' ,
preview : 'Preview' ,
2023-08-16 10:31:08 +08:00
regenerate : 'Regenerate' ,
2024-05-23 20:15:51 +08:00
regenerateNotice : 'Do you want to regenerate the public URL?' ,
2023-05-15 08:51:32 +08:00
preUseReminder : 'Please enable WebApp before continuing.' ,
settings : {
entry : 'Settings' ,
title : 'WebApp Settings' ,
webName : 'WebApp Name' ,
webDesc : 'WebApp Description' ,
webDescTip : 'This text will be displayed on the client side, providing basic guidance on how to use the application' ,
webDescPlaceholder : 'Enter the description of the WebApp' ,
language : 'Language' ,
2024-06-21 12:51:10 +08:00
workflow : {
title : 'Workflow Steps' ,
show : 'Show' ,
hide : 'Hide' ,
} ,
2024-06-26 17:51:00 +08:00
chatColorTheme : 'Chat color theme' ,
chatColorThemeDesc : 'Set the color theme of the chatbot' ,
chatColorThemeInverted : 'Inverted' ,
invalidHexMessage : 'Invalid hex value' ,
2023-05-15 08:51:32 +08:00
more : {
entry : 'Show more settings' ,
copyright : 'Copyright' ,
copyRightPlaceholder : 'Enter the name of the author or organization' ,
privacyPolicy : 'Privacy Policy' ,
2023-09-27 08:54:52 +08:00
privacyPolicyPlaceholder : 'Enter the privacy policy link' ,
2023-05-15 08:51:32 +08:00
privacyPolicyTip : 'Helps visitors understand the data the application collects, see Dify\'s <privacyPolicyLink>Privacy Policy</privacyPolicyLink>.' ,
2024-05-18 10:52:48 +08:00
customDisclaimer : 'Custom Disclaimer' ,
customDisclaimerPlaceholder : 'Enter the custom disclaimer text' ,
customDisclaimerTip : 'Custom disclaimer text will be displayed on the client side, providing additional information about the application' ,
2023-05-15 08:51:32 +08:00
} ,
} ,
2023-07-12 17:27:50 +08:00
embedded : {
entry : 'Embedded' ,
title : 'Embed on website' ,
explanation : 'Choose the way to embed chat app to your website' ,
iframe : 'To add the chat app any where on your website, add this iframe to your html code.' ,
scripts : 'To add a chat app to the bottom right of your website add this code to your html.' ,
2023-11-08 17:59:53 +08:00
chromePlugin : 'Install Dify Chatbot Chrome Extension' ,
2023-07-12 17:27:50 +08:00
copied : 'Copied' ,
copy : 'Copy' ,
} ,
2023-10-08 09:34:49 +08:00
qrcode : {
title : 'QR code to share' ,
scan : 'Scan Share Application' ,
download : 'Download QR Code' ,
} ,
2023-05-15 08:51:32 +08:00
customize : {
way : 'way' ,
2023-08-16 10:31:08 +08:00
entry : 'Customize' ,
2023-05-15 08:51:32 +08:00
title : 'Customize AI WebApp' ,
explanation : 'You can customize the frontend of the Web App to fit your scenario and style needs.' ,
way1 : {
name : 'Fork the client code, modify it and deploy to Vercel (recommended)' ,
step1 : 'Fork the client code and modify it' ,
step1Tip : 'Click here to fork the source code into your GitHub account and modify the code' ,
step1Operation : 'Dify-WebClient' ,
2023-11-08 19:44:15 +08:00
step2 : 'Deploy to Vercel' ,
step2Tip : 'Click here to import the repository into Vercel and deploy' ,
step2Operation : 'Import repository' ,
step3 : 'Configure environment variables' ,
step3Tip : 'Add the following environment variables in Vercel' ,
2023-05-15 08:51:32 +08:00
} ,
way2 : {
name : 'Write client-side code to call the API and deploy it to a server' ,
operation : 'Documentation' ,
} ,
} ,
} ,
apiInfo : {
title : 'Backend service API' ,
explanation : 'Easily integrated into your application' ,
2023-08-16 10:31:08 +08:00
accessibleAddress : 'Service API Endpoint' ,
2023-05-15 08:51:32 +08:00
doc : 'API Reference' ,
} ,
status : {
running : 'In service' ,
disable : 'Disable' ,
} ,
} ,
analysis : {
title : 'Analysis' ,
2023-05-31 11:21:30 +08:00
ms : 'ms' ,
2023-08-01 15:17:20 +08:00
tokenPS : 'Token/s' ,
2023-05-15 08:51:32 +08:00
totalMessages : {
title : 'Total Messages' ,
explanation : 'Daily AI interactions count; prompt engineering/debugging excluded.' ,
} ,
activeUsers : {
title : 'Active Users' ,
explanation : 'Unique users engaging in Q&A with AI; prompt engineering/debugging excluded.' ,
} ,
tokenUsage : {
title : 'Token Usage' ,
explanation : 'Reflects the daily token usage of the language model for the application, useful for cost control purposes.' ,
consumed : 'Consumed' ,
} ,
avgSessionInteractions : {
title : 'Avg. Session Interactions' ,
explanation : 'Continuous user-AI communication count; for conversation-based apps.' ,
} ,
2024-04-08 18:51:46 +08:00
avgUserInteractions : {
title : 'Avg. User Interactions' ,
explanation : 'Reflects the daily usage frequency of users. This metric reflects user stickiness.' ,
} ,
2023-05-15 08:51:32 +08:00
userSatisfactionRate : {
title : 'User Satisfaction Rate' ,
explanation : 'The number of likes per 1,000 messages. This indicates the proportion of answers that users are highly satisfied with.' ,
} ,
avgResponseTime : {
title : 'Avg. Response Time' ,
explanation : 'Time (ms) for AI to process/respond; for text-based apps.' ,
} ,
2023-08-01 15:17:20 +08:00
tps : {
title : 'Token Output Speed' ,
explanation : 'Measure the performance of the LLM. Count the Tokens output speed of LLM from the beginning of the request to the completion of the output.' ,
} ,
2023-05-15 08:51:32 +08:00
} ,
}
export default translation