feat: Optimize i18n keys and remove unused keys, supporting static files in I18nT (#2092)

* feat: packages web i18n

* delete file

* feat:i18n add i18nT

* handle keys

* delete unusedKeys

* fix build

* update dev.md
This commit is contained in:
jingyang
2024-07-19 16:28:07 +08:00
committed by GitHub
parent f7b55b501f
commit 57ff38e16f
64 changed files with 552 additions and 1547 deletions

View File

@@ -1,60 +1,42 @@
{
"AI Advanced Settings": "AI Advanced Settings",
"AI Settings": "AI Settings",
"Advance App TestTip": "Current app may be in advanced orchestration mode\nTo switch to【Simple Mode】please click the save button on the left",
"App Detail": "App Details",
"Apps Share": "Apps Share",
"Basic Settings": "Basic Settings",
"Chat Debug": "Chat Debug",
"Chat Logs Tips": "Logs will record online, shared and API (chatId required) conversation records for this app",
"Chat logs": "Chat Logs",
"Confirm Del App Tip": "Confirm to delete this app and all its chat records?",
"Confirm copy app tip": "The system will create an application with the same configuration for you, but the permission will not be copied, please confirm!",
"Confirm delete folder tip": "Are you sure to delete this folder? All the following applications and corresponding chat records will be deleted, please confirm!",
"Connection is invalid": "Connection is invalid",
"Connection type is different": "Connection type is different",
"Copy Module Config": "Copy Config",
"Copy one app": "Copy",
"Create bot": "App",
"Create copy success": "Create copy success",
"Create one ai app": "Create AI app",
"Current settings": "Current settings",
"Dataset Quote Template": "Knowledge Base QA Mode",
"Edit app": "Edit app",
"Edit info": "Edit info",
"Export Config Successful": "Config copied, please check for important data",
"Export Configs": "Export Configs",
"Feedback Count": "User Feedback",
"Go to chat": "To chat",
"Go to run": "Run",
"Import Configs": "Import Configs",
"Import Configs Failed": "Failed to import configs, please ensure configs are valid!",
"Input Field Settings": "Input Field Settings",
"Logs Empty": "No logs yet~",
"Logs Message Total": "Total Messages",
"Logs Source": "Source",
"Logs Time": "Time",
"Logs Title": "Title",
"Mark Count": "Marked Answer Count",
"Move app": "Move app",
"My Apps": "My Apps",
"Output Field Settings": "Output Field Settings",
"Paste Config": "Paste Config",
"plugin_cost_per_times": "{{cost}}/per time",
"Plugin dispatch": "Plugins",
"Plugin dispatch tip": "It is up to the model to decide which plug-ins to add additional capabilities to. If the plug-in is selected, the knowledge base call is also treated as a special plug-in.",
"Publish channel": "Publish channel",
"Publish success": "Publish success",
"ai_settings": "AI Settings",
"app_detail": "App Details",
"chat_debug": "Chat Debug",
"chat_logs_tips": "Logs will record online, shared and API (chatId required) conversation records for this app",
"chat_logs": "Chat Logs",
"confirm_del_app_tip": "Confirm to delete this app and all its chat records?",
"confirm_copy_app_tip": "The system will create an application with the same configuration for you, but the permission will not be copied, please confirm!",
"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",
"current_settings": "Current settings",
"edit_app": "Edit app",
"edit_info": "Edit info",
"export_config_successful": "Config copied, please check for important data",
"export_configs": "Export Configs",
"feedback_count": "User Feedback",
"go_to_chat": "To chat",
"go_to_run": "Run",
"import_configs": "Import Configs",
"import_configs_failed": "Failed to import configs, please ensure configs are valid!",
"logs_empty": "No logs yet~",
"logs_message_total": "Total Messages",
"logs_title": "Title",
"mark_count": "Marked Answer Count",
"move_app": "Move app",
"paste_config": "Paste Config",
"plugin_dispatch": "Plugins",
"plugin_dispatch_tip": "It is up to the model to decide which plug-ins to add additional capabilities to. If the plug-in is selected, the knowledge base call is also treated as a special plug-in.",
"publish_channel": "Publish channel",
"publish_success": "Publish success",
"Run": "Run",
"Search app": "Search app",
"Setting app": "Settings",
"Setting plugin": "Setting plugin",
"To Chat": "Go to Chat",
"To Settings": "View Details",
"Transition to workflow": "Transition to workflow",
"Transition to workflow create new placeholder": "Create a new application instead of modifying the current one",
"Transition to workflow create new tip": "After converting to workflow, it will not be able to convert back to simple mode, please confirm!",
"Variable Key Repeat Tip": "Variable key is duplicate",
"search_app": "Search app",
"setting_app": "Settings",
"setting_plugin": "Setting plugin",
"transition_to_workflow": "Transition to workflow",
"transition_to_workflow_create_new_placeholder": "Create a new application instead of modifying the current one",
"transition_to_workflow_create_new_tip": "After converting to workflow, it will not be able to convert back to simple mode, please confirm!",
"app": {
"modules": {
"click to update": "click to update",
@@ -65,17 +47,16 @@
"plugin_cost_per_times": "{{cost}} points/times"
},
"module": {
"Combine Modules": "Combine Modules",
"Confirm Sync": "The template will be updated to the latest template configuration. Fields that do not exist in the template will be deleted (including all custom fields). You are advised to make a copy of the node and then update the original node version.",
"Custom Title Tip": "This title will be displayed during the conversation",
"My Modules": "My Modules",
"No Modules": "No plugins yet~",
"System Module": "System Module",
"type": "\"{{type}}\" type\n{{description}}"
"No Modules": "No plugins yet~"
},
"modules": {
"Title is required": "Module name cannot be empty"
},
"template": {
"simple_robot": "Simple Robot"
},
"type": {
"All": "All",
"Create http plugin tip": "Create plug-ins in batches using OpenAPI schema, compatible with GPTs format.",
@@ -93,4 +74,4 @@
"version": {
"Revert success": "Revert success"
}
}
}