From db9ffc975ec07a765b3e406f13a212ff34f37d1b Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 29 Oct 2024 10:45:45 +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 | 44 ++++++++++++++++++++++- core/core-frontend/src/locales/zh-CN.ts | 48 +++++++++++++++++++++++-- 2 files changed, 88 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index e1ae4fce33..a1ce898953 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -333,9 +333,46 @@ export default { pwd_format: 'Length should be 5 to 15' }, user: { - change_password: 'Change password' + change_password: 'Change password', + feishu: 'Feishu', + dingtalk: 'DingTalk', + wechat_for_business: 'WeChat for Business', + international_feishu: 'International Feishu', + user_management: 'User Management', + cannot_be_modified: 'System Administrator Status cannot be modified', + cannot_be_modified_de: 'Current User Status cannot be modified', + has_been_disabled: 'User has been disabled', + selected_user: 'Selected: {msg} user', + cannot_be_empty: 'Variable cannot be empty!', + set_variable_value: 'Please set variable value:', + be_an_integer: 'Variable value must be an integer:', + be_less_than: 'Cannot be less than:', + be_greater_than: 'Cannot be greater than:', + than_start_time: ', cannot be less than start time:', + than_end_time: ', cannot be greater than end time:', + variable: 'Variable', + variable_value: 'Variable value', + enter_a_value: 'Please enter a value', + contact_the_administrator: 'If execution fails, please contact the administrator', + data_import_successful: 'Data import successful', + imported_1_data: 'Successfully imported {msg} data', + import_1_data: ', failed to import {msg} data', + can: 'Can', + download_error_report: 'Download error report', + modify_and_re_import: ', modify and re-import', + return_to_view: 'Return to view', + continue_importing: 'Continue importing', + data_import_failed: 'Partial data import failed', + data_import_failed_de: 'Data import failed' }, org: { + resource_migration: 'Resource migration', + migration_type: 'Migration type', + migrate_resources_only: 'Migrate resources only', + and_authorization_related: 'Migrate resources and authorization related', + target_organization: 'Target organization', + target_directory: 'Target directory', + resource_type: 'Resource type', org_title: 'Organization', org_move: 'Migration', add: 'Add', @@ -349,6 +386,11 @@ export default { admin_parent_tips: '(default root organization)' }, auth: { + permission_configuration: 'Permission configuration', + was_not_obtained: 'The resource node was not obtained', + search_name: 'Search name', + loading: 'Loading...', + on_the_left: 'Please select the node on the left', row_column: 'Row and column permission settings', row_permission: 'Row permission rules', enable_row: 'Enable row permissions', diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 2cfb6910a3..f3791e7066 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -455,7 +455,37 @@ export default { phone_format: '请填写正确格式手机号', email_format_is_incorrect: '请填写正确格式邮箱', enable_success: '已启用', - disable_success: '已禁用' + disable_success: '已禁用', + feishu: '飞书', + dingtalk: '钉钉', + wechat_for_business: '企业微信', + international_feishu: '国际飞书', + user_management: '用户管理', + cannot_be_modified: '系统管理员状态不可修改', + cannot_be_modified_de: '不能修改当前用户状态', + has_been_disabled: '用户已被禁用', + selected_user: '已选: {msg} 个用户', + cannot_be_empty: '变量不能为空!', + set_variable_value: '请设置变量值:', + be_an_integer: '变量值必须为整数:', + be_less_than: '不能小于:', + be_greater_than: '不能大于:', + than_start_time: ',不能小于开始时间:', + than_end_time: ',不能大于结束时间:', + variable: '变量', + variable_value: '变量值', + enter_a_value: '请输入数值', + contact_the_administrator: '执行失败请联系管理员', + data_import_successful: '导入数据成功', + imported_1_data: '成功导入数据 {msg} 条', + import_1_data: ',导入失败 {msg} 条 ', + can: '可', + download_error_report: '下载错误报告', + modify_and_re_import: ',修改后重新导入', + return_to_view: '返回查看', + continue_importing: '继续导入', + data_import_failed: '部分数据导入失败', + data_import_failed_de: '数据导入失败' }, userimport: { buttonText: '批量导入', @@ -516,6 +546,15 @@ export default { empty_description: '请先选择左侧角色' }, org: { + resource_migration: '资源迁移', + migration_type: '迁移类型', + migrate_resources_only: '仅迁移资源', + and_authorization_related: '迁移资源及授权相关', + target_organization: '目标组织', + target_directory: '目标目录', + resource_type: '资源类型', + user_dimension: '按用户配置', + resource_dimension: '按资源配置', org_title: '组织管理', org_move: '组织迁移', add: '添加组织', @@ -537,6 +576,11 @@ export default { please_login_per_changed: '当前用户权限已变更,请重新登录' }, auth: { + permission_configuration: '权限配置', + was_not_obtained: '未获取到资源节点', + search_name: '搜索名称', + loading: '加载中···', + on_the_left: '请选择左侧节点', sysParams_type: { user_id: '账号', user_name: '姓名', @@ -546,8 +590,6 @@ export default { dept: '组织', role: '角色' }, - user_dimension: '按用户配置', - resource_dimension: '按资源配置', user: '用户', role: '角色', resource: '资源权限',