mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
I18n Translations (#2267)
* rebase * i18n-1 * add error info i18n * fix * fix * refactor: 删除error.json * delete useI18n
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Box, Button, Image } from '@chakra-ui/react';
|
||||
|
||||
import { useTranslation } from 'next-i18next';
|
||||
export default function ComfirmVar({
|
||||
newVariables,
|
||||
onCancel,
|
||||
@@ -9,6 +9,7 @@ export default function ComfirmVar({
|
||||
onCancel: () => void;
|
||||
onConfirm: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<>
|
||||
<Box
|
||||
@@ -50,7 +51,7 @@ export default function ComfirmVar({
|
||||
>
|
||||
<Image alt={''} src={'/imgs/workflow/variable.png'} objectFit={'contain'} w={'20px'} />
|
||||
</Box>
|
||||
<Box>引用了未定义的变量,是否自动添加?</Box>
|
||||
<Box>{t('common:undefined_var')}</Box>
|
||||
</Box>
|
||||
<Box
|
||||
ml={16}
|
||||
@@ -83,10 +84,10 @@ export default function ComfirmVar({
|
||||
<Box>
|
||||
<Box display={'flex'} justifyContent={'flex-end'} mt={4} mr={4}>
|
||||
<Button size={'sm'} variant={'ghost'} onClick={onCancel}>
|
||||
取消
|
||||
{t('common:common.Cancel')}
|
||||
</Button>
|
||||
<Button size={'sm'} variant={'primary'} ml={4} onClick={onConfirm}>
|
||||
确定
|
||||
{t('common:common.Confirm')}
|
||||
</Button>
|
||||
</Box>
|
||||
</Box>
|
||||
|
@@ -2,7 +2,7 @@ import { useRef, useState, useCallback, useMemo, useEffect } from 'react';
|
||||
import { IconButton, Flex, Box, Input } from '@chakra-ui/react';
|
||||
import { ArrowBackIcon, ArrowForwardIcon } from '@chakra-ui/icons';
|
||||
import { useMutation } from '@tanstack/react-query';
|
||||
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { throttle } from 'lodash';
|
||||
import { useToast } from './useToast';
|
||||
import { getErrText } from '@fastgpt/global/common/error/utils';
|
||||
@@ -34,6 +34,7 @@ export function usePagination<T = any>({
|
||||
elementRef?: React.RefObject<HTMLDivElement>;
|
||||
}) {
|
||||
const { toast } = useToast();
|
||||
const { t } = useTranslation();
|
||||
const [pageNum, setPageNum] = useState(1);
|
||||
const pageNumRef = useRef(pageNum);
|
||||
pageNumRef.current = pageNum;
|
||||
@@ -63,7 +64,7 @@ export function usePagination<T = any>({
|
||||
onChange && onChange(num);
|
||||
} catch (error: any) {
|
||||
toast({
|
||||
title: getErrText(error, '获取数据异常'),
|
||||
title: getErrText(error, t('common:core.chat.error.data_error')),
|
||||
status: 'error'
|
||||
});
|
||||
console.log(error);
|
||||
@@ -138,9 +139,9 @@ export function usePagination<T = any>({
|
||||
const ScrollData = useCallback(
|
||||
({ children, ...props }: { children: React.ReactNode }) => {
|
||||
const loadText = useMemo(() => {
|
||||
if (isLoading) return '请求中……';
|
||||
if (total <= data.length) return '已加载全部';
|
||||
return '点击加载更多';
|
||||
if (isLoading) return t('common:common.is_requesting');
|
||||
if (total <= data.length) return t('common:common.request_end');
|
||||
return t('common:common.request_more');
|
||||
}, []);
|
||||
|
||||
return (
|
||||
@@ -151,9 +152,9 @@ export function usePagination<T = any>({
|
||||
fontSize={'xs'}
|
||||
color={'blackAlpha.500'}
|
||||
textAlign={'center'}
|
||||
cursor={loadText === '点击加载更多' ? 'pointer' : 'default'}
|
||||
cursor={loadText === t('common:common.request_more') ? 'pointer' : 'default'}
|
||||
onClick={() => {
|
||||
if (loadText !== '点击加载更多') return;
|
||||
if (loadText !== t('common:common.request_more')) return;
|
||||
mutate(pageNum + 1);
|
||||
}}
|
||||
>
|
||||
|
@@ -85,7 +85,7 @@ export function useScrollPagination<
|
||||
}
|
||||
} catch (error: any) {
|
||||
toast({
|
||||
title: getErrText(error, '获取数据异常'),
|
||||
title: getErrText(error, t('common:core.chat.error.data_error')),
|
||||
status: 'error'
|
||||
});
|
||||
console.log(error);
|
||||
|
@@ -17,9 +17,17 @@
|
||||
"confirm_delete_folder_tip": "Are you sure to delete this folder? All the following applications and corresponding chat records will be deleted, please confirm!",
|
||||
"copy_one_app": "Copy",
|
||||
"create_copy_success": "Create copy success",
|
||||
"cron": {
|
||||
"every_day": "Executed every day",
|
||||
"every_month": "Executed monthly",
|
||||
"every_week": "Executed every week",
|
||||
"interval": "interval execution"
|
||||
},
|
||||
"current_settings": "Current settings",
|
||||
"day": "day",
|
||||
"edit_app": "Edit app",
|
||||
"edit_info": "Edit info",
|
||||
"execute_time": "execution time",
|
||||
"export_config_successful": "Config copied, please check for important data",
|
||||
"export_configs": "Export Configs",
|
||||
"feedback_count": "User Feedback",
|
||||
@@ -27,6 +35,15 @@
|
||||
"go_to_run": "Run",
|
||||
"import_configs": "Import Configs",
|
||||
"import_configs_failed": "Failed to import configs, please ensure configs are valid!",
|
||||
"interval": {
|
||||
"12_hours": "every 12 hours",
|
||||
"2_hours": "every 2 hours",
|
||||
"3_hours": "every 3 hours",
|
||||
"4_hours": "every 4 hours",
|
||||
"6_hours": "every 6 hours",
|
||||
"per_hour": "per hour"
|
||||
},
|
||||
"intro": "It is a large model application orchestration system that provides out-of-the-box data processing, model calling and other capabilities. It can quickly build a knowledge base and perform workflow orchestration through Flow visualization to realize complex knowledge base scenarios!",
|
||||
"logs_empty": "No logs yet~",
|
||||
"logs_message_total": "Total Messages",
|
||||
"logs_title": "Title",
|
||||
@@ -40,6 +57,9 @@
|
||||
"modules": {
|
||||
"Title is required": "Module name cannot be empty"
|
||||
},
|
||||
"month": {
|
||||
"unit": "Number"
|
||||
},
|
||||
"move_app": "Move app",
|
||||
"paste_config": "Paste Config",
|
||||
"plugin_cost_per_times": "{{cost}}/per time",
|
||||
@@ -53,6 +73,7 @@
|
||||
"template": {
|
||||
"simple_robot": "Simple Robot"
|
||||
},
|
||||
"time_zone": "Time zone",
|
||||
"tool_input_param_tip": "Configure related information before the plugin runs properly",
|
||||
"transition_to_workflow": "Transition to workflow",
|
||||
"transition_to_workflow_create_new_placeholder": "Create a new application instead of modifying the current one",
|
||||
@@ -74,6 +95,15 @@
|
||||
"version": {
|
||||
"Revert success": "Revert success"
|
||||
},
|
||||
"week": {
|
||||
"Friday": "Friday",
|
||||
"Monday": "Monday",
|
||||
"Saturday": "Saturday",
|
||||
"Sunday": "Sunday",
|
||||
"Thursday": "Thursday",
|
||||
"Tuesday": "Tuesday",
|
||||
"Wednesday": "Wednesday"
|
||||
},
|
||||
"workflow": {
|
||||
"Input guide": "Input guide",
|
||||
"template": {
|
||||
|
@@ -1,15 +1,34 @@
|
||||
{
|
||||
"Delete_all": "Delete all",
|
||||
"chat_input_guide_lexicon_is_empty": "The lexicon has not been configured",
|
||||
"config_input_guide": "Configure input boot",
|
||||
"config_input_guide_lexicon": "Config",
|
||||
"config_input_guide_lexicon_title": "Config lexicon",
|
||||
"csv_input_lexicon_tip": "Only CSV can be imported in batches. Click to download the template",
|
||||
"custom_input_guide_url": "Custom lexicon url",
|
||||
"delete_all_input_guide_confirm": "Confirm to delete all input guide lexicons",
|
||||
"input_guide": "Input guide",
|
||||
"input_guide_lexicon": "Lexicon",
|
||||
"input_guide_tip": "You can configure some preset questions. When the user enters a question, the relevant question is retrieved from these preset questions for prompt.",
|
||||
"insert_input_guide,_some_data_already_exists": "Duplicate data, automatically filtered, insert: {{len}} data",
|
||||
"new_input_guide_lexicon": "New lexicon"
|
||||
"chat_history": "chat record",
|
||||
"chat_input_guide_lexicon_is_empty": "No vocabulary has been configured yet",
|
||||
"citations": "{{num}} citations",
|
||||
"click_contextual_preview": "Click to see contextual preview",
|
||||
"config_input_guide": "Configure input boot",
|
||||
"config_input_guide_lexicon": "Configure thesaurus",
|
||||
"config_input_guide_lexicon_title": "Configure thesaurus",
|
||||
"content_empty": "Content is empty",
|
||||
"contextual": "context",
|
||||
"contextual_preview": "Contextual preview",
|
||||
"csv_input_lexicon_tip": "Only supports CSV batch import, click to download the template",
|
||||
"custom_input_guide_url": "Custom thesaurus address",
|
||||
"empty_directory": "There is nothing left to choose from in this directory~",
|
||||
"in_progress": "in progress",
|
||||
"input_guide": "Enter boot",
|
||||
"input_guide_lexicon": "vocabulary",
|
||||
"input_guide_tip": "Some preset questions can be configured. \nWhen the user enters a question, relevant questions will be obtained from these preset questions for prompts.",
|
||||
"insert_input_guide,_some_data_already_exists": "There is duplicate data, which has been automatically filtered. A total of {{len}} pieces of data have been inserted.",
|
||||
"is_chatting": "Chatting...please wait for the end",
|
||||
"items": "strip",
|
||||
"module_runtime_and": "module run time and",
|
||||
"multiple_AI_conversations": "Multiple AI conversations",
|
||||
"new_chat": "new conversation",
|
||||
"new_input_guide_lexicon": "New vocabulary",
|
||||
"plugins_output": "Plugin output",
|
||||
"question_tip": "From left to right, the response order of each module",
|
||||
"rearrangement": "Search results rearranged",
|
||||
"stream_output": "stream output",
|
||||
"view_citations": "View citations",
|
||||
"web_site_sync": "Web site synchronization"
|
||||
}
|
||||
|
@@ -1,6 +1,24 @@
|
||||
{
|
||||
"App": "App",
|
||||
"Export": "Export",
|
||||
"FAQ": {
|
||||
"ai_point_a": "Every time the AI model is called, a certain amount of AI points will be consumed. \nFor specific calculation standards, please refer to the \"AI Points Calculation Standards\" above.\n\nToken calculation uses the same formula as GPT3.5, 1Token≈0.7 Chinese characters≈0.9 English words. Continuous characters may be considered as 1 Tokens.",
|
||||
"ai_point_expire_a": "will expire. \nAfter the current package expires, the AI points will be cleared and updated to the AI points of the new package. \nThe AI points for the annual package last for 1 year, not every month.",
|
||||
"ai_point_expire_q": "Will AI points expire?",
|
||||
"ai_point_q": "What are AI points?",
|
||||
"auto_renew_a": "After the current package expires, the system will automatically renew according to the \"future package\" and the system will try to deduct the fee from the account balance. If you need to automatically renew, please reserve a quota in the account balance.",
|
||||
"auto_renew_q": "Will the subscription package automatically renew?",
|
||||
"change_package_a": "When the current package price is greater than the new package, you cannot switch immediately. You will be switched in the form of \"renewal\" after the current package expires.\n\nWhen the current package price is lower than the new package, the system will automatically calculate the remaining balance of the current package, and you can pay the price difference to switch packages.",
|
||||
"change_package_q": "Can I switch subscription plans?",
|
||||
"dataset_compute_a": "1 knowledge base storage is equal to 1 knowledge base index. \nA piece of knowledge base data can contain one or more knowledge base indexes. \nDuring enhanced training, 1 piece of data will generate 5 indexes.",
|
||||
"dataset_compute_q": "How to calculate knowledge base storage?",
|
||||
"dataset_index_a": "Won't. \nHowever, when the knowledge base index exceeds, knowledge base content cannot be inserted and updated.",
|
||||
"dataset_index_q": "Will the knowledge base index be deleted if it exceeds the limit?",
|
||||
"free_user_clean_a": "After free version users (free version without purchasing additional packages) have no usage records for 30 days, the system will automatically clear all knowledge base content under the account.",
|
||||
"free_user_clean_q": "Will the data in the free version be cleared?",
|
||||
"package_overlay_a": "OK. \nEach resource package purchased is independent and will be used stacked within its validity period. \nAI points will be deducted from the resource package that expires first.",
|
||||
"package_overlay_q": "Can additional resource packs be stacked?"
|
||||
},
|
||||
"Folder": "Folder",
|
||||
"Login": "Login",
|
||||
"Move": "Move",
|
||||
@@ -11,8 +29,78 @@
|
||||
"UnKnow": "Unknown",
|
||||
"Warning": "Warning",
|
||||
"add_new": "Add new",
|
||||
"chose_condition": "Selection criteria",
|
||||
"chosen": "selected",
|
||||
"classification": "Classification",
|
||||
"click_to_resume": "Resume",
|
||||
"code_editor": "Code edit",
|
||||
"code_error": {
|
||||
"app_error": {
|
||||
"not_exist": "App does not exist",
|
||||
"un_auth_app": "No permission to operate this application"
|
||||
},
|
||||
"chat_error": {
|
||||
"un_auth": "No permission to operate this conversation record"
|
||||
},
|
||||
"error_code": {
|
||||
"400": "Request failed",
|
||||
"401": "No access",
|
||||
"403": "Nervous visit",
|
||||
"404": "Request does not exist",
|
||||
"405": "Request method error",
|
||||
"406": "Request format error",
|
||||
"410": "Resource deleted",
|
||||
"422": "Validation error",
|
||||
"500": "Server error occurred",
|
||||
"502": "Gateway error",
|
||||
"503": "The server is temporarily overloaded or under maintenance",
|
||||
"504": "Gateway timeout"
|
||||
},
|
||||
"error_message": {
|
||||
"403": "Credential error",
|
||||
"510": "Insufficient account balance",
|
||||
"511": "No permission to operate this model",
|
||||
"513": "No permission to read the file",
|
||||
"514": "Api Key is illegal"
|
||||
},
|
||||
"openapi_error": {
|
||||
"api_key_not_exist": "API Key does not exist",
|
||||
"exceed_limit": "Up to 10 sets of API keys",
|
||||
"un_auth": "No permission to operate this API Key"
|
||||
},
|
||||
"outlink_error": {
|
||||
"invalid_link": "Sharing link is invalid",
|
||||
"link_not_exist": "Sharing link does not exist",
|
||||
"un_auth_user": "Identity verification failed"
|
||||
},
|
||||
"plugin_error": {
|
||||
"not_exist": "Plugin does not exist",
|
||||
"un_auth": "No permission to operate this plug-in"
|
||||
},
|
||||
"system_error": {
|
||||
"community_version_num_limit": "If the number limit of the open source version is exceeded, please upgrade to the commercial version: https://fastgpt.in"
|
||||
},
|
||||
"team_error": {
|
||||
"ai_points_not_enough": "",
|
||||
"app_amount_not_enough": "The number of applications has reached the upper limit~",
|
||||
"dataset_amount_not_enough": "The number of knowledge bases has reached the upper limit~",
|
||||
"dataset_size_not_enough": "The capacity of the knowledge base is insufficient, please expand it first~",
|
||||
"over_size": "error.team.overSize",
|
||||
"plugin_amount_not_enough": "The number of plug-ins has reached the upper limit~",
|
||||
"re_rank_not_enough": "Not authorized to use search rearrangement~",
|
||||
"un_auth": "No permission to operate this team",
|
||||
"website_sync_not_enough": "No permission to use Web site synchronization~"
|
||||
},
|
||||
"token_error_code": {
|
||||
"403": "Invalid login status, please log in again"
|
||||
},
|
||||
"user_error": {
|
||||
"balance_not_enough": "Account balance is insufficient~",
|
||||
"bin_visitor": "Your identity verification failed",
|
||||
"bin_visitor_guest": "You are currently a visitor and do not have permission to operate",
|
||||
"un_auth_user": "The user cannot be found"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
"Action": "Action",
|
||||
"Add": "Add",
|
||||
@@ -70,7 +158,7 @@
|
||||
"Name": "Name",
|
||||
"Next Step": "Next Step",
|
||||
"No more data": "No more data~",
|
||||
"Not open": "Not open",
|
||||
"Not open": "Unopened",
|
||||
"OK": "OK",
|
||||
"Open": "Open",
|
||||
"Operation": "Operation",
|
||||
@@ -118,6 +206,7 @@
|
||||
"Waiting": "Waiting",
|
||||
"Warning": "Warning",
|
||||
"Website": "Website",
|
||||
"all_result": "full results",
|
||||
"avatar": {
|
||||
"Select Avatar": "Click to select avatar",
|
||||
"Select Failed": "Select avatar failed"
|
||||
@@ -136,6 +225,7 @@
|
||||
"Select avatar failed": "Avatar selection failed",
|
||||
"unKnow": "An unexpected error occurred~"
|
||||
},
|
||||
"failed": "fail",
|
||||
"folder": {
|
||||
"Drag Tip": "Drag me",
|
||||
"Move Success": "Move successful",
|
||||
@@ -143,11 +233,13 @@
|
||||
"No Folder": "No subdirectories, place here",
|
||||
"Open folder": "Open folder",
|
||||
"Root Path": "Root directory",
|
||||
"empty": "This directory has nothing selectable~"
|
||||
"empty": "This directory has nothing selectable~",
|
||||
"open_dataset": "Open knowledge base"
|
||||
},
|
||||
"input": {
|
||||
"Repeat Value": "Duplicate value"
|
||||
},
|
||||
"is_requesting": "Requesting...",
|
||||
"jsonEditor": {
|
||||
"Parse error": "JSON may be incorrect, please check carefully"
|
||||
},
|
||||
@@ -156,10 +248,16 @@
|
||||
},
|
||||
"month": "Month",
|
||||
"name_is_empty": "Name cannot be empty",
|
||||
"no_intro": "No introduction yet",
|
||||
"not_support": "not support",
|
||||
"page_center": "Center the page",
|
||||
"request_end": "All loaded",
|
||||
"request_more": "Click to load more",
|
||||
"speech": {
|
||||
"error tip": "Speech to text failed",
|
||||
"not support": "Your browser does not support speech input"
|
||||
},
|
||||
"support": "support",
|
||||
"system": {
|
||||
"Commercial version function": "Commercial version feature",
|
||||
"Help Chatbot": "Chatbot assistant",
|
||||
@@ -171,6 +269,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"confirm_choice": "Confirm selection",
|
||||
"core": {
|
||||
"Chat": "Chat",
|
||||
"Max Token": "Max token per data",
|
||||
@@ -184,7 +283,8 @@
|
||||
"Support tool": "Function call",
|
||||
"model": {
|
||||
"Dataset Agent Model": "File processing model",
|
||||
"Vector Model": "Index model"
|
||||
"Vector Model": "Index model",
|
||||
"doc_index_and_dialog": "Document index"
|
||||
}
|
||||
},
|
||||
"app": {
|
||||
@@ -242,6 +342,7 @@
|
||||
"Query extension background prompt": "Conversation background description",
|
||||
"Query extension background tip": "Describe the scope of the current conversation to help the AI complete and expand the current question. The content filled in is usually for the assistant"
|
||||
},
|
||||
"edit_content": "Application information editing",
|
||||
"error": {
|
||||
"App name can not be empty": "App name cannot be empty",
|
||||
"Get app failed": "Failed to get app"
|
||||
@@ -250,9 +351,13 @@
|
||||
"Custom feedback": "Custom feedback",
|
||||
"close custom feedback": "Close feedback"
|
||||
},
|
||||
"have_publish": "Published",
|
||||
"loading": "loading",
|
||||
"logs": {
|
||||
"Source And Time": "Source & Time"
|
||||
},
|
||||
"no_app": "There is no application yet, go and create one!",
|
||||
"not_published": "Unpublished",
|
||||
"outLink": {
|
||||
"Can Drag": "Icon draggable",
|
||||
"Default open": "Open by default",
|
||||
@@ -295,6 +400,11 @@
|
||||
"variableTip": "You can ask the user to fill in some content as specific variables for this round of conversation before the conversation starts. This module is located after the opening guide.\nVariables can be injected into other module string type inputs through the form of {{variable key}}, such as: prompt words, limiting words, etc.",
|
||||
"welcomeTextTip": "Send an initial content before each conversation starts. Supports standard Markdown syntax, additional tags available:\n[Shortcut key]: User can click to send the question directly"
|
||||
},
|
||||
"tool_label": {
|
||||
"doc": "Use documentation",
|
||||
"github": "GitHub address",
|
||||
"price": "Billing instructions"
|
||||
},
|
||||
"tts": {
|
||||
"Close": "Do not use",
|
||||
"Speech model": "Voice model",
|
||||
@@ -361,7 +471,8 @@
|
||||
"Chat error": "Chat error",
|
||||
"Messages empty": "API content is empty, text may be too long~",
|
||||
"Select dataset empty": "You did not select a dataset",
|
||||
"User input empty": "User question input is empty"
|
||||
"User input empty": "User question input is empty",
|
||||
"data_error": "Exception in getting data"
|
||||
},
|
||||
"feedback": {
|
||||
"Close User Like": "User expressed approval\nClick to close this mark",
|
||||
@@ -501,6 +612,7 @@
|
||||
"Search data placeholder": "Search related data",
|
||||
"Too Long": "Total length too long",
|
||||
"Total Amount": "{{total}} sets",
|
||||
"group": "Group",
|
||||
"unit": "items"
|
||||
},
|
||||
"embedding model tip": "The index model can convert natural language into vectors for semantic retrieval.\nNote, different index models cannot be used together, once you select an index model, it cannot be changed.",
|
||||
@@ -649,7 +761,8 @@
|
||||
"Confirm Delete Node": "Confirm delete node?",
|
||||
"Data Type": "Data type",
|
||||
"Dataset quote": {
|
||||
"label": "Knowledge base quote"
|
||||
"label": "Knowledge base quote",
|
||||
"select": "Select knowledge base reference"
|
||||
},
|
||||
"Default Value": "Default value",
|
||||
"Default value": "Default value",
|
||||
@@ -772,7 +885,9 @@
|
||||
"variable option is value is required": "Option content cannot be empty",
|
||||
"variable options": "Options"
|
||||
},
|
||||
"variable add option": "Add option"
|
||||
"variable add option": "Add option",
|
||||
"variable_update": "variable update",
|
||||
"variable_update_info": "You can update the output value of the specified node or update global variables"
|
||||
},
|
||||
"plugin": {
|
||||
"Custom headers": "Custom headers",
|
||||
@@ -781,6 +896,7 @@
|
||||
"Http plugin intro placeholder": "For display only, no actual effect",
|
||||
"cost": "Plugin cost: "
|
||||
},
|
||||
"view_chat_detail": "View conversation details",
|
||||
"workflow": {
|
||||
"Can not delete node": "This node cannot be deleted",
|
||||
"Change input type tip": "Changing the input type will clear the filled values, please confirm!",
|
||||
@@ -840,6 +956,7 @@
|
||||
"variable": "Variable"
|
||||
}
|
||||
},
|
||||
"create": "to create",
|
||||
"dataset": {
|
||||
"Confirm move the folder": "Confirm moving to the folder",
|
||||
"Confirm to delete the data": "Confirm to delete the data?",
|
||||
@@ -892,6 +1009,7 @@
|
||||
"noResult": "No results found"
|
||||
}
|
||||
},
|
||||
"default_reply": "Default reply",
|
||||
"error": {
|
||||
"Create failed": "Create failed",
|
||||
"fileNotFound": "File not found~",
|
||||
@@ -901,9 +1019,30 @@
|
||||
"overSize": "Team members exceed the limit"
|
||||
}
|
||||
},
|
||||
"extraction_results": "Extract results",
|
||||
"field_name": "Name",
|
||||
"get_QR_failed": "Failed to obtain QR code",
|
||||
"get_app_failed": "Failed to get app",
|
||||
"get_laf_failed": "Failed to get Laf function list",
|
||||
"has_verification": "Verified, click to cancel binding",
|
||||
"info": {
|
||||
"buy_extra": "Purchase additional packages",
|
||||
"csv_download": "Click to download batch test template",
|
||||
"csv_message": "Read the first column of the CSV file for batch testing, supporting up to 100 sets of data at a time.",
|
||||
"felid_message": "The field key must be pure English letters or numbers, and cannot start with a number.",
|
||||
"free_plan": "When free version users have no usage records for 30 days, the system will automatically clean up the account knowledge base.",
|
||||
"include": "Includes standard package and additional resource package",
|
||||
"node_info": "Adjusting this module will have an impact on the timing of tool calls.\n\nYou can guide the model to make tool calls by accurately describing the function of the module.",
|
||||
"old_version_attention": "If it is detected that your advanced arrangement is an old version, the system will automatically format it into a new version of the workflow for you.\n\n\nDue to large version differences, some workflows may not be arranged normally. Please reconnect the workflows manually. \nIf the error persists, try deleting the corresponding node and adding it again.\n\n\nYou can directly click Debug to perform workflow testing, and click Publish after debugging is completed. \nThe new workflow will not actually save and take effect until you click Publish.\n\n\nAutosave will not take effect until you publish the new workflow.",
|
||||
"open_api_notice": "You can fill in the relevant secret key of OpenAI/OneAPI. \nIf you fill in this content, the online platform will use [AI Dialogue], [Problem Classification] and [Content Extraction] to retrieve the Key you filled in, and no charges will be made. \nPlease pay attention to whether your Key has permission to access the corresponding model. \nThe GPT model can choose FastAI.",
|
||||
"open_api_placeholder": "Request address, default is openai official. \nThe forwarding address can be filled in, but \"v1\" is not automatically completed.",
|
||||
"resource": "Resource usage"
|
||||
},
|
||||
"invalid_variable": "Invalid variable",
|
||||
"is_open": "Opened",
|
||||
"item_description": "Field description",
|
||||
"item_name": "Field name",
|
||||
"key_repetition": "key duplicate",
|
||||
"navbar": {
|
||||
"Account": "Account",
|
||||
"Chat": "Chat",
|
||||
@@ -913,6 +1052,23 @@
|
||||
},
|
||||
"new_create": "Create New",
|
||||
"no_data": "No data",
|
||||
"no_laf_env": "The system is not configured with Laf environment",
|
||||
"not_yet_introduced": "No introduction yet",
|
||||
"pay": {
|
||||
"amount": "Amount",
|
||||
"balance": "Account balance",
|
||||
"balance_notice": "Insufficient account balance",
|
||||
"confirm_pay": "confirm payment",
|
||||
"get_pay_QR": "Get the recharge QR code",
|
||||
"need_pay": "Need to pay",
|
||||
"new_package_price": "New package price",
|
||||
"notice": "Do not close the page",
|
||||
"old_package_price": "Old package price",
|
||||
"other": "For other amounts, please round up the whole number",
|
||||
"to_recharge": "Insufficient balance, please recharge",
|
||||
"wechat": "Please scan the QR code on WeChat to pay:",
|
||||
"yuan": "Yuan"
|
||||
},
|
||||
"permission": {
|
||||
"Collaborator": "collaborator",
|
||||
"Default permission": "Default permission",
|
||||
@@ -950,9 +1106,13 @@
|
||||
"Plugin List": "Plugin list",
|
||||
"Search plugin": "Search plugin",
|
||||
"Set Name": "Name the plugin",
|
||||
"contribute": "Contribute plugins",
|
||||
"go to laf": "Go to write",
|
||||
"path": "Path"
|
||||
},
|
||||
"reply_now": "Reply immediately",
|
||||
"required": "must",
|
||||
"resume_failed": "Recovery failed",
|
||||
"select_reference_variable": "Select Reference Variable",
|
||||
"share_link": "Share Link",
|
||||
"support": {
|
||||
@@ -1027,8 +1187,14 @@
|
||||
"Terms": "Terms of service",
|
||||
"Username": "Username",
|
||||
"Wechat": "Login with Wechat",
|
||||
"can_not_login": "Unable to log in, click to contact",
|
||||
"error": "Login exception",
|
||||
"security_failed": "Security check failed",
|
||||
"wx_qr_login": "Wechat QR code login"
|
||||
},
|
||||
"logout": {
|
||||
"confirm": "Confirm to log out?"
|
||||
},
|
||||
"team": {
|
||||
"Dataset usage": "Knowledge base capacity",
|
||||
"Team Tags Async Success": "Synchronization complete",
|
||||
@@ -1046,6 +1212,7 @@
|
||||
"Plan reset time": "Plan reset time",
|
||||
"Standard Plan Detail": "Plan details",
|
||||
"To read plan": "View plan",
|
||||
"amount_0": "The purchase quantity cannot be 0",
|
||||
"bill": {
|
||||
"Number": "Order number",
|
||||
"Status": "Status",
|
||||
@@ -1062,6 +1229,7 @@
|
||||
"success": "Payment successful"
|
||||
}
|
||||
},
|
||||
"buy_resource": "Purchase resource pack",
|
||||
"moduleName": {
|
||||
"index": "Index generation",
|
||||
"qa": "QA split"
|
||||
@@ -1093,6 +1261,7 @@
|
||||
"Update extra ai points": "Extra AI points",
|
||||
"Update extra dataset size": "Extra storage",
|
||||
"Upgrade plan": "Upgrade plan",
|
||||
"ai_model": "AI language model",
|
||||
"function": {
|
||||
"History store": "{{amount}} days of conversation history retention",
|
||||
"Max app": "{{amount}} apps",
|
||||
@@ -1107,6 +1276,7 @@
|
||||
"Year": "Yearly",
|
||||
"Year sale": "Two months free"
|
||||
},
|
||||
"point": "integral",
|
||||
"standardSubLevel": {
|
||||
"enterprise": "Enterprise edition",
|
||||
"experience": "Experience edition",
|
||||
@@ -1114,6 +1284,7 @@
|
||||
"free desc": "Basic functions can be used for free every month, and the knowledge base will be cleared if there is no usage record for 30 days",
|
||||
"team": "Team edition"
|
||||
},
|
||||
"token_compute": "Click to view the online Tokens calculator",
|
||||
"type": {
|
||||
"balance": "Balance recharge",
|
||||
"extraDatasetSize": "Knowledge base expansion",
|
||||
@@ -1152,6 +1323,12 @@
|
||||
"Quote Prompt Tip": "You can use {{quote}} to insert the quote content template, and use {{question}} to insert the question. Here are the default values:\n{{default}}"
|
||||
},
|
||||
"textarea_variable_picker_tip": "Input / to select variables",
|
||||
"tool_field": "Tool field parameter configuration",
|
||||
"undefined_var": "An undefined variable is referenced. Is it automatically added?",
|
||||
"unit": {
|
||||
"character": "character",
|
||||
"minute": "minute"
|
||||
},
|
||||
"unusable_variable": "no usable variable",
|
||||
"user": {
|
||||
"Account": "Account",
|
||||
@@ -1192,6 +1369,13 @@
|
||||
"apikey": {
|
||||
"key": "API key"
|
||||
},
|
||||
"confirm_password": "Confirm Password",
|
||||
"new_password": "New Password",
|
||||
"no_invite_records": "No invitation record yet",
|
||||
"no_notice": "No notification yet",
|
||||
"no_usage_records": "No usage record yet",
|
||||
"old_password": "Old Password",
|
||||
"password_message": "Password must be at least 4 characters and at most 60 characters",
|
||||
"team": {
|
||||
"Balance": "Team Balance",
|
||||
"Check Team": "Switch",
|
||||
@@ -1239,6 +1423,8 @@
|
||||
"Owner": "Owner",
|
||||
"Visitor": "Visitor"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": "type"
|
||||
},
|
||||
"verification": "verify"
|
||||
}
|
||||
|
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"click_to_view_raw_source": "View source",
|
||||
"release_the_mouse_to_upload_the_file": "Release the mouse to upload the file",
|
||||
"upload_error_description": "Only supports uploading multiple files or one folder at a time",
|
||||
"file_name": "File Name",
|
||||
"file_size": "File Size",
|
||||
"reached_max_file_count": "Maximum number of files reached",
|
||||
"release_the_mouse_to_upload_the_file": "Release the mouse to upload the file",
|
||||
"select_and_drag_file_tip": "Click or drag files here to upload",
|
||||
"select_file_amount_limit": "You can select up to {{max}} files",
|
||||
"some_file_count_exceeds_limit": "Exceeds {{maxCount}} files, automatically truncated",
|
||||
@@ -11,5 +11,6 @@
|
||||
"support_file_type": "Supports {{fileType}} type files",
|
||||
"support_max_count": "Supports up to {{maxCount}} files.",
|
||||
"support_max_size": "Maximum size per file: {{maxSize}}.",
|
||||
"upload_error_description": "Only supports uploading multiple files or one folder at a time",
|
||||
"upload_failed": "Upload failed"
|
||||
}
|
||||
}
|
||||
|
@@ -1,15 +1,76 @@
|
||||
{
|
||||
"bind_inform_account_error": "Abnormal binding notification account",
|
||||
"bind_inform_account_success": "Binding notification account successful",
|
||||
"delete": {
|
||||
"admin_failed": "Failed to delete administrator",
|
||||
"admin_success": "Administrator deleted successfully"
|
||||
},
|
||||
"has_chosen": "chosen",
|
||||
"login": {
|
||||
"error": "Login exception",
|
||||
"failed": "Login failed",
|
||||
"login_account": "Login to {{account}} account",
|
||||
"login_error": "wrong user name or password",
|
||||
"password_condition": "Password maximum 60 characters",
|
||||
"success": "login successful",
|
||||
"to_register": "If you don’t have an account, please register."
|
||||
},
|
||||
"name": "name",
|
||||
"notification": {
|
||||
"Bind Notification Pipe Hint": "Bind the email address or mobile phone number for receiving notifications to ensure that you receive important system notifications in a timely manner."
|
||||
},
|
||||
"operations": "operate",
|
||||
"password": {
|
||||
"change_error": "Exception when changing password",
|
||||
"code_required": "verification code must be filled",
|
||||
"code_send_error": "Verification code sending exception",
|
||||
"code_sended": "Verification code sent",
|
||||
"confirm": "Confirm Password",
|
||||
"email_phone": "Email/Mobile phone number",
|
||||
"email_phone_error": "Email/mobile phone number format error",
|
||||
"email_phone_void": "Email/mobile phone number cannot be empty",
|
||||
"get_code": "get verification code",
|
||||
"get_code_again": "Reacquire after s",
|
||||
"new_password": "New password (4~20 digits)",
|
||||
"not_match": "Two passwords are inconsistent",
|
||||
"password_condition": "Password must be at least 4 characters and at most 20 characters",
|
||||
"password_required": "password can not be blank",
|
||||
"retrieve": "Retrieve password",
|
||||
"retrieved": "Password has been retrieved",
|
||||
"retrieved_account": "Retrieve {{account}} account",
|
||||
"to_login": "Go to login",
|
||||
"verification_code": "Verification code"
|
||||
},
|
||||
"permission": {
|
||||
"Manage": "administrator",
|
||||
"Manage tip": "Team administrator, with full permissions",
|
||||
"Read": "Read only",
|
||||
"Read desc": "Members can only read related resources and cannot create new resources.",
|
||||
"Write": "Write",
|
||||
"Write tip": "In addition to readable resources, you can also create new resources"
|
||||
"Write tip": "In addition to readable resources, you can also create new resources",
|
||||
"only_collaborators": "Collaborator access only",
|
||||
"team_read": "Team accessible",
|
||||
"team_write": "Team editable"
|
||||
},
|
||||
"permissions": "Permissions",
|
||||
"register": {
|
||||
"confirm": "Confirm registration",
|
||||
"error": "Registration exception",
|
||||
"failed": "registration failed",
|
||||
"register_account": "Register {{account}} account",
|
||||
"success": "registration success",
|
||||
"to_login": "Already have an account? Log in"
|
||||
},
|
||||
"search_user": "Search username",
|
||||
"synchronization": {
|
||||
"button": "Sync now",
|
||||
"placeholder": "Please enter sync label",
|
||||
"title": "Fill in the tag synchronization link and click the sync button to synchronize"
|
||||
},
|
||||
"team": {
|
||||
"Add manager": "Add manager"
|
||||
"Add manager": "Add manager",
|
||||
"add_collaborator": "Add collaborators",
|
||||
"manage_collaborators": "Manage collaborators",
|
||||
"no_collaborators": "No collaborators yet"
|
||||
}
|
||||
}
|
||||
|
@@ -6,7 +6,9 @@
|
||||
"Reset template confirm": "Are you sure to restore the code template? All input and output to template values will be reset, please be careful to save the current code."
|
||||
},
|
||||
"confirm_delete_field_tip": "Confirm to delete the field?",
|
||||
"create_link_error": "Create link exception",
|
||||
"custom_input": "Custom input",
|
||||
"delete_api": "Are you sure you want to delete this API key? \nAfter deletion, the key will become invalid immediately and the corresponding conversation log will not be deleted. Please confirm!",
|
||||
"edit_input": "Edit input",
|
||||
"field_description": "Field description",
|
||||
"field_description_placeholder": "Describes the functionality of this input field, which affects the quality of model generation if the parameter is called for a tool",
|
||||
@@ -28,5 +30,6 @@
|
||||
"Error": "Error"
|
||||
},
|
||||
"tool_input": "Tool",
|
||||
"update_link_error": "Update link exception",
|
||||
"variable_picker_tips": "enter node name or variable name to search"
|
||||
}
|
||||
|
@@ -8,6 +8,7 @@
|
||||
"has new version": "有新版本"
|
||||
}
|
||||
},
|
||||
"intro": "是一个大模型应用编排系统,提供开箱即用的数据处理、模型调用等能力,可以快速的构建知识库并通过 Flow 可视化进行工作流编排,实现复杂的知识库场景!",
|
||||
"app_detail": "应用详情",
|
||||
"chat_debug": "调试预览",
|
||||
"chat_logs": "对话日志",
|
||||
@@ -79,5 +80,34 @@
|
||||
"template": {
|
||||
"communication": "通信"
|
||||
}
|
||||
}
|
||||
},
|
||||
"interval": {
|
||||
"per_hour": "每小时",
|
||||
"2_hours": "每2小时",
|
||||
"3_hours": "每3小时",
|
||||
"4_hours": "每4小时",
|
||||
"6_hours": "每6小时",
|
||||
"12_hours": "每12小时"
|
||||
},
|
||||
"week": {
|
||||
"Monday": "星期一",
|
||||
"Tuesday": "星期二",
|
||||
"Wednesday": "星期三",
|
||||
"Thursday": "星期四",
|
||||
"Friday": "星期五",
|
||||
"Saturday": "星期六",
|
||||
"Sunday": "星期日"
|
||||
},
|
||||
"month": {
|
||||
"unit": "号"
|
||||
},
|
||||
"cron": {
|
||||
"every_day": "每天执行",
|
||||
"every_month": "每月执行",
|
||||
"every_week": "每周执行",
|
||||
"interval": "间隔执行"
|
||||
},
|
||||
"day": "日",
|
||||
"execute_time": "执行时间",
|
||||
"time_zone": "时区"
|
||||
}
|
||||
|
@@ -11,5 +11,24 @@
|
||||
"input_guide_lexicon": "词库",
|
||||
"input_guide_tip": "可以配置一些预设的问题。在用户输入问题时,会从这些预设问题中获取相关问题进行提示。",
|
||||
"insert_input_guide,_some_data_already_exists": "有重复数据,已自动过滤,共插入 {{len}} 条数据",
|
||||
"new_input_guide_lexicon": "新词库"
|
||||
"new_input_guide_lexicon": "新词库",
|
||||
"is_chatting": "正在聊天中...请等待结束",
|
||||
"content_empty": "内容为空",
|
||||
"contextual": "{{num}}条上下文",
|
||||
"contextual_preview": "上下文预览 {{num}} 条",
|
||||
"items": "条",
|
||||
"view_citations": "查看引用",
|
||||
"citations": "{{num}}条引用",
|
||||
"click_contextual_preview": "点击查看上下文预览",
|
||||
"multiple_AI_conversations": "多组 AI 对话",
|
||||
"module_runtime_and": "模块运行时间和",
|
||||
"empty_directory": "这个目录已经没东西可选了~",
|
||||
"chat_history": "聊天记录",
|
||||
"stream_output": "流输出",
|
||||
"plugins_output": "插件输出",
|
||||
"in_progress": "进行中",
|
||||
"question_tip": "从上到下,为各个模块的响应顺序",
|
||||
"rearrangement": "检索结果重排",
|
||||
"web_site_sync": "Web站点同步",
|
||||
"new_chat": "新对话"
|
||||
}
|
||||
|
@@ -1,19 +1,160 @@
|
||||
{
|
||||
"App": "应用",
|
||||
"click_to_resume": "点击恢复",
|
||||
"code_editor": "代码编辑",
|
||||
"Export": "导出",
|
||||
"Folder": "文件夹",
|
||||
"Login": "登录",
|
||||
"chosen": "已选",
|
||||
"chose_condition": "选择条件",
|
||||
"confirm_choice": "确认选择",
|
||||
"Move": "移动",
|
||||
"Name": "名称",
|
||||
"create": "去创建",
|
||||
"required": "必须",
|
||||
"extraction_results": "提取结果",
|
||||
"item_description": "字段描述",
|
||||
"item_name": "字段名",
|
||||
"tool_field": "工具字段参数配置",
|
||||
"classification": "分类",
|
||||
"get_laf_failed": "获取Laf函数列表失败",
|
||||
"no_laf_env": "系统未配置Laf环境",
|
||||
"get_app_failed": "获取应用失败",
|
||||
"Rename": "重命名",
|
||||
"Resume": "恢复",
|
||||
"resume_failed": "恢复失败",
|
||||
"Running": "运行中",
|
||||
"UnKnow": "未知",
|
||||
"Warning": "提示",
|
||||
"default_reply": "默认回复",
|
||||
"reply_now": "立即回复",
|
||||
"add_new": "新增",
|
||||
"click_to_resume": "点击恢复",
|
||||
"code_editor": "代码编辑",
|
||||
"verification": "验证",
|
||||
"key_repetition": "key 重复",
|
||||
"has_verification": "已验证,点击取消绑定",
|
||||
"undefined_var": "引用了未定义的变量,是否自动添加?",
|
||||
"not_yet_introduced": "暂无介绍",
|
||||
"get_QR_failed": "获取二维码失败",
|
||||
"unit": {
|
||||
"character": "字符",
|
||||
"minute": "分钟"
|
||||
},
|
||||
"FAQ": {
|
||||
"auto_renew_q": "订阅套餐会自动续费么?",
|
||||
"auto_renew_a": "当前套餐过期后,系统会自动根据“未来套餐”进行续费,系统会尝试从账户余额进行扣费,如果您需要自动续费,请在账户余额中预留额度。",
|
||||
"change_package_q": "能否切换订阅套餐?",
|
||||
"change_package_a": "当前套餐价格大于新套餐时,无法立即切换,将会在当前套餐过期后以“续费”形式进行切换。\n当前套餐价格小于新套餐时,系统会自动计算当前套餐剩余余额,您可支付差价进行套餐切换。",
|
||||
"ai_point_q": "什么是AI积分?",
|
||||
"ai_point_a": "每次调用AI模型时,都会消耗一定的AI积分。具体的计算标准可参考上方的“AI 积分计算标准”。\nToken计算采用GPT3.5相同公式,1Token≈0.7中文字符≈0.9英文单词,连续出现的字符可能被认为是1个Tokens。",
|
||||
"ai_point_expire_q": "AI积分会过期么?",
|
||||
"ai_point_expire_a": "会过期。当前套餐过期后,AI积分将会清空,并更新为新套餐的AI积分。年度套餐的AI积分时长为1年,而不是每个月。",
|
||||
"dataset_compute_q": "知识库存储怎么计算?",
|
||||
"dataset_compute_a": "1条知识库存储等于1条知识库索引。一条知识库数据可以包含1条或多条知识库索引。增强训练中,1条数据会生成5条索引。",
|
||||
"dataset_index_q": "知识库索引超出会删除么?",
|
||||
"dataset_index_a": "不会。但知识库索引超出时,无法插入和更新知识库内容。",
|
||||
"package_overlay_q": "额外资源包可以叠加么?",
|
||||
"package_overlay_a": "可以的。每次购买的资源包都是独立的,在其有效期内将会叠加使用。AI积分会优先扣除最先过期的资源包。",
|
||||
"free_user_clean_q": "免费版数据会清除么?",
|
||||
"free_user_clean_a": "免费版用户(免费版且未购买额外套餐)30天无使用记录后,系统会自动清除账号下所有知识库内容。"
|
||||
},
|
||||
"code_error": {
|
||||
"app_error": {
|
||||
"not_exist": "应用不存在",
|
||||
"un_auth_app": "无权操作该应用"
|
||||
},
|
||||
"chat_error": {
|
||||
"un_auth": "没有权限操作此对话记录"
|
||||
},
|
||||
"error_code": {
|
||||
"400": "请求失败",
|
||||
"401": "无访问权限",
|
||||
"403": "紧张访问",
|
||||
"404": "请求不存在",
|
||||
"405": "请求方法错误",
|
||||
"406": "请求格式错误",
|
||||
"410": "资源已删除",
|
||||
"422": "验证错误",
|
||||
"500": "服务器发生错误",
|
||||
"502": "网关错误",
|
||||
"503": "服务器暂时过载或正在维护",
|
||||
"504": "网关超时"
|
||||
},
|
||||
"error_message": {
|
||||
"403": "凭证错误",
|
||||
"510": "账户余额不足",
|
||||
"511": "没有权限操作此模型",
|
||||
"513": "没有权限读取该文件",
|
||||
"514": "Api Key 不合法"
|
||||
},
|
||||
"token_error_code": {
|
||||
"403": "登录状态无效,请重新登录"
|
||||
},
|
||||
"openapi_error": {
|
||||
"api_key_not_exist": "Api Key 不存在",
|
||||
"un_auth": "无权操作该 Api Key",
|
||||
"exceed_limit": "最多 10 组 API 密钥"
|
||||
},
|
||||
"outlink_error": {
|
||||
"link_not_exist": "分享链接不存在",
|
||||
"invalid_link": "分享链接无效",
|
||||
"un_auth_user": "身份校验失败"
|
||||
},
|
||||
"plugin_error": {
|
||||
"not_exist": "插件不存在",
|
||||
"un_auth": "无权操作该插件"
|
||||
},
|
||||
"system_error": {
|
||||
"community_version_num_limit": "超出开源版数量限制,请升级商业版: https://fastgpt.in"
|
||||
},
|
||||
"team_error": {
|
||||
"over_size": "error.team.overSize",
|
||||
"un_auth": "无权操作该团队",
|
||||
"ai_points_not_enough": "",
|
||||
"dataset_size_not_enough": "知识库容量不足,请先扩容~",
|
||||
"dataset_amount_not_enough": "知识库数量已达上限~",
|
||||
"app_amount_not_enough": "应用数量已达上限~",
|
||||
"plugin_amount_not_enough": "插件数量已达上限~",
|
||||
"website_sync_not_enough": "无权使用Web站点同步~",
|
||||
"re_rank_not_enough": "无权使用检索重排~"
|
||||
},
|
||||
"user_error": {
|
||||
"un_auth_user": "找不到该用户",
|
||||
"bin_visitor": "您的身份校验未通过",
|
||||
"bin_visitor_guest": "您当前身份为游客,无权操作",
|
||||
"balance_not_enough": "账号余额不足~"
|
||||
}
|
||||
},
|
||||
"pay": {
|
||||
"wechat": "请微信扫码支付: {{price}}元,请勿关闭页面",
|
||||
"yuan": "{{amount}}元",
|
||||
"notice": "请勿关闭页面",
|
||||
"get_pay_QR": "获取充值二维码",
|
||||
"other": "其他金额,请取整数",
|
||||
"amount": "金额",
|
||||
"new_package_price": "新套餐价格",
|
||||
"old_package_price": "旧套餐价格",
|
||||
"need_pay": "需支付",
|
||||
"balance": "账号余额",
|
||||
"confirm_pay": "确认支付",
|
||||
"balance_notice": "账号余额不足",
|
||||
"to_recharge": "余额不足,去充值"
|
||||
},
|
||||
"info": {
|
||||
"free_plan": "免费版用户30天无任何使用记录时,系统会自动清理账号知识库。",
|
||||
"resource": "资源用量",
|
||||
"include": "包含标准套餐与额外资源包",
|
||||
"buy_extra": "购买额外套餐",
|
||||
"open_api_notice": "可以填写 OpenAI/OneAPI的相关秘钥。如果你填写了该内容,在线上平台使用【AI对话】、【问题分类】和【内容提取】将会走你填写的Key,不会计费。请注意你的Key 是否有访问对应模型的权限。GPT模型可以选择 FastAI。",
|
||||
"open_api_placeholder": "请求地址,默认为 openai 官方。可填中转地址,未自动补全 \"v1\"",
|
||||
"old_version_attention": "检测到您的高级编排为旧版,系统将为您自动格式化成新版工作流。\n\n由于版本差异较大,会导致一些工作流无法正常排布,请重新手动连接工作流。如仍异常,可尝试删除对应节点后重新添加。\n\n你可以直接点击调试进行工作流测试,调试完毕后点击发布。直到你点击发布,新工作流才会真正保存生效。\n\n在你发布新工作流前,自动保存不会生效。",
|
||||
"node_info": "调整该模块会对工具调用时机有影响。\n你可以通过精确的描述该模块功能,引导模型进行工具调用。",
|
||||
"felid_message": "字段key必须是纯英文字母或数字,并且不能以数字开头。",
|
||||
"csv_message": "读取 CSV 文件第一列进行批量测试,单次最多支持 100 组数据。",
|
||||
"csv_download": "点击下载批量测试模板"
|
||||
},
|
||||
"common": {
|
||||
"support": "支持",
|
||||
"not_support": "不支持",
|
||||
"Action": "操作",
|
||||
"Add": "添加",
|
||||
"Add New": "新增",
|
||||
@@ -58,12 +199,14 @@
|
||||
"Input folder description": "文件夹描述",
|
||||
"Input name": "取个名字",
|
||||
"Intro": "介绍",
|
||||
"no_intro": "暂无介绍",
|
||||
"Last Step": "上一步",
|
||||
"Last use time": "最后使用时间",
|
||||
"Load Failed": "加载失败",
|
||||
"Loading": "加载中...",
|
||||
"More": "更多",
|
||||
"Move": "移动",
|
||||
"page_center": "页面居中",
|
||||
"MultipleRowSelect": {
|
||||
"No data": "没有可选值"
|
||||
},
|
||||
@@ -76,6 +219,7 @@
|
||||
"Operation": "操作",
|
||||
"Other": "其他",
|
||||
"Output": "输出",
|
||||
"all_result": "完整结果",
|
||||
"Params": "参数",
|
||||
"Password inconsistency": "两次密码不一致",
|
||||
"Permission": "权限",
|
||||
@@ -85,13 +229,16 @@
|
||||
"Remove": "移除",
|
||||
"Rename": "重命名",
|
||||
"Request Error": "请求异常",
|
||||
"is_requesting": "请求中……",
|
||||
"request_end": "已加载全部",
|
||||
"request_more": "点击加载更多",
|
||||
"Require Input": "必填",
|
||||
"Restart": "重新开始",
|
||||
"Role": "权限",
|
||||
"Root folder": "根目录",
|
||||
"Run": "运行",
|
||||
"Save": "保存",
|
||||
"Save Failed": "保存失败",
|
||||
"Save Failed": "保存异常",
|
||||
"Save Success": "保存成功",
|
||||
"Search": "搜索",
|
||||
"Select File Failed": "选择文件异常",
|
||||
@@ -102,6 +249,7 @@
|
||||
"Status": "状态",
|
||||
"Submit failed": "提交失败",
|
||||
"Success": "成功",
|
||||
"failed": "失败",
|
||||
"Sync success": "同步成功",
|
||||
"Team": "团队",
|
||||
"Team Tags Set": "标签",
|
||||
@@ -142,6 +290,7 @@
|
||||
"Move to": "移动到",
|
||||
"No Folder": "没有子目录了,就放这里吧",
|
||||
"Open folder": "打开文件夹",
|
||||
"open_dataset": "打开知识库",
|
||||
"Root Path": "根目录",
|
||||
"empty": "这个目录已经没东西可选了~"
|
||||
},
|
||||
@@ -173,6 +322,7 @@
|
||||
},
|
||||
"core": {
|
||||
"Chat": "对话",
|
||||
"view_chat_detail": "查看对话详情",
|
||||
"Max Token": "单条数据上限",
|
||||
"ai": {
|
||||
"AI settings": "AI 配置",
|
||||
@@ -184,11 +334,15 @@
|
||||
"Support tool": "函数调用",
|
||||
"model": {
|
||||
"Dataset Agent Model": "文件处理模型",
|
||||
"Vector Model": "索引模型"
|
||||
"Vector Model": "索引模型",
|
||||
"doc_index_and_dialog": "文档索引 & 对话索引"
|
||||
}
|
||||
},
|
||||
"app": {
|
||||
"Ai response": "返回 AI 内容",
|
||||
"loading": "加载中",
|
||||
"no_app": "还没有应用,快去创建一个吧!",
|
||||
"edit_content": "应用信息编辑",
|
||||
"Api request": "API 访问",
|
||||
"Api request desc": "通过 API 接入到已有系统中,或企微、飞书等",
|
||||
"App intro": "应用介绍",
|
||||
@@ -204,6 +358,8 @@
|
||||
"Name and avatar": "头像 & 名称",
|
||||
"Onclick to save": "点击保存",
|
||||
"Publish": "发布",
|
||||
"have_publish": "已发布",
|
||||
"not_published": "未发布",
|
||||
"Publish Confirm": "确认发布应用?会立即更新所有发布渠道的应用状态。",
|
||||
"Publish app tip": "发布应用后,所有发布渠道将会立即使用该版本",
|
||||
"Question Guide": "猜你想问",
|
||||
@@ -233,6 +389,11 @@
|
||||
"System": "系统",
|
||||
"Team": "团队"
|
||||
},
|
||||
"tool_label": {
|
||||
"github": "GitHub地址",
|
||||
"doc": "使用文档",
|
||||
"price": "计费说明"
|
||||
},
|
||||
"Welcome Text": "对话开场白",
|
||||
"Whisper": "语音输入",
|
||||
"Whisper config": "语音输入配置",
|
||||
@@ -359,6 +520,7 @@
|
||||
"You need to a chat app": "你没有可用的应用",
|
||||
"error": {
|
||||
"Chat error": "对话出现异常",
|
||||
"data_error": "获取数据异常",
|
||||
"Messages empty": "接口内容为空,可能文本超长了~",
|
||||
"Select dataset empty": "你没有选择知识库",
|
||||
"User input empty": "传入的用户问题为空"
|
||||
@@ -484,8 +646,7 @@
|
||||
"success": "开始同步"
|
||||
}
|
||||
},
|
||||
"training": {
|
||||
}
|
||||
"training": {}
|
||||
},
|
||||
"data": {
|
||||
"Auxiliary Data": "辅助数据",
|
||||
@@ -501,20 +662,21 @@
|
||||
"Search data placeholder": "搜索相关数据",
|
||||
"Too Long": "总长度超长了",
|
||||
"Total Amount": "{{total}} 组",
|
||||
"unit": "条"
|
||||
"unit": "条",
|
||||
"group": "组"
|
||||
},
|
||||
"embedding model tip": "索引模型可以将自然语言转成向量,用于进行语义检索。\n注意,不同索引模型无法一起使用,选择完索引模型后将无法修改。",
|
||||
"error": {
|
||||
"Data not found": "数据不存在或已被删除",
|
||||
"Start Sync Failed": "开始同步失败",
|
||||
"Template does not exist": "模板不存在",
|
||||
"invalidVectorModelOrQAModel": "VectorModel 或 QA 模型错误",
|
||||
"unAuthDataset": "无权操作该知识库",
|
||||
"unAuthDatasetCollection": "无权操作该数据集",
|
||||
"unAuthDatasetData": "无权操作该数据",
|
||||
"unAuthDatasetFile": "无权操作该文件",
|
||||
"unCreateCollection": "无权操作该数据",
|
||||
"unLinkCollection": "不是网络链接集合"
|
||||
"unLinkCollection": "不是网络链接集合",
|
||||
"invalidVectorModelOrQAModel": "VectorModel 或 QA 模型错误"
|
||||
},
|
||||
"externalFile": "外部文件库",
|
||||
"file": "文件",
|
||||
@@ -649,6 +811,7 @@
|
||||
"Confirm Delete Node": "确认删除该节点?",
|
||||
"Data Type": "数据类型",
|
||||
"Dataset quote": {
|
||||
"select": "选择知识库引用",
|
||||
"label": "知识库引用"
|
||||
},
|
||||
"Default Value": "默认值",
|
||||
@@ -673,6 +836,8 @@
|
||||
"Setting quote prompt": "配置引用提示词",
|
||||
"Variable": "全局变量",
|
||||
"Variable Setting": "变量设置",
|
||||
"variable_update": "变量更新",
|
||||
"variable_update_info": "可以更新指定节点的输出值或更新全局变量",
|
||||
"edit": {
|
||||
"Field Name Cannot Be Empty": "字段名不能为空"
|
||||
},
|
||||
@@ -934,6 +1099,7 @@
|
||||
"plugin": {
|
||||
"App": "选择应用",
|
||||
"Currentapp": "当前应用",
|
||||
"contribute": "贡献插件",
|
||||
"Description": "描述",
|
||||
"Edit Http Plugin": "编辑 HTTP 插件",
|
||||
"Enter PAT": "请输入访问凭证(PAT)",
|
||||
@@ -995,8 +1161,6 @@
|
||||
}
|
||||
},
|
||||
"user": {
|
||||
"Email Or Phone": "邮箱/手机号",
|
||||
"Verify Code": "验证码",
|
||||
"Avatar": "头像",
|
||||
"Go laf env": "点击前往 {{env}} 获取 PAT 凭证。",
|
||||
"Laf account course": "查看绑定 laf 账号教程。",
|
||||
@@ -1010,6 +1174,9 @@
|
||||
"inform": {
|
||||
"System message": "系统消息"
|
||||
},
|
||||
"logout": {
|
||||
"confirm": "确认退出登录?"
|
||||
},
|
||||
"login": {
|
||||
"And": "和",
|
||||
"Email": "邮箱",
|
||||
@@ -1029,7 +1196,10 @@
|
||||
"Terms": "服务协议",
|
||||
"Username": "用户名",
|
||||
"Wechat": "微信登录",
|
||||
"wx_qr_login": "微信扫码登录"
|
||||
"wx_qr_login": "微信扫码登录",
|
||||
"error": "登录异常",
|
||||
"can_not_login": "无法登录,点击联系",
|
||||
"security_failed": "安全校验失败"
|
||||
},
|
||||
"team": {
|
||||
"Dataset usage": "知识库容量",
|
||||
@@ -1042,6 +1212,8 @@
|
||||
"Amount": "金额",
|
||||
"Bills": "账单",
|
||||
"Buy": "购买",
|
||||
"buy_resource": "购买资源包",
|
||||
"amount_0": "购买数量不能为0",
|
||||
"Confirm pay": "支付确认",
|
||||
"Not sufficient": "您的 AI 积分不足,请先升级套餐或购买额外 AI 积分后继续使用。",
|
||||
"Plan expired time": "套餐到期时间",
|
||||
@@ -1070,7 +1242,9 @@
|
||||
},
|
||||
"noBill": "无账单记录~",
|
||||
"subscription": {
|
||||
"point": "积分",
|
||||
"AI points": "AI 积分",
|
||||
"ai_model": "AI语言模型",
|
||||
"AI points click to read tip": "每次调用 AI 模型时,都会消耗一定的 AI 积分(类似于 token)。点击可查看详细计算规则。",
|
||||
"AI points usage": "AI 积分使用量",
|
||||
"AI points usage tip": "每次调用 AI 模型时,都会消耗一定的 AI 积分。具体的计算标准可参考上方的“计费标准”",
|
||||
@@ -1082,6 +1256,7 @@
|
||||
"Extra plan": "额外资源包",
|
||||
"Extra plan tip": "标准套餐不够时,您可以购买额外资源包继续使用",
|
||||
"FAQ": "常见问题",
|
||||
"token_compute": "点击查看在线 Tokens 计算器",
|
||||
"Month amount": "月数",
|
||||
"Next plan": "未来套餐",
|
||||
"Nonsupport": "无法切换",
|
||||
@@ -1095,6 +1270,7 @@
|
||||
"Update extra ai points": "额外 AI 积分",
|
||||
"Update extra dataset size": "额外存储量",
|
||||
"Upgrade plan": "升级套餐",
|
||||
|
||||
"function": {
|
||||
"History store": "{{amount}} 天对话记录保留",
|
||||
"Max app": "{{amount}} 个应用&插件",
|
||||
@@ -1165,16 +1341,22 @@
|
||||
"Copy invite url": "复制邀请链接",
|
||||
"Edit name": "点击修改昵称",
|
||||
"Invite Url": "邀请链接",
|
||||
"no_invite_records": "暂无邀请记录",
|
||||
"Invite url tip": "通过该链接注册的好友将永久与你绑定,其充值时你会获得一定余额奖励。\n此外,好友使用手机号注册时,你将立即获得 5 元奖励。\n奖励会发送到您的默认团队中。",
|
||||
"Laf Account Setting": "laf 账号配置",
|
||||
"Language": "语言",
|
||||
"Member Name": "昵称",
|
||||
"Notice": "通知",
|
||||
"Notification Receive": "通知接收",
|
||||
"Notification Receive Bind": "请绑定通知接收途径",
|
||||
"Notification Receive Bind": "请先绑定通知接收途径",
|
||||
"no_notice": "暂无通知",
|
||||
"Old password is error": "旧密码错误",
|
||||
"OpenAI Account Setting": "OpenAI 账号配置",
|
||||
"Password": "密码",
|
||||
"new_password": "新密码",
|
||||
"old_password": "旧密码",
|
||||
"confirm_password": "确认密码",
|
||||
"password_message": "密码最少 4 位最多 60 位",
|
||||
"Pay": "充值",
|
||||
"Personal Information": "个人信息",
|
||||
"Promotion": "促销",
|
||||
@@ -1186,11 +1368,13 @@
|
||||
"Sign Out": "登出",
|
||||
"Team": "团队",
|
||||
"Time": "时间",
|
||||
"type": "类型",
|
||||
"Timezone": "时区",
|
||||
"Update Password": "修改密码",
|
||||
"Update password failed": "修改密码异常",
|
||||
"Update password successful": "修改密码成功",
|
||||
"Usage Record": "使用记录",
|
||||
"no_usage_records": "暂无使用记录",
|
||||
"apikey": {
|
||||
"key": "API 秘钥"
|
||||
},
|
||||
|
@@ -11,5 +11,6 @@
|
||||
"support_file_type": "支持 {{fileType}} 类型文件",
|
||||
"support_max_count": "最多支持 {{maxCount}} 个文件",
|
||||
"support_max_size": "单个文件最大 {{maxSize}}",
|
||||
"upload_failed": "上传异常"
|
||||
}
|
||||
"upload_failed": "上传异常",
|
||||
"reached_max_file_count": "已达到最大文件数量"
|
||||
}
|
||||
|
@@ -10,9 +10,67 @@
|
||||
"Read": "仅读",
|
||||
"Read desc": "成员仅可阅读相关资源,无法新建资源",
|
||||
"Write": "可写",
|
||||
"Write tip": "除了可读资源外,还可以新建新的资源"
|
||||
"Write tip": "除了可读资源外,还可以新建新的资源",
|
||||
"only_collaborators": "仅协作者访问",
|
||||
"team_read": "团队可访问",
|
||||
"team_write": "团队可编辑"
|
||||
},
|
||||
"team": {
|
||||
"Add manager": "添加管理员"
|
||||
"Add manager": "添加管理员",
|
||||
"add_collaborator": "添加协作者",
|
||||
"manage_collaborators": "管理协作者",
|
||||
"no_collaborators": "暂无协作者"
|
||||
},
|
||||
"search_user": "搜索用户名",
|
||||
"has_chosen": "已选择",
|
||||
"name": "名称",
|
||||
"permissions": "权限",
|
||||
"operations": "操作",
|
||||
"delete": {
|
||||
"admin_success": "删除管理员成功",
|
||||
"admin_failed": "删除管理员失败"
|
||||
},
|
||||
"synchronization": {
|
||||
"title": "填写标签同步链接,点击同步按钮即可同步",
|
||||
"placeholder": "请输入同步标签",
|
||||
"button": "立即同步"
|
||||
},
|
||||
"password": {
|
||||
"retrieve": "找回密码",
|
||||
"retrieved": "密码已找回",
|
||||
"change_error": "修改密码异常",
|
||||
"retrieved_account": "找回 {{account}} 账号",
|
||||
"email_phone": "邮箱/手机号",
|
||||
"email_phone_void": "邮箱/手机号不能为空",
|
||||
"email_phone_error": "邮箱/手机号格式错误",
|
||||
"code_required": "验证码不能为空",
|
||||
"new_password": "新密码(4~20位)",
|
||||
"password_required": "密码不能为空",
|
||||
"password_condition": "密码最少 4 位最多 20 位",
|
||||
"verification_code": "验证码",
|
||||
"confirm": "确认密码",
|
||||
"not_match": "两次密码不一致",
|
||||
"to_login": "去登陆",
|
||||
"get_code": "获取验证码",
|
||||
"get_code_again": "s后重新获取",
|
||||
"code_sended": "验证码已发送",
|
||||
"code_send_error": "验证码发送异常"
|
||||
},
|
||||
"register": {
|
||||
"success": "注册成功",
|
||||
"failed": "注册失败",
|
||||
"error": "注册异常",
|
||||
"register_account": "注册 {{account}} 账号",
|
||||
"confirm": "确认注册",
|
||||
"to_login": "已有账号,去登录"
|
||||
},
|
||||
"login": {
|
||||
"success": "登录成功",
|
||||
"failed": "登录失败",
|
||||
"error": "登录异常",
|
||||
"login_account": "登录 {{account}} 账号",
|
||||
"login_error": "用户名或密码错误",
|
||||
"to_register": "没有账号,去注册",
|
||||
"password_condition": "密码最多 60 位"
|
||||
}
|
||||
}
|
||||
|
@@ -28,5 +28,8 @@
|
||||
"Error": "错误信息"
|
||||
},
|
||||
"tool_input": "工具参数",
|
||||
"variable_picker_tips": "可输入节点名或变量名搜索"
|
||||
"variable_picker_tips": "可输入节点名或变量名搜索",
|
||||
"delete_api": "确认删除该API密钥?删除后该密钥立即失效,对应的对话日志不会删除,请确认!",
|
||||
"create_link_error": "创建链接异常",
|
||||
"update_link_error": "更新链接异常"
|
||||
}
|
||||
|
1
packages/web/types/i18next.d.ts
vendored
1
packages/web/types/i18next.d.ts
vendored
@@ -7,7 +7,6 @@ import publish from '../i18n/zh/publish.json';
|
||||
import workflow from '../i18n/zh/workflow.json';
|
||||
import user from '../i18n/zh/user.json';
|
||||
import chat from '../i18n/zh/chat.json';
|
||||
|
||||
export interface I18nNamespaces {
|
||||
common: typeof common;
|
||||
dataset: typeof dataset;
|
||||
|
Reference in New Issue
Block a user