diff --git a/src/frontend/src/components/jb-ai/index.vue b/src/frontend/src/components/jb-ai/index.vue index 040f1ab47d..83f8c138e2 100644 --- a/src/frontend/src/components/jb-ai/index.vue +++ b/src/frontend/src/components/jb-ai/index.vue @@ -15,7 +15,7 @@ :alert="$t('注意!为了回答更准确,大模型可能将你提供的信息作为训练材料,如果内容带有敏感信息,请酌情使用!')" :loading="isChatHistoryLoading || isContentLoading" :messages="messageList" - name="AI-assistant" + :name="$t('小鲸')" :placeholder="$t('在这里输入你的问题,试试我是否可以帮助到你...')" :scroll-loading="isLoadingMore" :scroll-loading-end="!hasMore" diff --git a/src/frontend/src/i18n/language/en.json b/src/frontend/src/i18n/language/en.json index 82f0064c24..d622042c03 100644 --- a/src/frontend/src/i18n/language/en.json +++ b/src/frontend/src/i18n/language/en.json @@ -559,5 +559,6 @@ "在这里输入你的问题,试试我是否可以帮助到你...": "Type your question here, and see if I can help you...", "脚本检查": "Script check", "其它": "AI more", - "注意!为了回答更准确,大模型可能将你提供的信息作为训练材料,如果内容带有敏感信息,请酌情使用!": "Attention! The AI model may use the information you provide as training material. If the content contains sensitive information, please use it cautiously!" + "注意!为了回答更准确,大模型可能将你提供的信息作为训练材料,如果内容带有敏感信息,请酌情使用!": "Attention! The AI model may use the information you provide as training material. If the content contains sensitive information, please use it cautiously!", + "小鲸": "AI-assistant" } \ No newline at end of file diff --git a/src/frontend/src/i18n/language/zh.json b/src/frontend/src/i18n/language/zh.json index 742e8932fb..50cc94d905 100644 --- a/src/frontend/src/i18n/language/zh.json +++ b/src/frontend/src/i18n/language/zh.json @@ -559,5 +559,6 @@ "脚本检查": "脚本检查", "其它": "其它", "在这里输入你的问题,试试我是否可以帮助到你...": "在这里输入你的问题,试试我是否可以帮助到你...", - "注意!为了回答更准确,大模型可能将你提供的信息作为训练材料,如果内容带有敏感信息,请酌情使用!": "注意!为了回答更准确,大模型可能将你提供的信息作为训练材料,如果内容带有敏感信息,请酌情使用!" + "注意!为了回答更准确,大模型可能将你提供的信息作为训练材料,如果内容带有敏感信息,请酌情使用!": "注意!为了回答更准确,大模型可能将你提供的信息作为训练材料,如果内容带有敏感信息,请酌情使用!", + "小鲸": "小鲸" } \ No newline at end of file diff --git a/src/frontend/src/i18n/local.js b/src/frontend/src/i18n/local.js deleted file mode 100644 index 75963cfebe..0000000000 --- a/src/frontend/src/i18n/local.js +++ /dev/null @@ -1,613 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -/* eslint-disable max-len */ -export default { - 蓝鲸作业平台: 'BLUEKING JOB', - 首页: 'Home', - 快速执行: 'Quick Launch', - 脚本执行: 'Script Execution', - 文件分发: 'File Transfer', - 作业: 'Jobs', - 方案: 'Plans', - 快速: 'Quick', - 业务: 'B.M.', - 脚本: 'Scripts', - 定时: 'Crons', - 平台管理: 'Administration', - 平台: 'Admin', - 账号: 'Accounts', - 脚本管理: 'Scripts', - 凭证管理: 'Tickets', - 定时任务: 'Crons', - 执行历史: 'Histories', - 业务管理: 'Business', - 账号管理: 'Accounts', - 消息通知: 'Notifications', - 系统管理: 'Administration', - 公共脚本: 'Public Scripts', - 作业执行详情: 'Task Details', - 步骤执行详情: 'Step Details', - 重做执行方案: 'Relaunch', - 新建脚本: 'New Script', - 编辑脚本: 'Script Editing', - 查看脚本: 'Script Details', - 版本管理: 'Versions', - 'IP 白名单': 'IP Whitelist', - 全局设置: 'Settings', - 检测记录: 'Detect Records', - 服务状态: 'Service States', - 通知设置: 'Notification', - 执行脚本: 'Script Execution', - 分发文件: 'File Transfer', - 查看作业模板: 'Job Template Details', - 编辑作业模板: 'Job Template Editing', - 新建作业模板: 'New Job Template', - 克隆作业模板: 'Clone Job Template', - 导出文件: 'Export Job Flie', - 消息提醒: 'Message Reminding', - 设置执行方案: 'Set Job Plan', - 查看执行方案: 'Job Plan Details', - 同步确认: 'Sync Check', - 调试: 'Debug', - 编辑调试方案: 'Debug Plan Editing', - 设置全局变量: 'Global Variables Setting', - 上传脚本: 'Upload', - 历史缓存: 'Drafts', - 手动保存: 'Save', - 载入: 'Load', - 只读模式不支持编辑: 'You are in readonly mode, edit is not able.', - 还原: 'Normal', - 全屏: 'Full-screen', - 自动保存: 'Auto-save', - 脚本类型不支持: 'Script type is not supported.', - '按 Esc 即可退出全屏模式': 'Press esc to exit full screen mode', - 回到顶部: 'Back to top', - 业务拓扑: 'Topology', - 动态分组: 'Dynamic groups', - 输入IP进行搜索: 'Seach by IP addr...', - 输入分组名进行搜索: 'Search by Group name...', - '以下内容添加失败,原因[无相关匹配数据]': 'The string below is failed to add, no match data.', - 添加至列表: 'Add', - 'IP 输入': 'IP entry', - 已选择: { - select: 'Selected list', - result: '', - }, - 台主机: { - select: 'host(s)', - result: 'host(s)', - }, - 个分组: { - select: 'group(s)', - result: 'group(s)', - }, - 个节点: { - select: 'node(s)', - result: 'node(s)', - }, - 个容器: { - result: 'container(s)', - }, - 个动态分组: 'group(s) selected', - 移除全部: 'Remove all', - 现有主机: 'Including', - 台: 'Hosts', - 台Agent异常: 'Hosts are abnormal', - 移除: 'Remove', - 暂无数据: 'No data available', - 你还未选择动态分组: 'No dynamic group selected.', - 你还未选择节点: 'No topology node selected.', - 移除成功: 'Remove successfully', - 复制全部IP: 'Copy all', - 复制异常IP: 'Copy abnormal', - IP: 'IP(s)', - 'Agent 状态': 'Agent status', - 模块: 'Module', - 重复: 'Dupl.', - '指和其他主机的IP地址相同,但管控区域不同': 'means the same IP address as other host, but the BK-Net is different', - 无效: 'Invd.', - '指主机已不属于该业务,或已不存在': 'means the host is no longer belongs to the business, or doesn\'t exists', - 正常: 'OK', - 异常: 'Abnormal', - 未安装: 'Unkonwn', - 查看更多: 'More', - 你还未选择主机: 'No Host selected.', - 复制成功: 'Success', - 个IP: 'Host IP Copied.', - 暂无异常主机: 'No abnormal host found.', - 个异常IP: 'Abnormal hosts', - 已筛选出: 'Found.', - 移除异常: 'Remove abnormal', - 管控区域: 'Cloud area', - 操作: 'Actions', - 没有可移除主机: 'No more selected host can be remove.', - 移除全部主机成功: 'All hosts has been removed.', - 移除异常主机成功: 'Abnormal hosts has been removed.', - 未搜索到主机: 'No data founded.', - 未搜索到异常主机: 'No abnormal host founed.', - 静态: 'Static', - 动态: 'Dynamic', - 确定: 'OK', - 取消: 'Cancel', - 源文件的服务器列表不允许为空: 'Source file host is required', - 服务器不能为空: 'Host is required', - 添加服务器: 'Add hosts', - 清空: 'Remove All', - 请输入主机类型的值: 'Please enter the Host variable value', - 请输入命名空间类型的值: 'Please enter the namespace variable value', - 请输入密码类型的值: 'Please enter the password variable value', - 请输入字符串类型的值: 'Please enter the string variable value', - 编辑成功: 'Edit successfully.', - 标签为空: 'Tags is required', - 请先复制标签: 'Please copy tags before paste.', - 标签: 'Tags', - '已存在,请重新输入': 'Already exist, please try another one...', - 保存: 'Save', - 角色: 'Role', - 最近输入: 'Recently entered', - 用户: 'User', - 当前版本: 'Current', - 目标服务器: 'Hosts', - 全局变量: 'Global variable', - 手动添加: 'Custom', - 请选择主机列表变量: 'Choose variables', - 复制IP: 'Copy IP', - 全部IP: 'All IP', - 异常IP: 'Abnormal IP', - 全部: 'All', - 筛选主机: 'Search hosts...', - 目标服务器必填: 'Hosts is required', - 清空成功: 'All has been removed.', - 清空异常主机成功: 'Abnormal hosts has been removed.', - 步骤名称: 'Name', - 请输入步骤名称: 'Please enter name of the step...', - 必填: 'This field is required', - 不允许包含: 'not allow', - 'Enter 换行可输入多个路径': 'Enter multiple file or path with newline...', - 路径不能为空: 'Filepath is required', - 路径格式不正确: 'Invalid format.', - 文件路径: 'Filepath', - 服务器列表: 'Hosts', - 服务器账号: 'Account', - 个本地文件: 'Local file(s)', - 个服务器文件: 'Remote file(s)', - 本地文件: 'Local file', - 上传失败: 'Upload failed', - 文件源: { - menuGroup: 'File-Source', - menu: 'File Sources', - text: 'File sources', - }, - 凭证: 'Tickets', - 已添加: 'added', - '上传失败(本地文件最大仅支持': 'Upload failed (local file maximum size limit', - 源文件: 'File source', - 添加服务器文件: 'Remote file', - 添加本地文件: 'Local file', - 添加本地文件会有同名文件覆盖风险: 'Please mind the duplicate file name', - '支持中文文件名,本地上传文件大小不能超过': 'Local file maximum size limit is', - '文件名支持使用通配符,如: /tmp/jobsvr_2020*.log': 'Filename supports to use wildcard character, such as *, e.g.: /tmp/jobsvr_2020*.log', - '文件名支持正则表达式写法以匹配多个文件,文件名前 需加 REGEX: 前缀,如:/tmp/REGEX:myfile-[A-Za-z]{0,10}.tar.gz': 'Filename is regular expression supported, it need declare in front of expression, like: /tmp/REGEX:myfile-[A-Za-z]{0,10}.tar.gz', - '如需分发文件目录,文件名请以/结束': 'If you need to transfer folder, the filepath has to end with /', - 源文件必填: 'Source file is required', - 本地源文件上传未完成: 'Local file is still uploading...', - 本地源文件上传失败: 'Local file upload failed', - 服务器源文件路径必填: 'Filepath is required...', - 服务器源文件中服务器列表不能为空: 'Hosts is required.', - '全局变量被删除,重新设置': 'Hosts is required.', - 错误处理: 'Error ignore', - 不忽略: 'No', - 自动忽略错误: 'Yes', - '步骤有执行失败的目标,将会自动忽略并进入下一步': 'If checked, when step got host execute failed, will automatically ignore and continue to run.', - 执行账号: 'Account', - 执行账号必填: 'Account is required', - 传输模式: 'Mode', - 直接覆盖: 'Overwrite', - 追加源IP文件夹: 'Append host dir.', - '目标机器上若存在同名文件时,将直接覆盖': 'Destination duplicate file will be overwrite', - '将在目标路径后面追加来源IP的文件夹,如:/tmp/[FILESRCIP]/': 'DST path will append dirname of source host IP', - 启用限速: 'Yes', - '请根据机器的网卡情况酌情配置速率,以免影响其他服务的正常使用;': 'Please make sure your device network card\'s Maximum Data Rate before configure, do not overdraw it.', - '未开启时,将按 Agent 默认配置规则限速 (Agent会根据机器资源使用情况,有自身保护机制)': 'If not checked, GSE agent will use default config with auto limit control.', - 限速: 'Speed limit', - 目标路径: 'Dst. path', - 请填写分发路径: 'Enter your destination path...', - '如果该路径不存在,系统将自动创建': '中文的这条文案一起去掉!', - '传输至linux服务器需以/开头的绝对路径,如:/data/xx': 'Absolute path starting with / is required when transfer target host is Linux, such as: /data/xxx', - '传输至Windows服务器需包含盘符开头,如:D:\\tmp\\': 'Starting with hard disk partition name is required when transfer target host is Windows server, such as: D:\\tmp\\', - 目标路径必填: 'Dst. path is required', - 目标路径格式错误: 'Invalid format of dst path', - 超时时长: 'Timeout', - 此处留空将默认为7200s: 'Default is 7200 seconds...', - 超时时长必填: 'Duration field is required', - 脚本参数: 'Params', - '脚本执行时传入的参数,同脚本在终端执行时的传参格式,如:./test.sh xxxx xxx xxx': 'Same like the terminal command line pattern, such as: ./test.sh xxxx xxxxx xx', - 脚本内容: 'Contents', - 引用的脚本不支持编辑: 'Edit is not able when the script is quoted.', - 脚本内容必填: 'Script contents is required', - 敏感参数: 'Hide', - 脚本来源: 'From', - 手工录入: 'Custom', - 脚本引用: 'Quoted', - 业务脚本: 'Scripts', - 选择引用脚本: 'Choose script from the business...', - 脚本来源必填: 'Script from field is required', - 当前脚本: 'Using script', - 其它脚本: 'Other script', - 新版本: 'New Version', - 离开将会导致未保存信息丢失: 'Your changes will be lost if you close without saving.', - '确认离开当前页?': 'Are you sure to leave now?', - 不允许包含这些字符: 'These character is not allowed', - 只允许包含这些字符: 'Character only allow by', - '变量名称:以英文字符、下划线开头;只允许英文字符、数字、下划线、和 -': 'Variable names: start with letter, underscores, only letters, numbers, and underscores or hyphen symbol are allowed', - 'Linux 账号': 'Linux', - 'Windows 账号': 'Windows', - 数据库账号: 'Database', - 人工审核: 'Approve-ing', - 已上线: 'ONLINE', - 未上线: 'STAND-BY', - 已下线: 'OFFLINE', - 成功: 'Success', - 正在同步: 'PROCESSING Processing', - 同步成功: 'Sync success', - 同步失败: 'Sync failure', - 失败: 'Failed', - 未开始: ' Not started', - 最近: 'Recent record', - 次: 'times', - 有: 'has', - 次失败: 'failed.', - 数组: 'Array', - 关联数组: 'Associative', - 索引数组: 'Indexed', - 是: 'Yes', - 否: 'No', - 字符串: 'String', - 命名空间: 'Namespace', - 主机列表: 'Host', - 密文: 'Ciphertext', - '标签名支持:汉字 A-Z a-z 0-9 _ - ! # @ $ & % ^ ~ = + .': 'only letters, numbers, and _ - ! # @ $ & % ^ ~ = + . are allowed', - 版本日志: 'Release note', - 单次执行: 'Run once', - 周期执行: 'Round-robin', - '静态 - IP 选择': 'Static - IP selector', - '动态 - 拓扑选择': 'Dynamic - topology', - '动态 - 分组选择': 'Dynamic - dynamic group', - 手动输入: 'Static - IP Entry', - '输入 主机 IP / 主机名 / 操作系统 / 管控区域 进行搜索...': 'Search by IP addr / Hostname / OS / BK-Net ...', - 搜索拓扑节点: 'Search by Topology node name...', - 搜索分组名称: 'Search by Group name...', - 人工确认: 'Confirmation', - 添加一行: 'New remote item', - 严谨模式: 'Strict', - 强制模式: 'Force', - 保险模式: 'Safety', - '严谨判断目标路径是否存在,若不存在将直接终止任务。': 'If destination path not exist, task will stop immediately.', - '不论目标路径是否存在,都将强制按照用户填写的目标路径进行传输(路径不存在会自动创建)。': 'Destination path will be created automatically if it\'s not exist.', - '避免因源或目标机器有同名文件时被覆盖,该模式下将按用户选择的规则在目标路径后面追加创建相应的文件夹。': 'Each source files server IP folder will be created after destination path automatically.', - '避免因源文件或目标机器有同名文件时被覆盖,为了保险起见,将自动在目标路径后面追加源IP目录。': 'Each source files server IP folder will be created after destination path automatically.', - '(未发表确认信息)': '( User did not leave any message. )', - 主机IP: 'IP', - 主机名: 'Hostname', - 操作系统: 'OS', - 操作系统名称: 'OS name', - 共计: 'Total', - 共: 'Total', - 分组预览: 'Dynamic group preview', - 本页全选: 'Page all', - 跨页全选: 'Form all', - 清除所有勾选: 'Uncheck all', - 本页已选: 'Page select', - 条: { - host: 'host(s)', - selected: 'host(s) selected', - total: 'item(s)', - }, - 选择所有: 'Click here to select all', - 无数据: 'No data available', - 去创建: 'Create now', - 分组名称: 'Group name', - '以上 IP 无法识别,添加失败,请重新检查': 'The IP(s) above is unrecognized, whether the format is incorrect or does not exist.', - 预览: 'Preview', - '请输入 IP 地址,多IP可用 空格 换行 ; , |分隔 \n带管控区域请用冒号分隔,如( 0:192.168.1.101 )': 'Enter IP address, multiple IP separate with space ; , | or new line\nalso support cloud area, for example: 0:192.168.0.101', - '以上内容存在错误:': '', - 'IP 在本业务下不存在': '', - 标识错误: 'Mark it', - 一键清除: 'Remove', - '内容格式错误,无法识别': '', - 添加到已选择: 'Append to selected list', - 关闭: 'Close', - 已选项预览: 'Selected list preview', - 去申请: 'Apply', - 已申请: 'Done', - 该操作需要以下权限: 'This operation requires the following permissions', - 需申请的权限: 'Operation', - 关联的资源实例: 'Related resource', - 操作成功: 'Refresh successfully', - 操作确认: 'Operation confirm', - '手动输入框有内容未添加到“已选择”列表,确认结束操作?': 'IP entry" area is not empty, please make sure they\'re already "append to selected list', - 刷新状态: 'Refresh', - 导出作业: 'Job export', - 脚本详情: 'Script details', - 请选择引用脚本: 'Please choose quoting script', - 已禁用: 'BANNED', - 执行方案: 'Job Plans', - 标签名称: 'Tag name', - 引用脚本待更新: 'New script version available', - 该变量的值必填: 'Value is required', - 未保存: 'Unsaved', - 批量同步: 'Sync', - 单一密码: 'Only password', - '用户名+密码': 'Username + Password', - 单一SecretKey: 'Only SecretKey', - 'AppID+SecretKey': 'AppID + SecretKey', - '只允许包含:汉字 A-Z a-z 0-9 _ - ! # @ $ & % ^ ~ = + .': 'Only letters, numbers, and _ - ! # @ $ & % ^ ~ = + . are allowed', - 引用脚本被禁用: 'Related script has been banned', - '方案已是最新版,无差异': 'No difference', - '该方案已同步,无需处理': 'Not necessary', - '无关联定时任务,系统自动确认': 'No cron related', - 未就绪: 'Not ready', - 无需处理: 'Ready', - 等待确认中: 'Waiting', - 确认中: 'Confirming', - '未就绪,确认失败': 'Not ready, confirm failed', - 已就绪: 'Ready', - 等待同步中: 'Waiting', - 同步中: 'Syncing', - '没找到页面!': 'Page not found', - 无业务权限: 'No Permission', - '网络错误,请刷新页面重试': 'Error! please try again...', - '你已拥有权限,请刷新页面': 'You have then permission right, please refresh', - 删除: 'Deletions', - 变换: 'Changes', - 新增: { - action: 'New', - diff: 'Additions', - }, - 搜索结果为空: 'Search empty', - 无同步权限: 'No permission', - 未知: 'Unknown', - 添加文件源文件: 'File Sources', - 选择文件源文件: 'Choose file(s) to transfer...', - 请选择文件源: '', - '搜索“所有文件源”': 'Search by file source name...', - 文件源别名: 'Alais', - 文件源标识: 'ID', - 状态: 'States', - 类型: 'Type', - 更新人: 'Last modified by', - 更新时间: 'Last modified at', - 个源文件文件: 'File(s) selected from file source', - 搜索文件名: 'Search by File name...', - '搜索 bucket名称': 'Search by Bucket name...', - bucket名称: 'Bucket name', - 创建时间: 'Create at', - 类别: 'Category', - 名称: 'Name', - 文件源管理: 'File Sources', - 文件名称: 'Name', - 文件源列表: 'File source list', - 对象存储: 'Object storage', - 文件系统: 'File system', - 同步任务: 'Synchronization', - 已选: 'Selected', - 公: 'P', - 私: 'S', - 已选全部: 'All selected', - 清除本节点所有数据: 'Erase all data', - 个: '', - 心跳超时: 'Heart beat timeout', - 产品文档: 'Documentation', - 问题反馈: 'Feedback', - 运营视图: 'Dashboard', - 添加: 'Add', - 文件: 'File', - '服务器文件-服务器列表': 'Remote file - hosts', - 'IP 格式不正确': 'IP format is incorrect', - 该节点在配置平台已被删除: 'The Node has been deleted in CMDB', - 该分组在配置平台已被删除: 'The Group has been deleted in CMDB', - 脚本内容检测失败: 'Scan script contents failed', - 脚本中出现高危语句: 'High-risk code caught', - 请按脚本编辑框左侧: 'Please follow the prompt of the icon', - 图标的提示处理后重试: 'on the left side of the editor and try again', - 好的: 'OK', - '目标路径支持的内置变量:(点击可直接复制使用)': 'Supported built-in Variables: (blick to copy)', - '(日期变量可传入标准的日期时间格式,如 yyyy-MM-dd_HH:mm:ss)': '(date: could use datetime format, such as yyyy-MM-dd_HH:mm:ss)', - 变量名称: 'Variable name', - 含义: 'Description', - 示例: 'Example', - 源服务器IP: 'File source IP', - 当前日期: 'Current date', - 点击复制: 'Copy', - 关键字: 'Input keyword', - 无匹配数据: 'No matched data', - 新建业务: 'New', - 搜索关键字: 'Search by keyword', - '接入点异常,暂时不可用': 'All AP are abnormal, file-source temporarily unavailable.', - 暂无已选项: 'empty', - 公共存储: 'Public', - 私有存储: 'Private', - '确定删除该文件(夹)?': 'Are you sure want to delete it ?', - '文件源本体的该文件(夹)也会被删除,请谨慎操作!': 'Be caution! This operation will directly affect to the file itself, not just on job system.', - 业务概览: 'Overview', - 任务编排: 'Task', - 任务: 'Task', - 资源: { - menuGroup: 'Resource', - flodTitle: 'Res.', - }, - 管理: { - menuGroup: 'Management', - flodTitle: 'Mgt.', - }, - 设置: { - menuGroup: 'Setting', - flodTitle: 'Stg.', - }, - 视图: 'View', - 安全: { - menuGroup: 'Security', - flodTitle: 'Sec.', - }, - 脚本模板: 'Script Template', - 作业管理: 'Job', - 运营分析: 'Analysis', - 个性化: 'Customize', - 高危语句规则: 'High-risk Statement', - 退出登录: 'Sign out', - '检测到代码存在高危语句:': 'Your code hits the High-risk statement rule:', - '详细说明:': 'Description:', - 描述: 'Description', - 编辑标签: 'Editing', - 标签名不能为空: 'Tag name is required', - 编辑标签成功: 'Tag has been modified', - 新建标签成功: 'New tag has been created', - 可以尝试调整关键词: 'Try to adjust the keyword', - 或: ' or ', - 清空搜索条件: 'Empty it', - 提交: 'Submit', - '标签名已存在,请重新输入': 'Tag name is exists, please try another one', - '允许最小 1s,最大为 259200s': 'The minimum is 1s, the maximum is 259200s', - 收起更多: 'Hide', - 展开更多: 'More', - 收起: 'Hide', - 展开: 'More', - 收起未引用的变量: 'unreferenced variables', - 展开未引用的变量: 'unreferenced variables', - 新建账号: 'New Account', - 新建标签: 'New Tag', - 新建业务脚本: 'New Script', - 新建公共脚本: 'New Public Script', - '的类型不在允许范围:': 'is not allowed', - '的类型在不允许范围:': 'is limited', - 隐藏空节点: 'Hide empty node', - 恢复完整拓扑: 'Show full topo', - '确认退出登录?': 'Are you sure to logout ?', - 数据为空: 'Empty', - 滚动执行: 'Rolling exec.', - 滚动策略: 'Strategy', - 滚动机制: 'Mode', - '默认(执行失败则暂停)': 'Default(pause when fail)', - '忽略失败,自动滚动下一批': 'Ignore fail, scrolling automatically', - '不自动,每批次都人工确认': 'Pause after each batch', - 查看使用指引: 'See the manual on rolling exec.', - '当前业务暂无作业,请先创建': 'The job template list is empty', - '「作业」是指由脚本执行、文件分发和人工确认组合成的一套操作流程,分为“模板”和“执行方案”;用户需要先创建 “作业模板”,再由该模板生成1个或多个不同步骤组合的 “执行方案”。': '"Job" is a set of operation processes consisting of script execution, file distribution and confirmation, composed of "Template" and "Plan"; You need to create a "Job Template" first, and then generate one or some "Plan" with different combinations of steps from the template. ', - '使用“模板->执行方案”的模式来管理作业的好处,一是可以有效地减少重复的作业步骤,提高步骤复用率;二是可以将场景固化下来,提升操作场景的辨识度和可维护性。': 'The benefits of using the "Template -> Plan" model to manage operations: firstly, to effectively reduce the number of repetitive operation steps and improve the step reuse rate; secondly, to solidify the scenarios and enhance the recognition and maintainability of the operation scenarios.', - 新建作业: 'Create Now', - 导入作业: { - nav: 'Job Import', - guide: 'Import from .jobexport', - }, - 编排作业相关的执行步骤: 'Build the job structure', - 点击: 'Click', - 新建: 'Create now', - '将操作流程所需的步骤,以及一些需要在步骤间传递、或执行时可能需要根据不同需求传入不同值的参数抽离设置为“全局变量”, 编辑保存为一个全新的作业模板。': 'to set the steps required for the process, and some parameters that need to be passed between steps or may need to be passed in different values depending on the execution as "Global Variables", and save.', - 生成对应的执行方案: 'Generate the plan(s)', - '从已创建的作业模板中,按照操作场景的需要勾选所需的步骤或修改全局变量值,另存为对应的 “执行方案”。': 'From the created job template, check the required steps or modify the values of global variables as required by the operation scenario, and save it as a corresponding "Job Plan".', - '了解更多关于作业模板和执行方案的功能细节,请点击查阅': 'To learn more details about the functionality of Job, please click', - '暂无业务权限,请先申请或创建': 'No business authority, please apply or create a new one', - '作业平台的核心功能包括面向服务器操作系统的命令执行、文件分发,以及将多个操作组合成作业流程,并支持设置定时执行。': 'The core functions of the Job include command execution for server operating systems, file distribution, and combining multiple operations into job processes, and support for setting up timed execution.', - 申请业务权限: 'Apply Business Permission', - '申请已有业务权限 / 创建新的业务': 'Apply for business permission or Create one', - '不同团队在作业平台上的资源以“业务”分隔,而“业务”是统一由配置平台进行创建和管理的,你可以选择': 'The resources of different teams on the job platform are separated by "Business", which is created and managed by the CMDB platform, and you can choose to ', - 申请已有业务的权限: 'Apply business permission', - ',亦或是': ' or ', - ' 新建 ': 'create now.', - '一个全新的业务。': '', - 开始使用作业平台: 'Getting started with job', - 作业平台的目标服务器信息同样来自: 'The target host of the job platform also comes from the ', - 配置平台: 'CMDB', - ',你需将服务器信息预先录入;并且,服务器上需要': ', you need to pre-input the host information; and, the host needs to', - '安装好蓝鲸 GSE Agent': 'Install GSE Agent', - '才能够正常接收来自作业平台的操作指令。': ' on it to be able to receive commands from job.', - '第一次使用作业平台?点击查阅': 'Using the platform for the first time? Check out the ', - 快速入门技巧: 'Quick Starts', - '了解更多关于作业平台产品的功能介绍,点击前往': 'To learn more about the features of the job platform, read the', - '当前业务暂无定时任务,请先创建': 'The cron list is empty', - '采用类Unix Crontab的配置表达式风格,降低使用门槛更快上手!提供了执行前/后通知提醒、执行记录等辅助功能,让用户可以放心地把定期执行的任务交给Job!': 'Using Unix Crontab-like configuration expression style, lower the threshold of use faster to get started! Provides pre/post-execution notification reminders, execution logs and other auxiliary functions, allowing users to confidently hand over regularly executed tasks to Job!', - 新建定时任务: 'Create now', - 选择需要定期执行的作业: 'Select the job plan to be related', - '定时任务关联的是“作业执行方案”,且支持在配置时按需传入定时场景的全局变量值;如果关联的作业执行方案有更新,也会在相关的操作流程中给予提醒和确认,确保不会受到影响。': 'Cron associated with "Job Plan" and support passing in global variable values of scheduled scenarios as needed during configuration; if the associated job plan is updated, it will be reminded and confirmed in the related operation process to ensure that it will not be affected.', - 设置定时模式和提醒机制: 'Set repeat frequency for the cron', - '支持“周期性”和“一次性”的定期执行模式, “周期性”采用类Linux Crontab表达式的配置方式,支持设置“结束时间”;“一次性”模式可以通过配置执行前的通知提醒,避免时间间隔周期长,计划有变动。': 'Support "Round-robin" and "Run once" schedule mode, "Round-robin" adopts Linux Crontab-like expression configuration, and supports setting "End time"; "Run once" mode can be configured to alert before execution to avoid long time intervals and schedule changes.', - '当前业务暂无脚本,请先创建': 'The script list is empty', - '脚本模块提供标准规范的版本管理功能,帮助用户有效的管理脚本各版本的状态和被作业引用的情况,提高脚本使用的安全性和可复用率。': 'The Script module provides standardized version management functions to help users effectively manage the status of each version of scripts and their references by jobs, improving the security and reusability of scripts.', - 创建一个全新的脚本: 'Create a brand new script', - '我们鼓励大家将业务脚本升迁到作业平台,通过 “云化”管理模式有序地整理业务脚本、有效地维护脚本使用场景的调用关系,提高使用的安全性。': 'We encourage you to migrate your scripts here, organize them in an orderly manner through the "cloud-based" management mode, effectively maintain the invocation relationship of script usage scenarios, and improve the security of usage.', - 理脚本各个版本的内容和状态: 'Manage the versions of script', - '版本管理功能提供除了基础的版本代码内容切换查看和对比以外,支持根据需求设置版本的状态,以及维护脚本和作业的引用和同步关系。': 'The version management function provides not only the basic version code content switching and comparison, but also supports setting the version status according to requirements, and maintaining the reference and synchronization relationship between scripts and jobs.', - '脚本的版本管理功能有哪些?点击': 'To know more feature details of script? click', - 脚本功能介绍: 'here', - '想要 “禁用” 脚本使其他调用方无法使用怎么做?': 'What can i do if i want to "disable" a script immediately? click ', - 立即查看: 'here', - 了解更多细节: '', - 管理脚本各个版本的内容和状态: 'Manage the versions of script', - '警告!': 'Warning !!!', - 详见编辑框左侧: 'See the tips on the', - 图标的提示: 'icon on the left side of editor for details', - '请确定是否要继续操作?': 'Are you sure want to proceed?', - 确定继续: 'YES', - 立即取消: 'CANCEL', - 全业务: 'All', - 复制: 'Copy', - 粘贴: 'Paste', - 快速执行详情: 'Quick Launch Details', - '没有可复制的 IPv4': 'IPv4 address not found', - '没有可复制的 IPv6': 'IPv6 address not found', - '没有可复制的异常 IPv4': 'IPv4 address of abnormal host not found', - '没有可复制的异常 IPv6': 'IPv6 address of abnormal host not found', - 存在不同版本: 'different version detected', - 滚动策略必填: 'Strategy is required', - 滚动策略格式不正确: 'Strategy is incorrect format', - 扫描: 'Scan', - 拦截: 'Block', - '中存在失效主机,请处理后重试': 'contains invalid hosts, please fix it and retry! ', - 变量: { - illegal: 'Variable', - }, - 步骤: { - illegal: 'Step', - }, - 清除成功: 'Successful', - 收藏成功: 'Add to my-favorite-list successful', - 取消收藏成功: 'Remove from my-favorite-list successful', - '复制 IP': 'Copy IP', - '复制 IPv6': 'Copy IPv6', - 无该应用的访问权限: 'Do not have access permission for the current application.', - '所有 IP': 'All IP', - '异常 IP': 'Copy abnormal', - 返回上一级: 'Back', - 'Job 小贴士:': 'JOB Tips:', - '想要再次查阅「版本日志」也可以从此处进入喔~': 'Click here to access all the \'Release notes\', to stay updated on all changes and improvements.', - '已成功保存到历史缓存!': 'Successful', - '请注意!脚本输出的内容大小上限为5M,超过可能导致日志被丢弃。': 'The maximum size limit for script output is 5MB, Exceeding the limit may loss the logs.', - '暂未开启“容器执行”功能': 'Container execution feature is not yet enabled.', - '功能开启后,即可以基于配置平台的业务容器拓扑,对容器管理平台纳管的容器实例进行脚本指令执行和文件分发': 'After the feature is enabled, you can launch script or transfer files on container instances managed by the container management platform(BCS) based on the container topo. of the configuration platform(CC).', - '如需使用该功能,须具备以下条件:': 'To use this feature, the following conditions must be met:', - '1. 部署容器管理平台(BCS)并开启容器拓扑同步至配置平台(CC)': '1. Deploy the container management platform (BCS) and enable container topology synchronization to the configuration platform (CC).', - '2_联系作业平台管理员打开容器执行功能': '2. Contact the JOB administrator to enable the container execution feature.', -}; diff --git a/src/frontend/src/views/account-manage/local.js b/src/frontend/src/views/account-manage/local.js deleted file mode 100644 index 4dc86dc7a5..0000000000 --- a/src/frontend/src/views/account-manage/local.js +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -export default { - namespace: 'account', - message: { - 新建: 'New', - '搜索账号别名,名称,更新人...': 'Search by Account name / Alias / Last modified by ...', - '账号 ID': 'ID', - 更新时间: 'Last modified at', - 操作: 'Actions', - 编辑: 'Edit', - '确定删除该账号?': 'Are you sure?', - '删除后不可恢复,请谨慎操作!': 'Caution! It cannot be restored after deletion.', - 删除: 'Delete', - 编辑账号: 'Edit', - 保存: 'Save', - 新建账号: 'New account', - 提交: 'Submit', - 系统账号: 'System', - 数据库账号: 'Database', - 删除成功: 'Delete successfully', - 数据库类型: 'Database', - 名称: 'Name', - 别名: 'Alias', - '在出现同名账号的情况下,账号的别名显得格外重要...': 'In the case of an account with the same name, alias is needed...', - 密码: 'Password', - 输入密码: 'Type password...', - 确认密码: 'Password confirm ', - 输入确认密码: 'Confirm password...', - 端口: 'Port', - 输入确认端口: 'Type your database port...', - 依赖系统账号: 'Dependent system account', - 选择依赖系统账号: 'Select dependent system account', - 输入账号描述: 'Type the usage scenario description of the account here...', - 类型: 'Type', - 用途: 'Usage', - 名称必填: 'Account name is required', - 别名必填: 'Account alias is required', - 密码不一致: 'The passwords are not equal', - 密码不支持中文: 'Password does not support chinese', - 端口必填: 'Database port is required', - 依赖系统账号必填: 'Dependent system account is required', - 密码必填: 'Password is required', - 新建账号成功: 'New account has been created', - '命名规则请求失败无法执行当前操作,请刷新页面': 'The naming convention settings request failed, please try to refresh current page.', - 编辑账号成功: 'Account has been modified', - 取消: 'Cancel', - 保存成功: 'The changes has been saved', - - 账号别名: { - label: 'Account alias', - colHead: 'Account alias', - }, - 账号名称: { - label: 'Name', - colHead: 'Name', - }, - 描述: { - label: 'Descriptions', - colHead: 'Descriptions', - }, - 账号用途: { - label: 'Usage', - colHead: 'Usage', - }, - 账号类型: { - label: 'Type', - colHead: 'Type', - }, - 创建人: 'Created by', - 创建时间: 'Created at', - 更新人: { - label: 'Last modified by', - colHead: 'Last modified by', - }, - 将覆盖其它条件: 'override other conditions', - 重置: 'Reset', - }, -}; diff --git a/src/frontend/src/views/cron-job/local.js b/src/frontend/src/views/cron-job/local.js deleted file mode 100644 index d02e8cadc8..0000000000 --- a/src/frontend/src/views/cron-job/local.js +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -/* eslint-disable max-len */ -export default { - namespace: 'cron', - message: { - 定时任务: 'Cron', - 新建: 'New', - '搜索任务ID,任务名称,更新人...': 'Search by Cron ID / Cron name / Last modified by ...', - 任务ID: 'Cron ID', - 执行方案名称: 'Job plan', - 更新时间: 'Last modified at', - 最新执行结果: 'Latest result', - 周期成功率: 'Success rate', - 更多失败记录: 'More', - 操作: 'Actions', - 编辑: 'Edit', - '确定删除该定时任务?': 'Are you sure to delete it?', - '删除后不可恢复,请谨慎操作!': 'Caution! It cannot be restored after deletion.', - 删除: 'Delete', - 编辑定时任务: 'Edit Cron', - 新建定时任务: 'New Cron', - 保存: 'Save', - 提交: 'Submit', - 开启成功: 'Cron has been opened.', - 关闭成功: 'Cron has been closed.', - 删除定时任务成功: 'Cron has been deleted.', - '任务名称:': 'Name: ', - '执行策略:': 'Repeat frequency: ', - 单次执行: 'Run once', - 周期执行: 'Round-robin', - '执行时间:': 'Time set: ', - '执行方案:': 'Job plan: ', - 该执行方案无全局变量: 'The plan has no variable related', - '推荐按照该定时执行的实际场景来取名...': 'Name it as actual use scenario [recommended]...', - 选择日期时间: 'Pick your time', - 作业模板: 'Job template', - 选择作业模板: 'Select the job template you need...', - 选择执行方案: 'Select the job plan you need...', - 查看执行方案: 'View plan details', - 单次执行时间必填: 'Datetime is required', - 请输入正确时间表达式: 'The time set expression is invalid', - 任务名称必填: 'Cron name is required', - '任务名称已存在,请重新输入': 'Name already exist, please try another one...', - 作业模板必填: 'Job template is required', - 执行方案必填: 'Job plan is required', - 定时任务编辑成功: 'Save successfully', - '定时任务创建成功(默认关闭,请手动开启)': 'New cron has been created (default status: OFF)', - '执行时间无效(早于当前时间)': 'Invalid execute time (earlier than now)', - 定时任务详情: 'Cron Details', - 执行方案: 'Job plan', - 设置结束时间: 'End-time settings', - 执行前通知: 'Notify before launch', - 结束前通知: 'Notify before end-Time', - 执行前: 'Before', - 通知方式: 'Notify by', - 通知对象: 'Notify to', - 输入通知对象: 'Type the username you want to notify...', - 分钟: 'Mins', - 小时: 'Hour', - '结束时间:': 'End-time: ', - '结束前通知:': 'Notify before end-Time: ', - '通知对象:': 'Notify to: ', - '通知方式:': 'Notify by: ', - '执行前通知:': 'Notify before launch: ', - 结束前: 'Before', - 全部: 'All', - '任务 ID': 'Cron ID', - 任务名称: { - label: 'Cron name', - colHead: 'Cron name', - }, - 执行策略: { - label: 'Repeat frequency', - colHead: 'Repeat frequency', - }, - 创建人: 'Created by', - 创建时间: 'Created at', - 更新人: { - label: 'Last modified by', - colHead: 'Last modified by', - }, - 任务状态: { - label: 'Status', - colHead: 'Status', - }, - 执行人: { - label: 'Launched by', - colHead: 'Launched by', - }, - 开始时间: { - label: 'Started', - colHead: 'Started', - }, - 耗时时长: 'Duration', - 至今: 'until now', - 等待执行: 'Pending', - 正在执行: 'Running', - 执行成功: 'Successful', - 执行失败: 'Failed', - 等待确认: 'Waiting', - 强制终止中: 'Terminating', - 强制终止成功: 'Terminated', - 强制终止失败: 'Terminate failed', - 确认终止: 'Termination confirmed', - '搜索指定任务ID 或 根据字段筛选结果': 'Search by ID or specified field...', - '搜索条件带任务ID时,将自动忽略其他条件': 'When condition is task ID, other conditions will be ignored', - 执行记录: 'Records', - 近1小时: 'Last 1 hour', - 近12小时: 'Last 12 hours', - 近1天: 'Last 24 hours', - 近7天: 'Last 7 days', - 执行方案ID: 'Plan ID', - 定时执行记录: 'Records of execute history', - 将覆盖其它条件: 'override other conditions', - 设置的提醒时间已过期: 'Notify time expired', - ID只支持数字: 'ID is only allow numbers', - _周期成功率_采样规则和计算公式: '"Success sate" sampling rule & calculation formula', - '采样规则:': 'Sampling rule :', - '近 24小时执行次数 >10,则 “分母” 为近 24 小时执行总数': 'If total executions in last 24hrs >10, then "senominator" is the total of last 24hrs', - '近 24小时执行次数 ≤ 10,则 “分母” 为近 10 次执行任务': 'If total executions in last 24hrs <10, then "senominator" is the last 10 records', - '计算公式:': 'Calculation Formula :', - '成功次数(分子) / 分母 * 100 = 周期成功率(%)': 'Number of successes (numerator) / senominator * 100 = success rate (%)', - 分: 'Minute', - 时: 'Hour', - 日: 'Day', - 月: 'Month', - 周: 'Week', - '下次:': 'Next:', - 唤起时间: 'Launch on', - 原因: 'Failed message', - 任务正常启动: 'Launched', - 任务未能启动: 'Unlaunched', - }, -}; diff --git a/src/frontend/src/views/dangerous-rule-manage/local.js b/src/frontend/src/views/dangerous-rule-manage/local.js deleted file mode 100644 index f7064211c7..0000000000 --- a/src/frontend/src/views/dangerous-rule-manage/local.js +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -/* eslint-disable max-len */ -export default { - namespace: 'dangerousRule', - message: { - 新建: 'New', - 语法检测表达式: { - col: 'Statement Regex.', - label: 'Statement Regex.', - }, - 规则说明: { - col: 'Explanation', - label: 'Explanation', - }, - 脚本类型: { - col: 'Script type', - label: 'Script type', - }, - 动作: { - col: 'Action', - label: 'Action', - }, - 操作: 'Actions', - '规则的排序越靠前,表示检测优先级越高': 'The higher the order of the rules, the higher the detect priority', - 上移: 'Up', - 下移: 'Down', - 删除: 'Delete', - 编辑成功: 'Change has been saved.', - 上移成功: 'Change has been saved(move up).', - 下移成功: 'Change has been saved(move down).', - 删除成功: 'Rule has been deleted.', - '确定删除该规则?': 'Are you sure ?', - 脚本编辑器中匹配该规则将不会再收到提醒: 'The editor will no longer be reminded if the rule has been deleted.', - 新增检测规则: 'New rule', - 扫描: 'Scan', - 拦截: 'Block', - 保存: 'Save', - 取消: 'Cancel', - _扫描_: 'SCAN', - '命中规则的脚本执行任务仅会做记录,不会拦截': 'The script execution task that hits the rule will only be recorded and not be blocked', - _拦截_: 'BLOCK', - '命中规则的脚本执行任务会被记录,并中止运行': 'The script execution task that hits the rule will be recorded and blocked', - 语法检测表达式不能为空: 'Statement Regex. is required', - 规则说明不能为空: 'Explanaction is required', - 脚本类型不能为空: 'Script type is required', - 请填写完整的语法检测表达式和说明: 'Statement Regex. and description not defined.', - 新增成功: 'New rule has been created', - '搜索语法检测表达式,规则说明,脚本类型...': 'Search by Statement Regex. / Explanation / Script type / ...', - 语法检测表达式必填: 'Statement Regex. is required', - 规则说明必填: 'Statement explanation is required', - 脚本类型必填: 'Script type is required', - 动作必填: 'Action is required', - 创建人: 'Created by', - 更新人: 'Last modified by', - 更新时间: 'Last modified at', - 创建时间: 'Created at', - }, -}; diff --git a/src/frontend/src/views/dashboard/local.js b/src/frontend/src/views/dashboard/local.js deleted file mode 100644 index e783d91de5..0000000000 --- a/src/frontend/src/views/dashboard/local.js +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -/* eslint-disable max-len */ -export default { - namespace: 'dashboard', - message: { - 数据初始时间: 'Data from', - 最近更新时间: 'Last update', - 业务类: 'BUSINESS', - 资源类: 'RESOURCE', - 执行类: 'TASK', - 'Linux 账号数': 'Linux account', - 'Windows 账号数': 'Windows account', - 'DB 账号数': 'DB account', - 活跃业务量: 'Active', - '3 天内至少执行过一次任务的业务(定时任务除外)': 'At least one execution record in last 3 days(except cron)', - 查看趋势图: 'Trend', - 查看列表: 'List', - 活跃业务量趋势图: 'Trend Of Active Business', - 活跃业务量列表: 'List Of Active Business', - 业务名: 'BUSINESS NAME', - '在 JOB有任意执行过一次任务记录的业务': 'At least one execution record on job since it created', - 接入业务量趋势图: 'Trend Of Total Business', - 接入业务量: 'Total', - 接入业务量列表: 'List Of Total Business', - 同比: 'Lswk', - 环比: 'Yst', - 选择日期: 'Datetime', - 定时任务开关分布: 'ON / OFF ratio of cron', - 开启: 'On', - 关闭: 'Off', - 定时任务类型分布: 'Repeat frequency type of cron', - 单次执行: 'Run once', - 周期执行: 'Round-robin', - 累计执行失败次数: 'Total of execution failure', - 累计执行失败次数趋势图: 'Trend Of execution failure', - 累计执行失败次数列表: 'List Of execution failure', - 失败次数: 'COUNT', - 占比: 'RATIO', - 按渠道统计: 'By channel', - 按类型统计: 'By type', - 按执行耗时统计: 'By duration', - 返回: 'Back', - 类型统计: ' ', - '7 天内': 'in 7 days', - '14 天内': 'in 14 days', - '30 天内': 'in 30 days', - 页面执行: 'Web UI', - 'API 调用': 'API', - 定时执行: 'Cron', - 执行数: 'Number of execution', - 执行失败次数: 'Number of execution failure', - 快速执行脚本: 'Script execution(quick launch)', - 快速分发文件: 'File transfer(quick launch)', - 作业执行: 'Job plan execution', - '≥ 10分钟': '≥ 10mins', - '1~10分钟以内(包含10分钟)': '1~10mins', - '1分钟以内(包含1分钟)': '≤ 1min', - 强制模式: 'Force mode', - 严谨模式: 'Stict mode', - 保险模式: 'Safe mode', - 累计任务执行次数: 'Total of execution', - 累计任务执行次数趋势图: 'Trend Of Execution', - 累计任务执行次数列表: 'List Of Execution', - 脚本量: 'Scripts', - 脚本量趋势图: 'Trend Of Scripts', - 脚本量列表: 'List Of Scripts', - 使用率: 'Usage', - '被作业模板引用的脚本总数(去重)/ 脚本总数,比率越高代表脚本在作业的使用率越高': 'Total number of scripts referenced by the job template (de-duplication) / Total number of scripts, the higher the ratio, the higher the usage of the script', - 脚本类型分布: 'Script type', - 脚本版本状态分布: 'Script version', - 已上线: 'Online', - 禁用: 'Banned', - 已下线: 'Offline', - 未上线: 'Stand-by', - 复用率: 'Re-use', - '引用脚本的步骤总数 / 被引用的脚本总数(去重),比率越高代表脚本在作业中被重复利用的价值越大': 'The total number of steps of the quoted script / the total number of quoted scripts(de-duplication), the higher the ratio, the greater value of the script being reused', - 标签: 'Tags', - 执行方案量: 'Job Plans', - 执行方案量趋势图: 'Trend Of Job Plans', - 执行方案量列表: 'List Of Job Plans', - 作业模板量: 'Job Templates', - 作业模板量趋势图: 'Trend Of Job Templates', - 作业模板量列表: 'List Of Job Templates', - 作业步骤类型使用占比: 'Usage of job step type', - 文件分发: 'File transfer', - 本地文件源: 'Local file', - 服务器文件源: 'Remote file', - 脚本执行: 'Script execution', - 手工录入: 'Custom', - 脚本引用: 'Quoted', - 人工确认: 'Confirmation', - 作业步骤: 'Job step', - 执行次数: 'Number of execution', - 今天: 'Today', - 昨天: 'Yesterday', - 最近3天: 'Last 3 days', - 最近7天: 'Last 7 days', - 最近30天: 'Last 30 days', - 截图: 'Screenshot', - '未知 OS': 'Unknown OS', - 滚动执行: 'Rolling Exec.', - 'Linux 数量': 'Linux', - 'Windows 数量': 'Windows', - 'AIX 数量': 'AIX', - 'UNIX 数量': 'UNIX', - 'Solaris 数量': 'Solaris', - 'Free BSD 数量': 'Free BSD', - 'MacOS 数量': 'MacOS', - 未知数量: 'Unknown', - }, -}; diff --git a/src/frontend/src/views/detect-records/local.js b/src/frontend/src/views/detect-records/local.js deleted file mode 100644 index 39f2b7c3e4..0000000000 --- a/src/frontend/src/views/detect-records/local.js +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -/* eslint-disable max-len */ - -export default { - namespace: 'detectRecords', - message: { - '搜索拦截ID,表达式,业务,执行人,执行方式,调用方,动作…': 'Search by ID / Statement Regex. / Ran by / ...', - 拦截ID: 'ID', - 表达式: { - label: 'Statement Regex.', - colHead: 'Statement Regex.', - }, - 业务: { - label: 'APP', - colHead: 'APP', - }, - 执行人: { - label: 'Ran by', - colHead: 'Ran by', - }, - 执行时间: 'Ran at', - 执行方式: { - label: 'Source', - colHead: 'Source', - }, - 调用方: { - label: 'Client', - colHead: 'Client', - }, - 动作: { - label: 'Action', - colHead: 'Action', - }, - 脚本语言: { - label: 'Script language', - colHead: 'Script language', - }, - 操作: 'Actions', - 选择日期: 'Select datetime', - 近1小时: 'Last 1 hour', - 近12小时: 'Last 12 hours', - 近1天: 'Last 24 hours', - 近7天: 'Last 7 days', - 至今: 'until now', - 定时执行: 'Cron', - API调用: 'API', - 页面执行: 'Web UI', - 扫描: 'Scan', - 拦截: 'Block', - 查看脚本: 'Script details', - 脚本内容: 'Contents', - _扫描_: 'SCAN', - _拦截_: 'BLOCK', - '命中规则的脚本执行任务仅会做记录,不会拦截': 'The script execution task that hits the rule will only be recorded and not be blocked', - '命中规则的脚本执行任务会被记录,并中止运行': 'The script execution task that hits the rule will be recorded and blocked', - ID只支持数字: 'ID只支持数字', - }, -}; diff --git a/src/frontend/src/views/executive-history/local.js b/src/frontend/src/views/executive-history/local.js deleted file mode 100644 index 819557cf33..0000000000 --- a/src/frontend/src/views/executive-history/local.js +++ /dev/null @@ -1,239 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -/* eslint-disable max-len */ -export default { - namespace: 'history', - message: { - '搜索条件带任务ID时,将自动忽略其他条件': 'When condition is ID, other conditions will be ignored', - '搜索任务ID,任务名称,执行方式,任务类型,任务状态,执行人...': 'Search by ID / Name / Generated by / Type / Launched by...', - 选择日期: 'Select datetime', - '任务 ID': 'ID', - 耗时时长: 'Duration', - 操作: 'Actions', - 查看详情: 'Details', - 去重做: 'Relaunch', - 任务ID: 'ID', - 页面执行: 'Web UI', - 定时执行: 'Cron', - API调用: 'API', - 作业执行: 'Job execution', - 脚本执行: 'Script execution', - 文件分发: 'File transfer', - 等待执行: 'Pending', - 正在执行: 'Running', - 执行成功: 'Successful', - 执行失败: 'Failed', - 等待确认: 'Waiting', - 状态异常: 'Abnormal', - 强制终止中: 'Terminating', - 强制终止成功: 'Terminated', - 强制终止失败: 'Terminate failed', - 确认终止: 'Termination confirmed', - 被丢弃: 'Evicted', - 近1小时: 'Last 1 hour', - 近12小时: 'Last 12 hours', - 近1天: 'Last 24 hours', - 近7天: 'Last 7 days', - 至今: 'until now', - '确认执行?': 'Are you sure?', - '该方案未设置全局变量,点击确认将直接执行。': 'Task has no global variables, if confirmed will launch directly.', - 全局变量: 'Global variables', - 执行: 'Launch', - 取消: 'Cancel', - 操作成功: 'Launch successfully', - 导出日志: 'Export', - 步骤内容: 'Step details', - 操作记录: 'Operation logs', - 执行日志: 'Logs', - 变量明细: 'Global vars.', - 查看步骤内容: 'Step details', - 导出日志操作成功: 'Logs export successfully', - 复制: 'Copy', - 字段显示设置: 'Field settings', - 全选: 'All', - 确定: 'OK', - IP: 'IP', - '耗时(s)': 'Duration(s)', - 管控区域: 'BK-Net', - 返回码: 'Retcode', - 暂无可复制IP: 'Nothing copied', - 复制成功: 'Copied', - 个: '', - 始: 'S', - 步骤状态: 'Status', - 步骤耗时: 'Duration', - 终: 'E', - 返回编辑: 'R.R', - 人工确认步骤不支持查看步骤详情: 'No details for confirmation steps', - 该步骤还未执行: 'This step has not been runned', - 变量名称: 'Name', - 变量类型: 'Type', - 变量值: 'Value', - 已确认: 'Confirmed', - 确认人: 'Confirm by', - 通知方式: 'Notify by', - 可在此处输入确认或终止的因由: 'You can enter the reason of confirmation here whether it\'s continue or not.', - 结束时间: 'Finished', - 总耗时: 'Total duration', - 全部重试: 'Retry all', - 终止流程: 'STOP', - 重新发起确认: 'Re-confirm', - 确认继续: 'Continue', - 失败IP重试: 'Failed-host retry', - 重试并继续: 'Relaunch', - 强制终止: 'Terminate', - 跳过: 'Skip', - 忽略错误: 'Ignore error', - 进入下一步: 'Go on', - '确定继续执行?': 'Are you sure?', - 将继续执行后面的步骤: 'Task will continue to run the following steps...', - '确定终止流程?': 'Are you sure?', - '人工确认步骤终止后,需「重新发起确认」才可恢复': 'After the confirmation step is stopped, "re-confirm" is required if you want to resume.', - '确定重新发起确认?': 'Are you sure?', - 将会再次发送消息通知相关的确认人: 'Will send message again to notify the username.', - '确定全部重试?': 'Are you sure to retry all?', - '确定失败IP重试?': 'Are you sure?', - '仅作用于本次执行失败的 IP': 'Step will continue running with retry failed-host.', - '确定进入下一步?': 'Are you sure?', - 跳过当前步骤进入下一步: 'Ignore the error of current step, and continues to run', - '确定终止执行任务?': 'Are you sure to terminate the task?', - 终止动作仅对当前还未执行完成的IP有效: 'The termination action is only effect for host that have not yet been finished.', - '确定重试并继续?': 'Are you sure?', - '该步骤的所有IP 都将重新执行': 'Will retry all hosts of this step, and keep going.', - '确定跳过并进入下一步?': 'Sure want to skip and go on ?', - '将不再等待强制终止动作的结果,直接进入下一步': 'Will no longer wait for the result of the termination, and keep go on.', - 无全局变量: 'There\'s no related global variables', - 时间: 'Datetime', - 操作人: 'Operator', - 动作: 'Action', - 关联步骤: 'Step', - 详情: 'Details', - 正在查看: 'Loading...', - 执行方案: 'Job plan', - 执行脚本: 'Script execution', - 分发文件: 'File transfer', - 人工确认: 'Confirmation', - 步骤: 'Step', - 步骤名称: 'Step name', - 定位到当前步骤: 'Locate to current step', - 开始时间: { - label: 'Started at', - colHead: 'Started at', - }, - 任务名称: { - label: 'Name', - colHead: 'Name', - }, - 执行方式: { - label: 'Generated by', - colHead: 'Generated by', - }, - 任务类型: { - label: 'Type', - colHead: 'Type', - }, - 任务状态: { - label: 'Status', - colHead: 'Status', - }, - 执行人: { - label: 'Launched by', - colHead: 'Launched by', - }, - 执行中: 'Running', - '按 Esc 即可退出全屏模式': 'Press esc to exit full screen mode', - 还原: 'Normal', - 全屏: 'Full-screen', - 回到顶部: 'Back to top', - 跳至定位点: 'Jump location point', - 前往底部: 'Go to bottom', - 下载日志: 'Download', - ID只支持数字: 'ID is only allow numbers', - 下载信息: 'Download information', - 上传源信息: 'Upload source information', - 文件名: 'Filename', - 文件大小: 'Size', - 状态: { - execute: 'Status', - log: 'State', - }, - '源服务器 IP': 'Source IP', - 速率: 'Speed', - 进度: 'Progress', - 将覆盖其它条件: 'override other conditions', - 加载中: 'loading', - 更多分组: 'More', - '目标 IP': 'Target IP', - 执行耗时: 'Exec duration', - 搜索日志: 'Log search', - '搜索 IP': 'IP search', - 分发文件步骤不支持日志搜索: 'Sorry, file transfer task not support log search', - 分发文件步骤不支持日志导出: 'Sorry, file transfer task not support log export', - '温馨提示:打包耗时会受到总的日志内容大小影响,请耐心等待': 'REMINDER: packaging time cost will be affected by log content size, please be patient', - '温馨提示:文件打包中请勿关闭浏览器,以免导致任务中断': 'REMINDER: do not close the browser while packaging', - '日志文件打包超时,可能因为日志量过大,请选择单台日志下载': 'Package failed! Maybe log is too large or process error, please try later', - '日志压缩包已准备就绪,': 'Package is ready', - 是否: '', - 直接下载: 'Download now', - 重新打包: 'Re-pack', - 打包中: 'Packaging', - '打包失败,': 'Package failed', - 重试: 'Retry', - 准备就绪: 'Ready', - '分组标签长度最大支持256,超过会被自动截断,请留意!': 'The maximum length of the grouping tag is 256. if exceeded, it will be automatically truncated.', - 自动换行: 'Auto-wrap', - '滚动策略:': 'Strategy: ', - '滚动机制:': 'Mode: ', - '默认(执行失败则暂停)': 'Default(pause when fail)', - '忽略失败,自动滚动下一批': 'Ignore fail, scrolling automatically', - '不自动,每批次都人工确认': 'Pause after each batch', - 全部批次: 'All', - 确认继续执行: 'Continue to roll', - 跳转至: 'Go to', - 请输入批次: 'Please input the number', - 第: 'The', - 共: 'Total: ', - 批: { - input: '-th', - total: 'batches', - finished: 'finished.', - }, - 已执行: '', - 当前正在显示的内容: 'Currently displayed', - '复制 IP': 'Copy IP', - '复制 IPv6': 'Copy IPv6', - '没有可复制的 IPv4': 'IPv4 address not found', - '没有可复制的 IPv6': 'IPv6 address not found', - 'IP 与 IPv6 至少需保留一个': 'At least one of IP or IPv6 must be selected', - 容器名称: 'Container name', - '容器 ID': 'Container ID', - '所属 Pod 名称': 'Pod name', - 没有可复制的容器名称: 'Container name not found', - 文件源: 'File source', - '日志文本过长,超出 AI 解析范围,请框选部分日志,再次出发点小鲸分析。': '日志文本过长,超出 AI 解析范围,请框选部分日志,再次出发点小鲸分析。', - '报错日志看不懂?来提问小鲸吧~': '报错日志看不懂?来提问小鲸吧~', - }, -}; diff --git a/src/frontend/src/views/fast-execution/local.js b/src/frontend/src/views/fast-execution/local.js deleted file mode 100644 index 4daa11bdab..0000000000 --- a/src/frontend/src/views/fast-execution/local.js +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -/* eslint-disable max-len */ -export default { - namespace: 'execution', - message: { - 分发文件: 'File transfer', - 基本信息: 'Information', - 任务名称: 'Task name', - '取一个便于记忆的任务名,方便后续在历史记录中快速定位...': 'Take a memorable task name for fast follow-up in historical records', - 上传限速: 'Upload speed limit', - 下载限速: 'Download speed limit', - 文件来源: 'Source', - 传输目标: 'Destination', - 执行: 'Launch', - 重置: 'Reset', - 最近结果: 'R.E', - 快速执行分发文件: 'File transfer', - 您有未保存的源文件: 'Source file not save yet...', - 继续执行: 'Continue', - 去保存: 'Save', - 脚本名称: 'Script name', - 快速执行脚本: 'Script execute', - 源文件可能出现同名: 'Source files may have same filename', - '多文件源传输场景下容易出现同名文件覆盖的问题,你可以在目标路径中使用_源服务器IP_的变量来尽可能规避风险。': 'Files may have the risk of overwriting with the same name in multi-file source, using built-in variable like [FILESRCIP] in the Dst. path to avoid risks as much as possible.', - '已知悉,确定执行': 'I\'m SURE, KEEP GOING', - 源和目标服务器相同: '', - '检测到文件传输源和目标服务器是同一批,若是单台建议使用本地 cp 方式效率会更高,请问你是否确定参数无误?': 'The source and target hosts for file transfer are the same batch. If it is a single local transfers, using the "cp" command will be more efficient. Are you sure the parameters provided are correct?', - '是的,确定无误': 'YES, I\'m SURE', - '好的,我调整一下': 'NO, HOLD ON', - }, -}; diff --git a/src/frontend/src/views/file-manage/local.js b/src/frontend/src/views/file-manage/local.js deleted file mode 100644 index 3526aef1f8..0000000000 --- a/src/frontend/src/views/file-manage/local.js +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -/* eslint-disable max-len */ -export default { - namespace: 'file', - message: { - 上传: 'Upload', - '请输入文件源名称...': 'Please enter the name of the file source...', - 名称: 'Name', - 类别: 'Category', - 创建人: 'Created by', - 操作: 'Actions', - 重置: 'Reset', - 移除: 'Remove', - 分发至: 'Transfer to', - 删除: 'Delete', - 新建: 'New', - 文件源别名: { - label: 'File source alias', - colHead: 'Alias', - }, - 文件源标识: { - label: 'File source ID', - colHead: 'ID', - }, - 类型: { - label: 'Type', - colHead: 'Type', - }, - 状态: 'States', - 所属地域: 'Region', - 配置更改: 'Config', - 创建成功: 'Create successfully', - 删除成功: 'Delete successfully', - 更新成功: 'Update successfully', - '确定删除该文件源?': 'Are you sure to delete it ?', - '该操作只涉及在作业平台的文件源配置,不影响其本体的内容': 'It only remove the configure on Job system, does not affect File Source itself.', - '确定删除该文件(夹)?': 'Are you sure to delete it ?', - '文件源本体的该文件(夹)也会被删除,请谨慎操作!': 'Be caution! This operation will directly affect to the file itself, not just on job system.', - 公共存储: 'Public storage', - 共享对象: 'Share With', - 身份凭证: 'Ticket', - 文件前缀名: 'Suffix', - 接入点: 'Collector', - 自定义字符串: 'Custom', - 自动选择接入点: 'Auto', - 设为公共存储: 'Set to public storage', - 全业务: 'All', - 文件系统: 'File system', - 对象存储: 'Object storage', - 来源: 'Plugin', - 编辑文件源: 'Editing file source config', - 保存: 'Save', - 新建文件源: 'New file source', - 提交: 'Submit', - 详情: 'Details', - 下载: 'Download', - 创建时间: 'Created at', - 搜索关键字: 'Search by keyword', - 文件名: 'Filename', - 更新人: 'Last modified by', - 更新时间: 'Last modified at', - 文件源列表: 'File source list', - 关闭成功: 'Switch off (inactive)', - 开启成功: 'Switch on (active)', - 文件源别名必填: 'File-source alias is required', - EndPoint必填: 'EndPoint is required', - APPID必填: 'APPID is required', - 全部: 'All', - 业务私有: 'Private', - 公共接入点: 'Public', - 搜索名称: 'Search by Name...', - 共享对象必填: 'Share with is required', - 请输入文件源标识: 'Type a uniq id for this file-source', - 为文件源起一个可读性较好的别名: 'Please enter this file-source name', - 文件源标识必填: 'File-source is required', - 身份凭证必填: 'Ticket is required', - '文件源别名已存在,请重新输入': 'File source name already exist', - '接入点异常,暂时不可用': 'All AP are abnormal, file-source temporarily unavailable.', - 操作成功: 'Successfully', - }, -}; diff --git a/src/frontend/src/views/global-setting/local.js b/src/frontend/src/views/global-setting/local.js deleted file mode 100644 index 7db18ef060..0000000000 --- a/src/frontend/src/views/global-setting/local.js +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -/* eslint-disable max-len */ -export default { - namespace: 'setting', - message: { - 通知设置: 'Notification', - 存储策略: 'History setting', - 账号命名规则: 'Naming rules', - 高危语句规则: 'High-risk statement', - 'Linux 账号不能为空': 'Linux account rule is required', - 'Windows 账号不能为空': 'Windows account rule is required', - 数据库账号不能为空: 'DB account is required', - 保存: 'Save', - 取消: 'Cancel', - 请填写完整的语法检测表达式和说明: 'Statement Regex. and description not defined.', - 新增成功: 'New rule has been created', - 请输入命名规则: 'Please enter the rule expressions...', - 请输入命名规则提醒文案: 'Please enter the rule explanation...', - 恢复默认: 'Initialize', - 重置: 'Reset', - 账号命名规则保存成功: 'Naming rules change has been saved.', - 用户可选择的通知渠道: 'User-selectable notification type', - 通讯黑名单: 'Ban list', - '“通讯黑名单”的人员将不会接收到任何来自作业平台的消息': 'The user in ban-list will not able to select.', - 保存通知渠道失败: 'Saving notification type failed...', - 保存黑名单失败: 'Saving ban-list failed...', - 保存成功: 'The change has been saved.', - 执行历史保留: 'History data will save', - 天: 'Days', - 保留天数必须大于0: 'Must be greater than 0', - 平台信息: 'Platform information', - '网页 Title 设置:': 'Web title setting:', - 平台名称: 'Platform name', - 分隔符: 'Delimiter', - 作业平台: 'BlueKing Job', - 平台名称必填: 'Platform name is required', - 分隔符必填: 'Delimiter is required', - 页脚信息设置: 'Footer settings', - 联系方式: 'Contact info.', - 版权信息: 'Copyright info.', - 渠道: 'Channel', - 模板: 'Template', - 人工确认: 'Confirmation', - 执行成功: 'Success', - 执行失败: 'Failed', - '定时任务-执行前': 'Cron - before launch', - '定时任务-结束前': 'Cron - before ended', - 编辑模板: 'Edit', - 未设置: 'Unset', - 消息模板编辑: 'Message template edit', - 初始化: 'Initialize', - '渠道类型:': 'Channel: ', - '消息类型:': 'Type: ', - '最近修改人:': 'Last modified by: ', - '最近修改时间:': 'Last modified at: ', - 模板内容: 'Template contents', - 模板内容必填: 'Template contents is required', - 内置变量: 'Built-in cariables', - 邮件主题: 'Mail subject', - 邮件主题必填: 'email subject is required', - 消息预览: 'Message preview', - 发送: 'Send', - 发送成功: 'Message has been sent', - '请输入接收消息预览的用户名(请确保接受人对应的账号配置正常)': 'Please type the names of the receivers...', - 内置变量列表: 'Built-in variables list', - 通用变量: 'Common', - 作业变量: 'Job', - 定时任务变量: 'Cron', - 变量名称: 'Var Name', - 含义: 'Description', - 示例: 'Example', - 任务的ID: 'ID of the task', - 任务的名称: 'Name of the task', - 获取所有主机的设备型号: 'This is a deploy job plan...', - '任务所属业务的 ID': 'Business ID of the task', - 任务所属业务的名称: 'Business name of the task', - 王者荣耀: 'Twitter Project', - 任务的操作人: 'Operator of the task', - 任务开始时间: 'The task\'s launch time', - 任务的类型: 'Type of the task', - '快速执行脚本 / 作业任务 / 定时任务': 'Job / Cron / ...', - 任务的详情链接: 'Access url of the task', - 任务当前步骤的名称: 'Name of the current step', - 这是检查配置文件语法的步骤: 'This step is plan to do...', - 任务当前步骤的类型: 'Type of the current step', - '脚本执行 or 文件分发 or 人工确认': 'Script execution / Confirmation / ...', - 任务的步骤总数: 'Total step counts of the task', - 任务当前步骤的序号: 'Step number of the task', - 任务当前步骤执行耗时: 'Duration of the current step', - 任务执行总耗时: 'Total duration of the task', - 任务当前步骤执行失败数: 'Failed host counts of current step', - 任务当前步骤执行成功数: 'Success host counts of current step', - 任务的人工确认描述: 'Description of confirmation step', - 任务的确认步骤的干系人: 'Username of confirmation step', - 请确认以上执行步骤是否执行正常: 'Make sure everything is okay...', - 定时关联的执行方案名: 'Job plan name of the cron', - 定时关联的执行方案ID: 'Job plan ID of the cron', - 这是一个测试的作业执行方案: 'This is a cron job plan...', - 定时任务的执行策略: 'Repeat frequency of the cron', - '单次执行 or 周期执行': 'Run once or Round-robin', - 定时任务的执行时间: 'Launch time of the cron', - 定时任务提前通知时间: 'Time of notify before launch', - 请输入: 'Please input', - 文件上传设置: 'Local file update', - 本地文件上传大小限制: 'File size limit', - 本地文件上传后缀限制: 'File extension limit', - 不限制: 'Unlimit', - 设置允许范围: 'Allowed from', - 设置禁止范围: 'Limited from', - 不允许为空: 'is required', - 上传文件后缀校验规则: 'Start with dot(.), followed by letter / numbers / _ or -, up to 24 characters ', - 报错提示信息设置: 'Error Message Setting', - 助手链接: '"Help" link', - '请输入平台客服助手的通信跳转链接,方便用户快速反馈问题': 'Enter the platform customer service link to help the user to feedback the problem quickly.', - }, -}; diff --git a/src/frontend/src/views/home/local.js b/src/frontend/src/views/home/local.js deleted file mode 100644 index 911a5d4d64..0000000000 --- a/src/frontend/src/views/home/local.js +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -/* eslint-disable max-len */ -export default { - namespace: 'home', - message: { - 基本信息: 'Base info', - 操作: 'Actions', - 查看详情: 'Details', - 关闭: 'Close', - '使用禁用脚本的作业模板/执行方案': 'Jobs contains "Banned" script version', - '存在异常 Agent 的执行方案': 'Job plan contains abnormal hosts', - '周期成功率低于60%的定时任务': 'Crons success-rate lower than 60%', - 近期执行失败的定时任务: 'Cron failed recently', - '作业模板/执行方案': 'Jobs', - 作业执行方案: 'Job plan', - 定时任务: 'Crons', - 查看列表: 'More', - 'Agent 状态分布': 'Agent Status', - 我收藏的作业: 'My Favorite', - 作业量: 'Jobs', - 脚本量: 'Scripts', - 最近执行记录: 'Recent Task', - 作业模板名称: 'Name', - 状态: 'Status', - 已上线: 'Online', - 更新人: 'Last modified by', - 更新时间: 'Last modified at', - 执行方案: 'Plans', - 调试: 'Debug', - 编辑: 'Edit', - 全部: 'All', - 我执行: 'Mine', - 更多: 'More', - '现在是凌晨 {HH:MM}!切忌劳累过度,影响身体还容易误操作,赶紧休息吧...': 'It\'s {HH:MM} before dawn ! Less overwork, more health! Overnight is easy to make mistake and hurt our body.', - '感谢你来见证凌晨4点的作业平台,Mamba Forever!曼巴精神!共勉!': 'Welcome to job in the 4 O\'clock in the earlier morning, salute to the legend! mamba forever ! R.I.P. kobe bryant.', - '一年之计在于春、一日之计在于晨!早起的鸟儿有虫吃~ 伙计,加油!': '{HH:MM} Good morning ! Great minds have purpose, others have wishes.', - '上午好!专注工作之时别忘了多饮水,促进身体新陈代谢,有益身体健康噢~': 'It\'s {HH:MM} in the morning. If they throw stones at you, don\'t throw back, use them to build your own foundation instead.', - '午饭时间到了,肠胃很重要!记得按时就餐喔~': 'It\'s lunch time! People are iron, rice is steel, you\'ll feeling weak without a meal.', - '午饭过后,闲庭几步、小憩片刻,下午办公精神更佳!': 'We suggest you take a nap after lunch, it will make your spirit better in the afternoon.', - '下午好!预防「久坐成疾」,记得多起来走动走动,松松肩颈,放松片刻。': '{HH:MM} Good afternoon ! A man is not old as long as he is seeking something. A man is not old until regrets take the place of dreams.', - '晚上好!夜间人体内消化能力偏弱,饮食切忌太饱,健康绿色膳食为宜。': '{HH:MM} Good Evening ! Success is actually simple — when you are about to fail to hold, hang on a bit longer.', - '晚上好!少加班,多锻炼噢~ 只要每天做好规划,不怕事情做不好!': 'It\'s {HH:MM} in the evening. Make the choice to be happy. The biggest part of being happy is to simply make up your mind to be a happy person.', - '现在是晚上 {HH:MM},夜深了... 为了自己的身体健康,请早点休息,保持足够睡眠!': '{HH:MM} It\'s late night now ! For your own health, you should go to bed early.', - 正常: 'OK', - 异常: 'Abnormal', - 未安装: 'Unknown', - 'Agent 正常的机器列表:': '[ ok ] host list: ', - 'Agent 异常的机器列表:': '[ abnormal ] host list: ', - 'Agent 未安装的机器列表': '', - 'Agent 状态': 'Agent status', - 管控区域: 'BK-Net', - 主机名: 'Hostname', - 操作系统: 'OS', - 操作系统名称: 'OS name', - 复制全部: 'Copy all', - 复制成功: 'Copied', - 个IP: 'Host IP copied.', - 暂无收藏的作业: 'Your favorite job list is empty', - '将鼠标悬浮到作业模板行,点击收藏图标': 'Mouse hover on the job list row and click the favorite icon', - 暂无执行记录: 'No record', - }, -}; diff --git a/src/frontend/src/views/notify-manage/local.js b/src/frontend/src/views/notify-manage/local.js deleted file mode 100644 index 72cd7a9653..0000000000 --- a/src/frontend/src/views/notify-manage/local.js +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -export default { - namespace: 'notify', - message: { - 通知对象: 'Notify to', - 请输入: 'Type the username you want to notify...', - 角色: 'Role', - 最近输入: 'Recently entered', - 用户: 'User', - 通知方式: 'Notify by', - 状态: 'Status', - 全选: 'All', - 操作类型: 'Operation type', - 保存: 'Save', - 取消: 'Cancel', - 保存成功: 'The changes has been saved', - 重置: 'Reset', - }, -}; diff --git a/src/frontend/src/views/script-manage/local.js b/src/frontend/src/views/script-manage/local.js deleted file mode 100644 index 4b8f64dcac..0000000000 --- a/src/frontend/src/views/script-manage/local.js +++ /dev/null @@ -1,196 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -/* eslint-disable max-len */ -export default { - namespace: 'script', - message: { - 新建: 'New', - '搜索脚本名称,类型,场景标签,更新人...': 'Search by Script Name / Type / Tag / Created by...', - 脚本语言: 'Type', - 线上版本: 'On-line', - 创建时间: 'Created at', - 操作: 'Actions', - 去执行: 'Launch', - 同步: 'Sync', - '更新人:': 'Last modified by:', - '更新时间:': 'Last modified at:', - '确定删除该脚本?': 'Are you sure to delete it?', - '注意!脚本内的所有版本也将被清除': 'Caution! All versions will also be deleted.', - 删除: 'Delete', - 类型: 'Type', - 脚本名称必填: 'Script name is required', - 删除成功: 'Script has been deleted.', - '操作失败!请前往「版本管理」设置线上版后重试': 'Failed! No online version available.', - '脚本正被作业引用中,无法删除': 'Script is related with jobs, cannot be delete.', - 显示被作业引用的次数: 'Show the related jobs list', - '搜索名称,版本号': 'Search by Name or Version number...', - 作业模板: 'Template name', - 执行方案: 'Plan name', - 引用的版本号: 'Version no.', - 引用版本状态: 'Version status', - 版本状态: 'Status', - 名称: 'name', - 输入版本号: 'Type the version number...', - 版本日志: { - label: 'Change log', - colHead: 'Change log', - }, - 脚本内容: { - label: 'Contents', - colHead: 'Contents', - }, - 提交: 'Submit', - 取消: 'Cancel', - 立即同步: 'Synchronize now', - 全部重试: 'All retry', - 重试: 'Retry', - 完成: 'inish', - 同步作业模板: 'Synchronize job templates', - 版本号必填: 'Version number is required', - '版本号已存在,请重新输入': 'Version number is already exist, please try another one...', - 操作成功: 'Successfully', - '推荐按照该脚本逻辑提供的使用场景来取名...': 'Type your script name here...', - 标签对资源的分类管理有很大帮助: 'Select or type any tag you want...', - 在此处标注该脚本的备注和使用说明: 'Type the usage scenario description of this script here...', - 上传脚本: 'Upload', - '标签名已存在,请重新输入': 'Tag name is already exist, please try another one...', - 脚本版本必填: 'Script version number is required', - '最多仅可 200个字符': 'Up to 200 characters...', - 脚本类型不支持: 'Script type not supported', - 脚本内容不能为空: 'Script content is required', - 脚本描述: { - label: 'Desc', - }, - 版本列表: 'Versions', - '该脚本没有线上版本,无法执行': 'Failed! No online version available.', - 线上版: 'Online', - 版本管理: 'Versions', - 上传文件: 'Upload', - 版本对比: 'Diff', - 选择匹配的字段并输入关键字进行搜索: 'Select matching fields and enter keywords to search', - 更新时间: { - label: 'Last modified at', - colHead: 'Last modified at', - }, - 状态: 'Status', - '确定上线该版本?': 'Are you sure ?', - '上线后,之前的线上版本将被置为「已下线」状态,但不影响作业使用': 'After going online, the previous online version will be set to "offline", but it still can be execute.', - 上线: 'On', - '确定禁用该版本?': 'Are you sure to ban it ?', - '一旦禁用成功,不可恢复!且线上引用该版本的作业步骤都会无法执行,请务必谨慎操作!': 'Important! Once the version is banned, it cannot be restored! and the job steps that reference to this version will not be able to execute, so please be careful!', - 禁用: 'Ban', - '确定删除该版本?': 'Are you sure to delete it ?', - '删除后不可恢复,请谨慎操作!': 'Caution! It cannot be restored after deletion.', - 编辑: 'Edit', - 复制并新建: 'Copy new', - 描述: 'Desc', - 编辑脚本: 'Script editing', - 新建脚本: 'New script', - 查看脚本: 'View details', - 作业模板名称: 'Template name', - 步骤名称: 'Step name', - 已选: 'Selected', - 搜索作业模板: 'Search job template', - '版本 ID': ' Version id', - 脚本名称: { - label: 'Name', - colHead: 'Name', - }, - 场景标签: { - label: 'Tags', - colHead: 'Tags', - }, - 被引用: { - label: 'Related', - colHead: 'Related', - }, - 创建人: { - label: 'Created by', - colHead: 'Created by', - }, - 版本号: { - label: 'Version no.', - colHead: 'Version no.', - }, - 更新人: { - label: 'Last modified by', - colHead: 'Last modified by', - }, - '该脚本没有 “线上版本” 可执行,请前往版本管理内设置。': 'There is no "ON-LINE" version yet, go to "versions" page and set one.', - 已上线: 'ONLINE', - 未上线: 'STAND-BY', - 已下线: 'OFFLINE', - 已禁用: 'BANNED', - '暂无关联作业,或已是当前版本': 'No associated jobs, or it\'s already using current version.', - '部分作业模板同步失败,请留意': 'Some of job template is sync failed', - 同步至: 'Update to', - 将覆盖其它条件: 'override other conditions', - 作业模板引用: 'Related by job template', - 执行方案引用: 'Related by job plan', - 引用脚本的作业模板: 'List of related job template', - 引用脚本的执行方案: 'List of related job plan', - 共: '', - 个: { - result: 'totals', - }, - 请先选择作业模板步骤: 'Job template not selected yet', - 显示被执行方案引用的次数: 'Shows the number of times related by job template or plan', - '是否需要进行执行方案同步?': 'Need to synchronize job plan ?', - 点击: 'Click', - '“立即前往”': '"Go now"', - '将进入关联的执行方案同步确认页面,点击': 'to enter the job plan synchronization confirmation page, ', - '“暂时不用”': '"Later"', - '结束本次操作并退出。': 'to end this operation and quit.', - 立即前往: 'Go now', - 暂时不用: 'Later', - 脚本内容检测失败: 'Script content detection failed', - 新建版本: 'New', - 确定: 'Submit', - '当前已有 [未上线] 版本,': '「STAND-BY」version is exists', - 返回列表: 'go back to list', - 前往编辑: 'edit now', - 选择载入版本: 'Choose version to load', - 调试: 'Debug', - 标签: 'Tags', - 搜索结果为空: 'Search empty', - 清空搜索: 'Clear search', - 全部脚本: 'All', - 未分类: 'Non-tag', - 编辑标签: 'Multi-edit', - 范围: 'Total', - 个脚本: 'scripts selected', - '勾选范围里,全部脚本使用': 'Applied in all selected scripts', - '勾选范围里,有': '', - 个脚本使用: ' of the selected scripts applied it.', - 新建标签: 'New', - 编辑标签成功: 'New tag has been created', - 已有_未上线_版本: '「STAND-BY」version is exists', - 新建版本成功: 'New script version has been created', - 标签名更新成功: 'Tag has been renamed', - '标签名称:': 'Tag name: ', - '标签描述:': 'Tag desc.: ', - }, -}; diff --git a/src/frontend/src/views/script-template/local.js b/src/frontend/src/views/script-template/local.js deleted file mode 100644 index d95436556a..0000000000 --- a/src/frontend/src/views/script-template/local.js +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -/* eslint-disable max-len */ -export default { - namespace: 'scriptTemplate', - message: { - 内置变量: 'Built-in vars', - 复制成功: 'Copied', - 保存: 'Save', - 重置: 'Reset', - 还原默认: 'Initialize', - 渲染预览: 'Preview', - 渲染结果: 'Render preview', - 有更新: 'Update needed', - 变量列表: 'Built-in variables', - 变量名称: 'Var. name', - 含义: 'Description', - 示例: 'Example', - 保存成功: 'The change has been saved.', - 重置成功: 'Reset successfully', - 还原默认成功: 'Initialize successfully', - '脚本模板仅对当前用户在新建脚本相关场景下有效(如快速执行脚本、新建脚本、作业脚本步骤)': 'Script template is only valid for the current user in scenarios related to new scripts (e.g. quick script execution, new scripts, new job script steps)', - }, -}; diff --git a/src/frontend/src/views/service-state/local.js b/src/frontend/src/views/service-state/local.js deleted file mode 100644 index 4d0a4851a1..0000000000 --- a/src/frontend/src/views/service-state/local.js +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -export default { - namespace: 'service', - message: { - 服务名: { - colHead: 'Service name', - }, - 版本号: { - colHead: 'Version', - label: 'Version', - }, - 实例状态: { - colHead: 'States', - }, - - 序号: { - colHead: 'SN.', - }, - 实例名: { - colHead: 'Node', - }, - 状态: { - colHead: 'State', - }, - 绑定IP: { - colHead: 'Bind address', - }, - 端口: { - colHead: 'Port', - }, - }, -}; diff --git a/src/frontend/src/views/tag-manage/local.js b/src/frontend/src/views/tag-manage/local.js deleted file mode 100644 index ea7c44063f..0000000000 --- a/src/frontend/src/views/tag-manage/local.js +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -export default { - namespace: 'tag', - message: { - 新建: 'New', - '搜索标签名, 创建人, 更新人...': 'Search by Tag name / Created by / ...', - 标签名: { - colHead: 'Tag name', - }, - 描述: { - colHead: 'Description', - }, - 关联作业量: { - colHead: 'Related job(s)', - }, - 关联脚本量: { - colHead: 'Related script(s)', - }, - 创建人: 'Created by', - 创建时间: 'Created at', - 更新人: { - colHead: 'Last modified by', - }, - 更新时间: 'Last modified at', - 操作: 'Actions', - 编辑: 'Edit', - '确认删除该标签?': 'Are you sure to delete it?', - '关联的作业、脚本,将同时移除本标签': 'This action will also remove the tag from those associated job templates and scripts', - 删除: 'Delete', - 删除成功: 'Tag has been deleted', - 范围: 'Target', - 作业: 'Job(s)', - 脚本: 'Script(s)', - 标签: 'Tags', - 新建标签: 'New', - 批量流转关联项: 'Convert', - 批量流转关联项成功: 'Convert successfully', - 范围不能为空: 'Target is required', - 提交: 'Submit', - }, -}; diff --git a/src/frontend/src/views/task-manage/local.js b/src/frontend/src/views/task-manage/local.js deleted file mode 100644 index 3f895256fa..0000000000 --- a/src/frontend/src/views/task-manage/local.js +++ /dev/null @@ -1,520 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -/* eslint-disable max-len */ -export default { - namespace: 'template', - message: { - 变量类型: 'Type', - 变量名称: 'Name', - 变量描述: 'Description', - 赋值可变: 'Value is changeable', - 必填: 'Is required', - 执行时必填: 'Is required', - 初始值: 'Default value', - 选择主机: 'Select hosts', - 清空: 'Clear', - 字符串: 'String', - 命名空间: 'Namespace', - 主机列表: 'Host', - 密文: 'Ciphertext', - 变量名仅支持大小写英文字母或下划线_必填: 'Start with lowercase or _ , followed by lowercase / numbers / _ or -', - '这里可以备注变量的用途、使用说明等信息_可选': 'Type the usage description of the variable here...', - '(必填变量必须设置初始值)': '(If required, default value must be set up.)', - 变量名称必填: 'Variable name is required', - '变量名称已存在,请重新输入': 'Name already exist, please try another one...', - 初始值必填: 'Default value is required', - '普通的字符串变量,可跨主机、跨步骤使用': 'Ordinary string variable, can be used across hosts and steps', - '同一主机对象的共享变量,无法跨主机使用': 'Shared variable of same host, but cannot be used across hosts', - '通过拓扑、动态分组或属性筛选的主机对象': 'Host variable, filtered by topology, dynamic group or host attr.', - '经过加密处理的变量,不会以明文形式外显': 'Encrypted variable, more safety, will not be displayed in Plaintext', - '在步骤参数或脚本内使用 ${变量名} 即可获取到变量值': 'Variable usage method ${xxxx}', - 请输入变量的初始值_可选: 'Set default value of this variable [optional]', - 变量的值在执行中可变: 'Means this variable\'s value is changeable during task running', - 查看全局变量: 'Variable Details', - 编辑全局变量: 'Edit Variable', - 新建全局变量: 'New Variable', - 提交: 'Submit', - 保存: 'Save', - '确定删除该全局变量?': 'Are you sure to delete it?', - '若该变量被步骤引用,请及时检查并更新步骤设置': 'If this variable is referenced by the step, please check and update the setting in time', - '推荐按步骤实际处理的场景行为来取名...': 'Name it as actual use scenario [Recommended]...', - 确认人: 'Confirm by', - 输入确认人: 'Type the username name...', - 通知方式: 'Notify by', - 选择全部: 'All', - 确认描述: 'Description', - 确认人必填: 'Confirm by is required', - 步骤人工确认: 'confirmation_step', - 上传限速: 'Upload speed limit', - 下载限速: 'Download speed limit', - 文件来源: 'Source', - 传输目标: 'Destination', - 步骤分发文件: 'file_transfer_step', - 您有未保存的源文件: 'Some source file not save yet', - 继续提交: 'Submit', - 去保存: 'Save', - 步骤执行脚本: 'script_step', - 步骤类型: 'Type', - 执行脚本: 'Script execution', - 分发文件: 'File transfer', - 人工确认: 'Confirmation', - 关闭: 'Close', - 全局变量: { - label: 'Global variables', - tab: 'Global Var.', - }, - 已选择: 'Seleted', - 个本地文件: 'Local file', - 个服务器文件: 'Remote file', - 个文件源文件: 'Source file', - 文件路径: 'Filepath', - 服务器列表: 'Host', - 'Agent 状态': 'Agent status', - 服务器账号: 'Account', - '确认人:': 'Confirm by: ', - '通知方式:': 'Notify by: ', - '确认描述:': 'Description: ', - '超时时长:': 'Timeout: ', - '错误处理:': 'Error ignore: ', - '上传限速:': 'Upload speed limit: ', - '下载限速:': 'Download speed limit: ', - '文件来源:': 'Source: ', - '目标路径:': 'Dst. path: ', - '重名处理:': 'Duplication: ', - '执行账号:': 'Account: ', - '执行目标:': 'Host: ', - '脚本来源:': 'From: ', - '脚本引用:': 'Quote from: ', - 去更新: 'Update now', - '脚本内容:': 'Contents: ', - '脚本参数:': 'Params: ', - 执行目标: 'Host', - '步骤类型:': 'Type: ', - '步骤名称:': 'Name: ', - 查看作业步骤: 'Step Details', - 新建作业步骤: 'New Step', - 编辑作业步骤: 'Edit Step', - '确定删除该作业步骤?': 'Are you sure to delete this step?', - '调试方案的特殊性:不可删除、始终与作业模板同步、不能被API调用、只能在作业平台使用': 'Debug Mode: Cannot be deleted, always synchronized with the template, cannot be called by API, and can only be used on job WebUI.', - 执行步骤: 'Steps', - 取消: 'Cancel', - 执行步骤必填: 'Select at least one step', - 操作成功: 'Save successfully', - 执行成功: 'Launch successfully', - '确认离开当前页?': 'Are you sure to leave now?', - 离开将会导致未保存信息丢失: 'Your changes will be lost if you close without saving.', - '执行步骤:': 'Steps: ', - 去执行: 'Launch', - 编辑: 'Edit', - '确认执行?': 'Are you sure to launch now?', - '未设置全局变量,点击确认将直接执行。': 'Global variable is not set, if confirmed will launch directly.', - 全部作业: 'All', - 全部: 'All', - 标签名不可为空: 'Tag name is required', - '标签名已存在,请重新输入': 'Tag name already exist, please try another one...', - 文件加密密码: 'Encrypte code', - 文件有效期: 'Valid of days', - 请输入: 'Please type ...', - 天: 'Day', - 月: 'Month', - 年: 'Year', - '由 6-8 位字符构成': 'Composed of at least 6 to 8 letters', - '由英文字母、数字和特殊符号~!@#$%^()_-+=构成': 'Composed of letters, numbers and symbol(~!@#$%^()_-+=)', - 永久: 'PERM.', - 自定义: 'Custom', - '1 天': '1 Day', - '3 天': '3 Days', - '7 天': '7 Days', - '支持扩展名: job.rar.zip': 'Extensions: .rar / .zip', - 作业模板名称: 'Template name', - '作业模板 ID': 'Template ID', - 状态: 'Status', - 新建: 'New', - 导入: 'Import', - 批量: 'Multi.', - 导出: 'Export', - '输入 作业模板名、标签名 或 更新人 进行搜索...': 'Search by Template name / Tag / Last modified by...', - 我的作业: 'Mine', - 更新时间: 'Last modified at', - 操作: 'Actions', - 调试: 'Debug', - '确定删除该作业?': 'Are you sure to delete it?', - '注意!模板下关联的所有执行方案也将被清除': 'Caution: Those plans associated with the template will also be deleted.', - 删除: 'Delete', - 导出设置: 'Settings', - 作业模板名: 'Template name', - 标签名: 'Tags', - 删除模板成功: 'Template has been deleted.', - 收藏成功: 'Favorite added', - 取消收藏成功: 'Favorite canceled', - 新建执行方案: 'New Plan', - 方案名称: 'Name', - '推荐按照该执行方案提供的使用场景来取名...': 'Name it as actual use scenario [recommended]...', - 重置: 'Reset', - 方案名称必填: 'Plan name is required', - '方案名称已存在,请重新输入': 'Plan name already exist, please try another one...', - 变量值: 'Value', - 去同步: 'Sync', - '确定删除该执行方案?': 'Are you sure to delete it?', - '若已设置了定时任务,需要先删除才能操作': 'If the plan is related to cron, you need to delete it before you can operate.', - 关联了定时任务: 'Related to cron', - 未同步: 'Not synchronized', - 执行: 'Launch', - 无差异: 'No difference', - 显示差异: 'Show difference', - 个节点: 'node(s)', - 台主机: 'host(s)', - 个主机: 'host(s)', - 个分组: 'group(s)', - 查看脚本: 'View Details', - 同步前: 'Before synchronization', - 同步后: 'After synchronization', - '变量类型:': 'Type: ', - '变量名称:': 'Name: ', - '变量值:': 'Value: ', - '初始值:': 'Default: ', - '变量描述:': 'Description: ', - '赋值可变:': 'Value is changeable: ', - '执行时必填:': 'Is required: ', - '同步执行方案需要重新确认定时任务的全局变量,不使用的定时任务可以直接停用。': 'The synchronous operation needs to reconfirm the global variables of the related crons.', - 的全局变量: 'Variables confirm', - 已停用: 'OFF', - 已确认: 'DONE', - 待确认: 'AWAIT', - 无关联的全局变量: 'There\'s no related global variables.', - 已直接确认: 'DONE', - 确认: 'Confirm', - 定时任务确认成功: 'Cron has been confirmed.', - 暂无关联的定时任务: 'There\'s no related cron task.', - 下一步: 'Next', - 上一步: 'Previous', - '是否确认同步?': 'Are you sure to sync?', - 关联定时任务的调整将立即生效: 'The adjustment of the associated crons will update immediately.', - 立即同步: 'Sync Now', - 有定时任务还未确认: 'Some cron not confirm yet.', - 执行方案同步失败: 'Sync Failed', - 同步成功: 'Synchronized successfully', - 定时任务更新失败: 'Crons update failed', - '模板名称:': 'Name: ', - '场景标签:': 'Tags: ', - '模板描述:': 'Desc: ', - '全局变量:': 'Global variable: ', - '作业步骤:': 'Job step: ', - 选择方案: 'Plans', - 模板名称必填: 'Template name is required', - '模板名称已存在,请重新输入': 'Template name is already exist, please try another one...', - '确定删除该作业模板?': 'Are you sure to delete it?', - '模板下关联的所有执行方案也将被删除,请谨慎操作!': 'Caution! related job plans will also be deleted.', - 收起更多设置: 'Hide details', - 展开更多设置: 'More details', - '对作业模板的修改不会立即自动更新执行方案,需要由用户手动触发': 'The change of the Job Template will not directly affect the Plans, it needs to be synchronized by yourself.', - 输入作业模板名称: 'Type the name of your job template...', - 标签对资源的分类管理有很大帮助: 'Select or type any tag you want...', - 模板描述: 'Description', - '填写该模板的功能介绍等详细描述...': 'Type the usage scenario description of this job template here...', - 作业步骤必填: 'Job steps is required', - 目标服务器: 'Hosts', - 服务器文件: 'Remote file', - 步骤: 'Step', - 中: '', - 变量: 'Variable', - '变量被删除,请重新设置': 'Variable has been deleted, try to reset another one.', - 去设置: 'Go To', - '还差一步_设置执行方案_,即可执行作业': 'You can run the Job after completing "set job plan"', - 设置方案: 'Set job plan', - 返回作业列表: 'Back to list', - 作业创建成功: 'Successful', - 编辑保存成功: 'Successful', - '可以通过 “立即同步” 入口前往更新所有执行方案': 'Click "Sync Now" to update all Plans of this job template', - 继续编辑: 'Keep Editing', - 查看方案: 'View Plans', - '模板名已存在,请重新输入': 'Template name is already exist, please try another one...', - 未分类: 'Non-Tag', - 待更新: 'Pending Update', - '传输模式:': 'Mode: ', - 差异总览: 'Overview of differences', - 差异明细: 'Difference Details', - 确认定时任务: 'Crons Confirmation', - 全局变量的初始值不会同步到执行方案: 'Global variable\'s default value will not sync to job plan', - 模板名称: 'Name', - 数组: 'Array', - 数组类型: 'Array type', - 关联数组: 'Associative', - 索引数组: 'Indexed', - 'Array 格式的字符串,支持关联或索引数组': 'An array is a data structure that contains a group of elements', - 标签名更新成功: 'Tag name has been modified', - '请输入标签名...': 'Please input tag name...', - 基本信息: 'Information', - 克隆: 'Clone', - 克隆步骤: 'Clone step', - 新建步骤: 'New step', - 编辑步骤: 'Edit step', - 删除步骤: 'Delete step', - '确定删除该步骤?': 'Are you sure to delete it?', - '删除之后不可恢复,请谨慎操作!': 'Caution! it cannot be restored after deletion.', - 执行方案: { - label: 'Plans', - colHead: 'Plan name', - }, - 作业步骤: { - label: 'Steps', - add: 'New steps', - }, - 场景标签: { - label: 'Tags', - colHead: 'Tags', - }, - 更新人: { - label: 'Last modified by', - colHead: 'Last modified by', - }, - 版本对比: 'Diff', - '模板中包含密文变量,请重新设置值': 'Template contains ciphertext variable, please reset the value', - '“密文”类型的变量经过特殊加密处理,为避免信息泄露,克隆后初始值不会还原,需用户重新设置。': 'Variable of the "Ciphertext" type are specially encrypted. To protect information security, the default value will not be restored after cloning and need to be reset by yourself.', - 我知道了: 'Got it', - '仅作用于创建执行方案时的初始变量值,后续更改不会同步到执行方案': '', - 创建人: 'Created by', - 创建时间: 'Created at', - 共有: '', - 共: '', - '个步骤,': 'steps total, ', - 定时: 'Crons', - 上一次任务还未完成: 'Job export not finished yet', - '您上一次的任务还在后台运行中,请先等待完成后再发起新的任务。': 'Your last export is still running, please wait for it to complete before launching a new task.', - 查看: 'Details', - 返回: 'Back', - 脚本详情: 'Script details', - 当前已选中: '', - 个: { - select: 'selected.', - total: 'totals', - }, - 执行方案名称: 'Job plan name', - 作业模板: 'Job template', - 关联定时任务: 'Related cron(s)', - 批量同步: 'Sync', - 我的方案: 'Mine', - 全部确认: 'All confirm', - 查看差异: 'Diff', - 所属作业模板: 'Job template', - 请选择作业模板: 'Please choose job template', - 选择要调试的步骤: 'Choose your debug steps', - 取消全选: 'Unselect all', - 全选: 'Select all', - 另存为: 'Save as', - 选择执行步骤: 'Steps of the plan', - ID只支持数字: 'Id is only allow numbers', - '输入 ID、执行方案名、作业模板名、更新人 或 创建人 进行搜索...': 'Search by Id / Plan Name / Template Name / Created by / ...', - 同步执行方案: 'Job plan sync from template', - 个已就绪: 'Ready', - 个未就绪: 'Not ready', - 个无需处理: 'Already', - 同步失败: 'Failed', - 重试: 'Retry', - '同步请求失败,请重试': 'Sync failed, please try later', - 没有关联定时任务: 'No cron related', - 另存为执行方案: 'Save as new job plan', - 请输入执行方案名称: 'Please type the new plan name', - 确定: 'Submit', - 定时执行: 'Cron', - 变量值为空: 'Empty', - 另存执行方案成功: 'New job plan has been created', - 返回继续调试: 'Keep Debug', - 立即前往查看: 'More Detail', - 已同步至最新版: 'All job plan(s) is latest now', - '项执行方案的确认出现问题,请逐个确认': 'Job plan(s) confirm failed, please make sure its ready before synchronize', - 定时任务中必填变量未赋值: 'The required fields in the cron is not assigned', - 所有方案均已同步至最新版: 'The job plan(s) above is latest already', - 新增: 'New', - 无需同步: 'Latest', - '没有定时任务管理权限,请手动确认': 'No permission, please apply it first', - '自动确认定时任务失败,请手动确认': 'Cron auto confirm failed, please try again', - 待补全: 'Incomplete', - '请将「待补全」的步骤信息完善后提交重试': 'Please complete the "incomplete" step and try again', - 请选择要同步的执行方案: 'No job plan selected yet', - 已选结果中有执行方案中不需要同步: 'Some of the selected job plans is already latest', - 已选结果中有执行方案中没有权限同步: 'Some of the selected job plans you do not have permission', - '是否结束当前任务?': 'Are you sure to leave now ?', - 你可以选择保留或结束当前任务: 'Do you want to keep or end this task', - '(选择保留,后续可以从列表页重新进入)': '(You can re-entry from job page if you chosen to keep the task.)', - 保留: 'KEEP', - 结束: 'END', - '全局变量的 “初始值” 不会被同步到执行方案': 'Default value will not be sync to job plan', - '1. 作业内文件分发步骤中带有“本地文件”的会一并导出,没有大小限制!但导入时会受到目标环境的文件上传大小限制,请知悉;': '1. The "Local files" in the Job will be also exported, and there is no size limit! however, when importing, it will be limited by the file upload size of the target environment, please be aware;', - '2. 作业内引用的脚本会保留其原始ID,但如果在导入时目标环境找不到对应ID的脚本,将自动转换为「手工录入」的方式导入;': '2. The scripts referenced in the job will retain script ID, but if the target environment cannot find the same script ID when importing, it will be automatically converted to "Custom" mode to import;', - '3. 由于导出和导入环境的服务器 IP 地址、人工确认的用户名、通知渠道可能存在差异,请在后续导入后修改对应的信息,以免造成作业不可用的问题;': '3. Since there may be differences IP address, username, and notification channel between export and import environment, please modify the information of specified steps after job imported;', - '4. 为了保证步骤信息一致性,作业中使用的「执行账号」会以账号名称导出,并在导入时在目标环境中挑选其中一个相同名称的账号进行保存;如果没有相同的账号名存在,请记得导入后及时更改步骤信息,以免造成作业不可用的问题;': '4. "Execution Account" will be exported with the name(not alias name), please make sure the target environment has the same account during import, so as not to cause the problem of unavailability of the job;', - '5. 如作业的脚本步骤中使用了「公共函数」,请确保导入的环境中也同样存在对应的函数,以免造成脚本执行逻辑错误;': '5. If the "Public Function" is used in the script step, please ensure that the corresponding function also exists in the imported environment;', - '6. 导出的作业模板会保存其原始ID,如需在导入的环境中完全保留作业ID,请在导入作业的流程中按指引进行设置;': '6. The exported job template will completely retain the ID, If you need to retain it in the imported environment, please follow the instructions of the import settings;', - '7. 因蓝鲸权限中心的规则中对实例的唯一标识是ID,如在导入时选择保留作业ID,请根据需要选择是否回收原有的权限策略;': '7. Because the unique identification of the instance in the rules of the IAM is the ID, if you choose to keep the job ID when importing, please mind the existing data of the imported environment;', - '8. 在导入时选择保留作业原始ID的前提下,请确保导入的环境中不存在已配置了相同作业ID的定时任务,以免造成影响;': '8. If you choose to keep the job ID when importing, please make sure that there is no Cron task with the same job ID configured in the import environment;', - '9. 若导入的作业模板或执行方案名称与目标环境的作业存在冲突的情况,会根据导入时设置的"重名后缀"自动在作业名称后面追加命名。': '9. When the imported job template or plan name is duplicate, the "Name Suffix" will be automatically add to the imported job name.', - 用户须知: { - header: 'Notice', - title: '', - }, - 选择要导出的作业执行方案: 'Select plans to export', - 新窗口打开该执行方案: 'Open in new tab', - 暂无执行方案: 'No Job plan available', - 压缩包名: 'Package Name', - '压缩包名仅支持大小写英文、数字、- 或 _': 'Using uppercase / lowercase letter, numbers, - or _', - 密文变量值处理: 'Ciphertext variable', - 保存为空值: 'Replace with empty value', - 保存真实值: 'Using original value', - 文件加密: 'Encrypt', - 是: 'Yes', - 否: 'No', - 密码设置: 'Password', - '请设置6-20个字符密码': 'Please type 6 to 20 characters password', - 二次确认: 'Password Confirm', - '请输入同样的密码,以确认密码准确': 'Type the same password for confirm', - '请输入整数,不可超过365': '', - '长度6-20个字符': 'Length limit in 6 to 20 characters', - '必须包含英文字母、数字和特殊符号': 'Must include three of the following mix of character types: letters, numbers and non-alphanumeric symbols', - '密码长度为6-20个字符,必须包含英文字母、数字和特殊符号': 'Must include three of the following mix of character types: letters, numbers and non-alphanumeric symbols, for example: admin@2020', - 两次输入的密码不一致: 'The passwords are not equal.', - 密码必填: 'Password field is required', - 确认密码必填: 'Password confirm field is required', - 文件有效期必填: 'Valid of days', - 文件有效期须大于1或不超过365: 'Valid of days field is required', - 压缩包名必填: 'Package name field is required', - 密文变量值处理必填: 'Ciphertext variable field is required', - 文件加密必填: 'Encrypt field is required', - '作业导出成功!请及时保存并妥善保管。': 'Export successfully! please save it immediately.', - '如果页面未出现提示保存窗口,请点击': 'If the page does not prompt to save automatically, please click', - 重新下载文件: 'Download', - '正在导出作业,请稍候': 'Job exporting, please wait a sec', - 完成: 'Close', - 下载文件成功: 'Download successfully', - 文件包上传: 'Upload', - 导入内容确认: 'Confirmation', - 导入设置: 'Settings', - 开始导入: 'Process', - 仅支持上传来自作业平台专属导出的压缩包: 'File upload allow only .jobexport', - 上传成功: 'File upload successfully', - 上传失败: 'File upload failed', - 文件包解密确认: 'Password of the package', - 文件包密码: 'Password', - '请输入上传的文件包密码,完成后点提交验证': 'Please type the correct password to decrypt the package', - 请输入文件包密码: 'Password field is required', - 输入密码: 'Enter password', - 重新输入密码: 'Try again', - 请点: 'Click', - 文件类型不支持: 'File type is not allowed', - 上传任务已取消: 'Upload process has been canceled', - '导入任务已取消!需要重试请点击': 'Upload process has been canceled, click here to retry', - 不导入: 'Cancel', - 选择要导入的作业执行方案: 'Select plans to import', - 导入内容不能为空: 'Import job is empty', - 重名后缀: 'Dupl. suffix', - 作业ID处理: 'Job ID.', - '不保留,全部按自增处理': 'Auto increment', - '保留,ID 冲突时自增处理': 'Keep it, auto increment if exists', - '保留,ID 冲突时不导入': 'Keep it, skip if exists', - 请输入重名后缀: 'Dupl. suffix field is required', - '作业导入完成(全部成功),请及时检查确认。': 'Job import completed (all successfully), please check and confirm promptly.', - '作业全部导入失败,请根据日志提示调整后重试。': 'Jobs import all failed, please adjust according to the log prompt and try again.', - '正在导入作业,请稍候': 'Job importing, please wait a sec', - 查看详情: 'Open in new tab', - 复制日志: 'Copy logs', - 有一项导入任务正在进行中: '1 import task is processing', - 有一项导出任务正在进行中: '1 export task is processing', - 将覆盖其它条件: 'override other conditions', - 引用脚本的作业模板: 'List of related job template', - 引用脚本的执行方案: 'List of related job plan', - 导出内容确认: 'Confirmation', - 开始导出: 'Process', - 你还未选择导出作业: 'Job not selected yet', - 同步方案: 'Sync plans', - 返回查看: 'View job', - 该模板下面没有执行方案: 'No job plan found', - 该模板下面的所有执行方案已是最新版: 'All job plans are already latest', - 待同步: 'Plans need to be sync.', - '服务器文件-服务器列表': 'Remote file - hosts', - 立即查看: 'View Job', - 本地源文件上传未完成: 'Local file is still uploading...', - 本地源文件上传失败: 'Local file upload failed', - 去处理: 'To solve', - 源文件可能出现同名: 'Source files may have same filename', - '多文件源传输场景下容易出现同名文件覆盖的问题,你可以在目标路径中使用_源服务器IP_的变量来尽可能规避风险。': 'Files may have the risk of overwriting with the same name in multi-file source, using built-in variable like [FILESRCIP] in the dst. path to avoid risks as much as possible.', - '好的,我调整一下': 'OOPS... ADJUST NOW', - '已知悉,确定执行': 'I\'m SURE, KEEP GOING', - 添加服务器: 'Add hosts', - '确定立即批量更新?': 'Are you sure want to update now ?', - '请注意!变量值填框留空,即代表设置目标变量为空值。': 'Caution! If the input is blank, means the variable value is also empty.', - 批量编辑变量值: 'Multi-edit', - 批量编辑变量: 'Multi-edit', - 请选择要编辑的执行方案: 'Please specifi job plan first', - 已选结果中有执行方案中没有权限编辑: 'Some you do not have permission in the selected results', - 原始值: 'Old value', - 更新值: 'New value', - 编辑成功: 'Edit successfully', - 暂无全局变量: 'No global variable found', - '所选执行方案,无变量值可编辑': 'No global variable found', - 更新范围: 'Selected', - 已选: '', - '个执行方案,': 'Job plan(s) ', - 来自: 'from', - 个作业模板: 'Job template(s)', - 选择变量: 'Global var.(s)', - 编辑变量: 'Edit', - 更新预览: 'Preview', - 移除无效主机: 'Remove invd.', - 批量编辑: 'Multi-edit', - 源和目标服务器相同: '', - '检测到文件传输源和目标服务器是同一批,若是单台建议使用本地 cp 方式效率会更高,请问你是否确定参数无误?': 'The source and target hosts for file transfer are the same batch. If it is a single local transfers, using the "cp" command will be more efficient. Are you sure the parameters provided are correct?', - '是的,确定无误': 'I\'m sure, keep going', - 变量使用指引: 'How to use global var', - 魔法变量: 'Magic var.', - 使用指引: 'User guide', - 标签: 'Tags', - 搜索结果为空: 'Search empty', - 清空搜索: 'Clear search', - 编辑标签: 'Multi-edit', - 范围: 'Total', - 个作业: 'templates selected', - '勾选范围里,全部作业使用': 'Applied in all selected templates', - '勾选范围里,有': '', - 个作业使用: ' of the selected templates applied it.', - 新建标签: 'New Tag', - 编辑标签成功: 'New tag has been created', - 未引用: 'Unquoted', - 执行方案名称编辑成功: 'Plan name has been modified', - 暂无引用的变量: 'There are no variables quoted by this job plan', - 有: '', - 个定时任务: ' Cron(s) related', - 点击前往查看: 'Click to show more', - 请至少勾选一个执行步骤: 'At least one step need to be select', - 新建模板: 'New template', - '标签名称:': 'Tag name: ', - '标签描述:': 'Tag desc.: ', - 未发现无效主机: 'No invalid host found', - '作业导入任务出错,原因详见下列日志,请稍后再试。': 'Import task encountered an error. please refer to the log details and try again later.', - '作业导入完成(部分失败),请根据日志提示调整后重新选择导入。': 'Job import completed (some failed), please adjust according to the log prompt and re-select to import again.', - 填入上一次执行参数: 'Load in previous execution parameters', - 复用当前登录用户的最近一次通过页面执行的入参: 'Reuse the parameters of current user\'s last execution', - }, -}; diff --git a/src/frontend/src/views/ticket-manage/local.js b/src/frontend/src/views/ticket-manage/local.js deleted file mode 100644 index 2c51d35927..0000000000 --- a/src/frontend/src/views/ticket-manage/local.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -export default { - namespace: 'ticket', - message: { - 新建: 'New', - 名称: 'Name', - 创建人: 'Created by', - '搜索 ID、名称、描述、创建人、更新人...': 'Search by Name / Description / Created by / Last modified By...', - 凭证ID: 'ID', - 凭证名称: 'Name', - 类型: { - label: 'Type', - colHead: 'Type', - }, - 被引用: { - label: 'Related', - colHead: 'Related', - }, - 描述: 'Description', - 创建时间: 'Created at', - 更新人: 'Last modified by', - 更新时间: 'Last modified at', - 操作: 'Actions', - 删除: 'Delete', - 用户名: 'Username', - 密码: 'Password', - AppId: 'AppID', - SecretKey: 'SecretKey', - 新建凭证: 'New Ticket', - 编辑凭证: 'Editing Ticket', - 单一密码: 'Password only', - '用户名+密码': 'Username + Password', - 单一SecretKey: 'SecretKey only', - 'AppID+SecretKey': 'AppID + SecretKey', - 提交: 'Submit', - 取消: 'Cancel', - 编辑: 'Edit', - 凭证名称必填: 'Ticket name is required', - 用户名必填: 'Username is required', - 密码必填: 'Password is required', - AppID必填: 'AppID is required', - SecretKey必填: 'SecretKey is required', - 删除成功: 'Delete successfully', - 创建成功: 'Create successfully', - 更新成功: 'Update successfully', - '确定删除该凭证?': 'Are you sure to delete it?', - '正在被文件源使用的凭证无法删除,如需删除请先解除引用关系。': 'If the ticket is related to some file source, you need to remove it first.', - 文件源别名: 'File source alias', - '搜索文件源别名...': 'Search file source...', - 文件源标识: 'ID', - 状态: 'States', - 保存: 'Save', - '接入点异常,暂时不可用': 'All AP are abnormal, file-source temporarily unavailable.', - }, -}; diff --git a/src/frontend/src/views/white-ip/local.js b/src/frontend/src/views/white-ip/local.js deleted file mode 100644 index 64636e466b..0000000000 --- a/src/frontend/src/views/white-ip/local.js +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. - * - * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. - * - * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. - * - * License for BK-JOB蓝鲸智云作业平台: - * - * --------------------------------------------------- - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and - * to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of - * the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - * IN THE SOFTWARE. -*/ - -export default { - namespace: 'whiteIP', - message: { - 新建: 'New', - '搜索IP,生效范围,目标业务': 'Search By IP / Acting On / Business ...', - 创建人: 'Created by', - 创建时间: 'Created at', - 编辑: 'Edit', - '确定删除该IP白名单?': 'Are you sure to delete it?', - '删除后不可恢复,请谨慎操作!': 'Caution! It cannot be restored after deletion.', - 编辑IP白名单: 'Whitelist editing', - 新建IP白名单: 'New whitelist', - 提交: 'Submit', - 管控区域: 'BK-Net', - '输入IP,以“回车”分隔': 'Separate with new line...', - 备注: { - label: 'Description', - colHead: 'Description', - }, - IP: 'IP', - IP必填: 'IP address field is required', - 备注必填: 'Description field is required', - 生效范围必填: 'Acting on is required', - 新建成功: 'New whitelist has been created.', - 全业务: 'All', - 更新人: 'Last modified by', - 更新时间: 'Last modified at', - 目标业务: { - label: 'Business', - colHead: 'Business', - }, - 生效范围: { - label: 'Action on', - colHead: 'Action on', - }, - 操作: 'Action', - 删除: 'Delete', - 保存: 'Save', - 添加服务器: 'Add hosts', - 'IP 预览': 'IP preview', - 关闭: 'Close', - 台主机: 'host(s)', - 删除成功: 'Remove successfully.', - 编辑成功: 'Edit successfully.', - }, -};