From 577f8465451836b156b2bab2e99a38ada1e34814 Mon Sep 17 00:00:00 2001 From: HaoZhen Liu Date: Mon, 26 Aug 2024 15:09:03 +0800 Subject: [PATCH] Improve translation --- .../common/src/locales/scan/en-GB.json | 56 ++++++++++++------- .../common/src/locales/scan/zh-CN.json | 33 ++++++++--- 2 files changed, 60 insertions(+), 29 deletions(-) diff --git a/frontend/packages/common/src/locales/scan/en-GB.json b/frontend/packages/common/src/locales/scan/en-GB.json index ca40927a..661f8597 100644 --- a/frontend/packages/common/src/locales/scan/en-GB.json +++ b/frontend/packages/common/src/locales/scan/en-GB.json @@ -24,7 +24,7 @@ "K6535ff9c": "Account Settings", "Kf15499b4": "Log Out", "Kabbd6e6": "Documentation", - "K1196b104": "APIPark - Enterprise API Open Platform", + "K1196b104": "APIPark - API Open Platform", "K1f42de3": "HTTP Status Codes", "K4770dff4": "System Status Codes", "Kf89e58f1": "Description", @@ -48,7 +48,7 @@ "K530f5951": "View", "Kecbd7449": "Delete", "K1cbe2507": "Confirm", - "K48325b6": "Search(0) Name", + "K48325b6": "Search (0)", "Ka1d885c1": "Add", "Kad207008": "Edit", "Ke4b7722": "简体中文", @@ -65,10 +65,10 @@ "K1ab0ae5b": "Application Reason", "K53c00c3c": "Review Comments", "K7edf331d": "Time", - "Kef45b208": "Last 1 Hour", - "K9dbf22b8": "Last 24 Hours", - "K820fbfab": "Last 3 Days", - "Kd6d28fc": "Last 7 Days", + "Kef45b208": "1 Hour", + "K9dbf22b8": "24 Hours", + "K820fbfab": "3 Days", + "Kd6d28fc": "7 Days", "K3d7465f7": "File Logs", "Kc87167a0": "HTTP Logs", "K80ef19d3": "Kafka File Logs", @@ -96,7 +96,7 @@ "Kee74f5b4": "Add Sub-Parameter", "Kc7d3106c": "Add Row Below", "Keaabd222": "Tag", - "K8ad2c50e": "Parameter Name", + "K8ad2c50e": "Parameter Key", "K67d68dd1": "Type", "K29245f47": "Required", "Ke32cbcd3": "Example", @@ -134,8 +134,8 @@ "K43934f6d": "Search", "K741decac": "Replace", "Kd507abff": "Confirm", - "Kca2d1624": "The (0) must not be negative.", - "K792b255a": "The (0) must be greater than or equal to the (1).", + "Kca2d1624": "(0) cannot be negative.", + "K792b255a": "(0) must be greater than or equal to (1).", "Kf0bed26d": "Value Enumeration", "K633a03ca": "Enumeration", "Kd2766caf": "Minimum Length", @@ -174,7 +174,7 @@ "Kc9315fa1": "Rejected", "K3fbe7511": "Publishing Error", "Ke64e695c": "Publishing", - "K17f93984": "API Name", + "K17f93984": "API", "K1365fe45": "Request Method", "Kc380335f": "Path", "K4ee62e8": "This API Lacks (0)(1)(2), Please Provide", @@ -251,7 +251,7 @@ "Kfa744afd": "Number of Clusters", "K23a3bd72": "Error", "Ke039b9b5": "Normal", - "K5c123bad": "Role Name", + "K5c123bad": "Role", "K76036e25": "HTTP Request Header", "K8d4cbf50": "Cookie", "K44607e3f": "Exact Match", @@ -360,9 +360,9 @@ "K480045ce": "Version (0)-(1)", "Kadee8e49": "Log Configuration", "K3453272": "APIPark provides detailed API call logs to help enterprises monitor, analyze, and audit API operation statuses.", - "K33c76dbc": "Department Name", + "K33c76dbc": "Department", "K84829ca9": "Parent Department ID", - "K4d7fc74b": "Sub-department Name", + "K4d7fc74b": "Sub-department", "Ka16e6c44": "Inactive or Disabled Members Cannot Be Added to Departments", "Ked03ba97": "Please Select the Department to Which the Member Should Be Added", "K5e237e06": "Name", @@ -403,18 +403,18 @@ "K6eac768d": "Add Role", "Kb9c2cf02": "Team-Level Role", "Kb4ceecea": "Add Subcategory", - "K67479e88": "Modify Category Name", + "K67479e88": "Modify Category", "K2bc75e2c": "Add Category", "Kab4aab44": "Rename Category", "K8e0e6977": "Set Service Categories to Facilitate Quick API Discovery by Team Members.", - "Ke595a20a": "Category Name", + "Ke595a20a": "Category", "K9679728f": "Parent Category ID", - "K9b2d08fd": "Subcategory Name", + "K9b2d08fd": "Subcategory", "Kf14e76e5": "Replica", "K2e050340": "API Basic Information", "K90f3c02f": "Forwarding Rule Settings", "K6ea8d549": "Edit Documentation", - "Kff5c18ac": "Last Editor", + "Kff5c18ac": "Editor", "K2eb99415": "Forwarding Rules", "Ke93388fd": "Edit API", "K1b1ae3b0": "Copy API", @@ -443,8 +443,8 @@ "K72b21be5": "Set the Category Where the Service Is Displayed in the Service Marketplace", "Kde6bae17": "Delete Service", "K885ea699": "This Action Is Irreversible, Please Proceed with Caution!", - "K617f34f1": "Last Updated By", - "K6ebca204": "Last Update Time", + "K617f34f1": "Updated By", + "K6ebca204": "Update Time", "K39ab0358": "Add Subscriber", "K2d6658ed": "Add Service", "K7b8f623f": "Enter Name, ID, Associated Team, Person in Charge to Search Service", @@ -598,5 +598,21 @@ "Kcdf76005": "Open API", "Ke2601944": "Invoke Service", "K8504bca8": "Zoom In", - "K693c1b41": "Zoom Out" + "K693c1b41": "Zoom Out", + "Kfd50704d": "No (0) permission, please contact the administrator.", + "K48322168": "Unassigned", + "K98f247f9": "System Admin", + "K9c8a571f": "Team Admin", + "K929b485b": "Operations Admin", + "K82cc5ec2": "Regular Member", + "Ke41d7451": "Read-Only Member", + "Kf99e8b66": "Service Admin", + "Kda8db57a": "Service Developer", + "K216a1ac7": "Application Developer", + "K27924db": "Application Admin", + "K8dc5c723": "Driver Name", + "K9919285b": "Service Type", + "Kf14d159b": "Times", + "K753e8aeb": "TPS", + "K396e56ab": "Payload" } \ No newline at end of file diff --git a/frontend/packages/common/src/locales/scan/zh-CN.json b/frontend/packages/common/src/locales/scan/zh-CN.json index dc722f82..ff7d3c2c 100644 --- a/frontend/packages/common/src/locales/scan/zh-CN.json +++ b/frontend/packages/common/src/locales/scan/zh-CN.json @@ -24,7 +24,7 @@ "K6535ff9c": "账号设置", "Kf15499b4": "退出登录", "Kabbd6e6": "文档", - "K1196b104": "APIPark - 企业API数据开放平台", + "K1196b104": "APIPark - API 开放平台", "K1f42de3": "HTTP 状态码", "K4770dff4": "系统状态码", "Kf89e58f1": "描述", @@ -113,7 +113,7 @@ "K7d465645": "绑定上游服务", "K63a6404d": "重试时间", "K47740727": "转发上游请求头", - "K2b605d42": "More", + "K2b605d42": "更多", "K1df9fbd5": "导入", "K5e85df18": "导入格式", "K9eaf7885": "全量替换", @@ -134,8 +134,8 @@ "K43934f6d": "搜索", "K741decac": "替代", "Kd507abff": "确定", - "Kca2d1624": "The (0) must not be negative.", - "K792b255a": "The (0) must be greater than or equal to the (1).", + "Kca2d1624": "(0) 不能为负数", + "K792b255a": "(0) 必须大于或等于 (1)", "Kf0bed26d": "值枚举", "K633a03ca": "枚举", "Kd2766caf": "最小长度", @@ -414,7 +414,7 @@ "K2e050340": "API 基础信息", "K90f3c02f": "转发规则设置", "K6ea8d549": "编辑文档", - "Kff5c18ac": "最后编辑人", + "Kff5c18ac": "编辑人", "K2eb99415": "转发规则", "Ke93388fd": "编辑 API", "K1b1ae3b0": "复制 API", @@ -443,8 +443,8 @@ "K72b21be5": "设置服务展示在服务市场中的哪个分类下", "Kde6bae17": "删除服务", "K885ea699": "删除操作不可恢复,请谨慎操作!", - "K617f34f1": "最近一次更新者", - "K6ebca204": "最近一次更新时间", + "K617f34f1": "更新者", + "K6ebca204": "更新时间", "K39ab0358": "新增订阅方", "K2d6658ed": "添加服务", "K7b8f623f": "输入名称、ID、所属团队、负责人查找服务", @@ -550,7 +550,7 @@ "Kd8a7a689": "搜索或选择应用", "K4b15d6f5": "申请理由", "Kb71b5a13": "鉴权类型", - "K4d1465ee": "Iss", + "K4d1465ee": "ISS", "K5dcd7ed8": "签名算法", "K5b0eedd3": "Secret", "K44f4ffe1": "RSA 公钥", @@ -598,5 +598,20 @@ "Kcdf76005": "Open API", "Ke2601944": "调用服务", "K8504bca8": "放大", - "K693c1b41": "缩小" + "K693c1b41": "缩小", + "Kfd50704d": "暂无(0)权限,请联系管理员分配。", + "K48322168": "未分配", + "K98f247f9": "超级管理员", + "K9c8a571f": "团队管理员", + "K929b485b": "运维管理员", + "K82cc5ec2": "普通成员", + "Ke41d7451": "只读成员", + "Kf99e8b66": "服务管理员", + "Kda8db57a": "服务开发者", + "K216a1ac7": "应用开发者", + "K27924db": "应用管理员", + "K8dc5c723": "驱动名称", + "Kf14d159b": "次", + "K753e8aeb": "次/秒", + "K396e56ab": "报文量" } \ No newline at end of file