mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
7753ba2d37
Co-authored-by: Joel <iamjoel007@gmail.com> Co-authored-by: Yeuoly <admin@srmxy.cn> Co-authored-by: JzoNg <jzongcode@gmail.com> Co-authored-by: StyleZhang <jasonapring2015@outlook.com> Co-authored-by: jyong <jyong@dify.ai> Co-authored-by: nite-knite <nkCoding@gmail.com> Co-authored-by: jyong <718720800@qq.com>
92 lines
2.0 KiB
TypeScript
92 lines
2.0 KiB
TypeScript
const translation = {
|
|
nodes: {
|
|
common: {
|
|
outputVars: 'Output Variables',
|
|
insertVarTip: 'Insert Variable',
|
|
},
|
|
start: {
|
|
required: 'required',
|
|
inputField: 'Input Field',
|
|
builtInVar: 'Built-in Variables',
|
|
outputVars: {
|
|
query: 'User input',
|
|
memories: {
|
|
des: 'Conversation history',
|
|
type: 'message type',
|
|
content: 'message content',
|
|
},
|
|
files: 'File list',
|
|
},
|
|
},
|
|
end: {
|
|
outputs: 'Outputs',
|
|
type: {
|
|
'none': 'None',
|
|
'plain-text': 'Plain Text',
|
|
'structured': 'Structured',
|
|
},
|
|
},
|
|
answer: {
|
|
answer: 'Answer',
|
|
inputVars: 'Input Variables',
|
|
},
|
|
llm: {
|
|
model: 'model',
|
|
variables: 'variables',
|
|
context: 'context',
|
|
prompt: 'prompt',
|
|
vision: 'vision',
|
|
outputVars: {
|
|
output: 'Generate content',
|
|
usage: 'Model Usage Information',
|
|
},
|
|
},
|
|
http: {
|
|
inputVars: 'Input Variables',
|
|
api: 'API',
|
|
headers: 'Headers',
|
|
params: 'Params',
|
|
body: 'Body',
|
|
outputVars: {
|
|
body: 'Response Content',
|
|
statusCode: 'Response Status Code',
|
|
headers: 'Response Header List JSON',
|
|
},
|
|
},
|
|
code: {
|
|
inputVars: 'Input Variables',
|
|
outputVars: 'Output Variables',
|
|
},
|
|
templateTransform: {
|
|
inputVars: 'Input Variables',
|
|
code: 'Code',
|
|
codeSupportTip: 'Only supports Jinja2',
|
|
outputVars: {
|
|
output: 'Transformed content',
|
|
},
|
|
},
|
|
ifElse: {
|
|
conditions: 'Conditions',
|
|
and: 'and',
|
|
or: 'or',
|
|
comparisonOperator: {
|
|
'contains': 'contains',
|
|
'not contains': 'not contains',
|
|
'start with': 'start with',
|
|
'end with': 'end with',
|
|
'is': 'is',
|
|
'is not': 'is not',
|
|
'empty': 'empty',
|
|
'not empty': 'not empty',
|
|
'null': 'is null',
|
|
'not null': 'is not null',
|
|
},
|
|
},
|
|
variableAssigner: {
|
|
title: 'Assign variables',
|
|
},
|
|
},
|
|
}
|
|
|
|
export default translation
|