Procházet zdrojové kódy

add: i18n: update korean (#4813)

paragonnov před 10 měsíci
rodič
revize
18ab63bd37
2 změnil soubory, kde provedl 93 přidání a 1 odebrání
  1. 36 0
      web/i18n/ko-KR/tools.ts
  2. 57 1
      web/i18n/ko-KR/workflow.ts

+ 36 - 0
web/i18n/ko-KR/tools.ts

@@ -1,10 +1,12 @@
 const translation = {
   title: '도구',
   createCustomTool: '커스텀 도구 만들기',
+  customToolTip: 'Dify 커스텀 도구에 대해 더 알아보기',
   type: {
     all: '모두',
     builtIn: '내장',
     custom: '커스텀',
+    workflow: '워크플로우',
   },
   contribute: {
     line1: '저는 Dify에',
@@ -21,12 +23,26 @@ const translation = {
   },
   includeToolNum: '{{num}}개의 도구가 포함되어 있습니다',
   addTool: '도구 추가',
+  addToolModal: {
+    type: '타입',
+    category: '카테고리',
+    add: '추가',
+    added: '추가됨',
+    manageInTools: '도구에서 관리',
+    emptyTitle: '사용 가능한 워크플로우 도구 없음',
+    emptyTip: '"워크플로우 -> 도구로 등록하기"로 이동',
+  },
   createTool: {
     title: '커스텀 도구 만들기',
     editAction: '설정',
     editTitle: '커스텀 도구 편집',
     name: '이름',
     toolNamePlaceHolder: '도구 이름을 입력하세요',
+    nameForToolCall: '도구 호출 이름',
+    nameForToolCallPlaceHolder: 'getCurrentWeather, list_pets 과 같이, 기계 인지를 위해 사용됩니다.',
+    nameForToolCallTip: '숫자와 문자, 밑줄만 지원합니다.',
+    description: '설명',
+    descriptionPlaceholder: '도구의 목적을 설명합니다. 예시로, 특정 지역의 온도 가져오기',
     schema: '스키마',
     schemaPlaceHolder: '여기에 OpenAPI 스키마를 입력하세요',
     viewSchemaSpec: 'OpenAPI-Swagger 명세 보기',
@@ -71,6 +87,24 @@ const translation = {
     },
     privacyPolicy: '개인정보 처리방침',
     privacyPolicyPlaceholder: '개인정보 처리방침을 입력하세요',
+    toolInput: {
+      title: '도구 입력',
+      name: '이름',
+      required: '필요사항',
+      method: '방식',
+      methodSetting: '설정',
+      methodSettingTip: '도구 설정에서 사용자가 기입',
+      methodParameter: '파라미터',
+      methodParameterTip: '추론 중에 LLM이 기입',
+      label: '태그',
+      labelPlaceholder: '태그를 선택하세요.(선택사항)',
+      description: '설명',
+      descriptionPlaceholder: '파라미터의 의도를 설명하세요.',
+    },
+    customDisclaimer: '사용자 정의 권리 포기 문구',
+    customDisclaimerPlaceholder: '사용자 정의 권리 포기 문구를 입력해주세요.',
+    confirmTitle: '저장하시겠습니까?',
+    confirmTip: '이 도구를 사용하는 앱은 영향을 받습니다.',
   },
   test: {
     title: '테스트',
@@ -110,6 +144,8 @@ const translation = {
   toolRemoved: '도구가 제거되었습니다',
   notAuthorized: '권한이 없습니다',
   howToGet: '획득 방법',
+  openInStudio: '스튜디오에서 열기',
+  toolNameUsageTip: 'Agent 추리와 프롬프트를 위한 도구 호출 이름',
 }
 
 export default translation

+ 57 - 1
web/i18n/ko-KR/workflow.ts

@@ -60,6 +60,13 @@ const translation = {
     pasteHere: '여기에 붙여넣기',
     pointerMode: '선택 모드',
     handMode: '시점 모드',
+    model: '모델',
+    workflowAsTool: '워크플로우를 도구로 사용',
+    configureRequired: '설정 필요함',
+    configure: '설정',
+    manageInTools: '도구에서 관리',
+    workflowAsToolTip: '워크플로우 업데이트 후, 도구 재설정이 필요합니다.',
+    viewDetailInTracingPanel: '자세히 보기',
   },
   errorMsg: {
     fieldRequired: '{{field}}은(는) 필수입니다',
@@ -78,12 +85,18 @@ const translation = {
     testRun: '테스트 실행',
     startRun: '실행 시작',
     running: '실행 중',
+    testRunIteration: '테스트 반복 실행',
+    back: '뒤로가기',
+    iteration: '반복하기',
   },
   tabs: {
     'searchBlock': '블록 검색',
     'blocks': '블록',
+    'tools': '도구',
+    'allTool': '모두',
     'builtInTool': '내장 도구',
     'customTool': '커스텀 도구',
+    'workflowTool': '워크플로우',
     'question-understand': '질문 이해',
     'logic': '논리',
     'transform': '변환',
@@ -102,6 +115,10 @@ const translation = {
     'template-transform': '템플릿',
     'http-request': 'HTTP 요청',
     'variable-assigner': '변수 할당기',
+    'variable-aggregator': '변수 집합기',
+    'iteration-start': '반복 시작',
+    'iteration': '반복',
+    'parameter-extractor': '파라미터 추출기',
   },
   blocksAbout: {
     'start': '워크플로우 시작을 위한 매개변수를 정의합니다',
@@ -115,6 +132,9 @@ const translation = {
     'template-transform': 'Jinja 템플릿 구문을 사용하여 데이터를 문자열로 변환합니다',
     'http-request': 'HTTP 프로토콜을 통해 서버 요청을 보낼 수 있습니다',
     'variable-assigner': '다른 분기에서 동일한 변수에 변수를 할당하여 후속 노드의 통일된 구성을 달성할 수 있습니다',
+    'variable-aggregator': '다른 분기에서 동일한 변수에 변수를 할당하여 후속 노드의 통일된 구성을 달성할 수 있습니다',
+    'iteration': '모든 결과가 출력될 때까지 리스트 객체에서 단계 반복을 수행합니다.',
+    'parameter-extractor': '도구 혹은 HTTP 요청에 사용할 구조화된 파라미터를 LLM을 이용하여 자연어에서 추출합니다.',
   },
   operator: {
     zoomIn: '확대',
@@ -312,7 +332,6 @@ const translation = {
     variableAssigner: {
       title: '변수 할당',
       outputType: '출력 유형',
-      outputVarType: '출력 변수 유형',
       varNotSet: '변수가 설정되지 않았습니다',
       noVarTip: '할당할 변수를 추가하세요',
       type: {
@@ -321,9 +340,13 @@ const translation = {
         object: '객체',
         array: '배열',
       },
+      aggregationGroup: '집합 그룹',
+      aggregationGroupTip: '이 기능을 사용하면 변수 집합기가 변수의 다중 세트를 집합하도록 합니다.',
+      addGroup: '그룹 추가',
       outputVars: {
         output: '할당된 변수의 값',
       },
+      setAssignVariable: '할당 변수 설정',
     },
     tool: {
       toAuthorize: '승인하려면',
@@ -354,6 +377,39 @@ const translation = {
       instruction: '지시',
       instructionPlaceholder: '지시를 입력하세요',
     },
+    parameterExtractor: {
+      inputVar: '입력 변수',
+      extractParameters: '추출 파라미터',
+      importFromTool: '도구에서 가져오기',
+      addExtractParameter: '추출 파라미터 추가',
+      addExtractParameterContent: {
+        name: '이름',
+        namePlaceholder: '추출 파라미터 이름',
+        type: '타입',
+        typePlaceholder: '추출 파라미터 타입',
+        description: '설명',
+        descriptionPlaceholder: '추출 파라미터 설명',
+        required: '필요 항목',
+        requiredContent: '필요항목은 파라미터 출력의 확인을 위한 것이 아닌, 모델 추론의 참고용으로 사용됩니다.',
+      },
+      extractParametersNotSet: '추출 파라미터가 설정되지 않았습니다.',
+      instruction: '지시어',
+      instructionTip: '어떻게 파라미터를 추출할 것인지에 도움을 주기 위해, 추가적인 지시어를 입력하세요.',
+      advancedSetting: '고급 설정',
+      reasoningMode: '추리 모드',
+      reasoningModeTip: '모델의 함수 호출이나 프롬프트를 위한 지시어에 응답하는 능력에 따라 추리모드를 선택할 수 있습니다.',
+      isSuccess: '성공할 경우 값은 1, 실패할 경우 값은 0',
+      errorReason: '추리 오류',
+    },
+    iteration: {
+      deleteTitle: '반복 노드를 삭제하시겠습니까?',
+      deleteDesc: '반복 노드를 제거할 경우, 하위 노드도 모두 제거됩니다.',
+      input: '입력',
+      output: '출력 변수',
+      iteration_one: '{{count}} 반복',
+      iteration_other: '{{count}} 반복',
+      currentIteration: '현재 반복',
+    },
   },
   tracing: {
     stopBy: '{{user}}에 의해 중지됨',