From cf6d0e374d047d5e75ba4b168e860ee4bae9ba2b Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 30 Oct 2024 15:08:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/locales/en.ts | 66 +++++++++++++++++++++++-- core/core-frontend/src/locales/zh-CN.ts | 60 +++++++++++++++++++++- 2 files changed, 122 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index 63759a3bae..c5176cef49 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -195,9 +195,69 @@ export default { field_mapping: 'Field mapping', oauth2name: 'For example: {"account": "oauth2Account", "name": "oauth2Name", "email": "email"}', oidc_settings: 'OIDC settings', - test_mail_recipient: '仅用来作为测试邮件收件人', - to_enable_ssl: '如果SMTP端口是 465 ,通常需要启用SSL', - to_enable_tsl: '如果SMTP端口是 587 ,通常需要启用TSL' + test_mail_recipient: 'Only used as a test mail recipient', + to_enable_ssl: 'If the SMTP port is 465, you usually need to enable SSL', + to_enable_tsl: 'If the SMTP port is 587, you usually need to enable TSL', + wrong_please_re_enter: 'The address format is wrong, please re-enter', + create_embedded_application: 'Create embedded application', + edit_embedded_application: 'Edit embedded application', + application_name: 'Application name', + cross_domain_settings: 'Cross-domain settings', + embedded_management: 'Embedded management', + to_5_applications: 'Supports creation of up to 5 applications', + update_app_secret: 'Are you sure to update APP Secret?', + operate_with_caution: + 'The existing APP Secret will be invalid after reset, please operate with caution.', + no_application: 'No application', + delete_this_application: 'Are you sure to delete this application?', + platform_connection: 'Platform connection', + dingtalk_settings: 'DingTalk settings', + enabled: 'Enabled', + close: 'closed', + can_enable_it: 'After the test connection is valid, you can enable it', + access: 'Access', + feishu_settings: 'Feishu settings', + international_feishu_settings: 'International Feishu settings', + international_feishu: 'International Feishu', + enterprise_wechat_settings: 'Enterprise WeChat settings', + enterprise_wechat: 'Enterprise WeChat', + plugin_management: 'Plugin management', + search_plugin_name: 'Search plugin name', + local_installation: 'Local installation', + relevant_content_found: 'No relevant content found', + no_plugins_yet: 'No plugins yet', + installation_time: 'Installation time:', + developer: 'Developer:', + update_the_plugin: 'Are you sure to update the plugin?', + to_take_effect_update: 'Update and restart the server to take effect', + uninstall_the_plugin: 'Are you sure to uninstall the plugin?', + to_take_effect_de: 'Uninstall and restart the server to take effect', + uninstall_successful: 'Uninstall successful', + update_successful: 'Update successful', + installation_successful: 'Installation successful', + can_be_uploaded: 'Only jar files can be uploaded', + to_change_it: + 'After the variable type is changed, the variable value will be cleared. Are you sure you want to change it?', + add_variable: 'Add variable', + edit_variable: 'Edit variable', + variable_name: 'Variable name', + variable_type: 'Variable type', + system_built_in_variable: 'System built-in variable', + custom_variable: 'Custom variable', + account: 'Account', + delete_this_variable: 'Are you sure you want to delete this variable?', + this_variable_value: 'Are you sure you want to delete this variable value?', + variable_list: 'Variable list', + add_variable_value: 'Add variable value', + search_variable_value: 'Search variable value', + variable_value: 'Variable value', + set_variable_value: 'Set variable value', + the_minimum_value: 'Please enter the minimum value', + the_maximum_value: 'Please enter the maximum value', + the_minimum_date: 'Please select the minimum date', + the_maximum_date: 'Please select the maximum date', + on_the_left_p: 'Please select the variable on the left', + edit_variable_value: 'Edit variable value' }, components: { dashboard_style: 'Dashboard style', diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 8f8b788913..893614d920 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -538,7 +538,65 @@ export default { oidc_settings: 'OIDC设置', test_mail_recipient: '仅用来作为测试邮件收件人', to_enable_ssl: '如果SMTP端口是 465 ,通常需要启用SSL', - to_enable_tsl: '如果SMTP端口是 587 ,通常需要启用TSL' + to_enable_tsl: '如果SMTP端口是 587 ,通常需要启用TSL', + wrong_please_re_enter: '地址格式错误,请重新输入', + create_embedded_application: '创建嵌入式应用', + edit_embedded_application: '编辑嵌入式应用', + application_name: '应用名称', + cross_domain_settings: '跨域设置', + embedded_management: '嵌入式管理', + to_5_applications: '最多支持创建5个应用', + update_app_secret: '确定更新APP Secret吗?', + operate_with_caution: '重置后现有的APP Secret将会失效,请谨慎操作。', + no_application: '暂无应用', + delete_this_application: '确定删除此应用吗', + platform_connection: '平台对接', + dingtalk_settings: '钉钉设置', + enabled: '已开启', + close: '已关闭', + can_enable_it: '测试连接有效后,可开启', + access: '接入', + feishu_settings: '飞书设置', + international_feishu_settings: '国际飞书设置', + international_feishu: '国际飞书', + enterprise_wechat_settings: '企业微信设置', + enterprise_wechat: '企业微信', + plugin_management: '插件管理', + search_plugin_name: '搜索插件名称', + local_installation: '本地安装', + relevant_content_found: '没有找到相关内容', + no_plugins_yet: '暂无插件', + installation_time: '安装时间:', + developer: '开发者:', + update_the_plugin: '确认更新该插件吗?', + to_take_effect_update: '更新并重启服务器之后才能生效', + uninstall_the_plugin: '确认卸载该插件吗?', + to_take_effect_de: '卸载并重启服务器之后才能生效', + uninstall_successful: '卸载成功', + update_successful: '更新成功', + installation_successful: '安装成功', + can_be_uploaded: '只能上传jar文件', + to_change_it: '变量类型修改后,变量值将清空,确认要修改吗?', + add_variable: '添加变量', + edit_variable: '编辑变量', + variable_name: '变量名称', + variable_type: '变量类型', + system_built_in_variable: '系统内置变量', + custom_variable: '自定义变量', + account: '账户', + delete_this_variable: '确定删除该变量吗?', + this_variable_value: '确定删除该变量值吗?', + variable_list: '变量列表', + add_variable_value: '添加变量值', + search_variable_value: '搜索变量值', + variable_value: '变量值', + set_variable_value: '设置变量值', + the_minimum_value: '请输入最小值', + the_maximum_value: '请输入最大值', + the_minimum_date: '请选择最小日期', + the_maximum_date: '请选择最大日期', + on_the_left_p: '请选择左侧变量', + edit_variable_value: '编辑变量值' }, components: { dashboard_style: '仪表板风格',