-
Notifications
You must be signed in to change notification settings - Fork 301
[i18n] 添加了英文翻译和编辑器,可更高效地编辑本地语言 #973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
project.inlang/settings.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "$schema": "https://inlang.com/schema/project-settings", | ||
| "sourceLanguageTag": "zh-CN", | ||
| "languageTags": ["zh-CN", "en-US"], | ||
| "modules": [ | ||
| "https://cdn.jsdelivr.net/npm/@inlang/plugin-i18next@latest/dist/index.js" | ||
| ], | ||
| "plugin.inlang.i18next": { | ||
| "pathPattern": { | ||
| "tca-manage": "./web/packages/tca-manage/src/locales/{languageTag}/translation.json", | ||
| "tca-layout": "./web/packages/tca-layout/src/locales/{languageTag}/translation.json", | ||
| "tca-analysis": "./web/packages/tca-analysis/src/locales/{languageTag}/translation.json" | ||
| } | ||
| } | ||
| } |
179 changes: 89 additions & 90 deletions
web/packages/tca-analysis/src/locales/en-US/translation.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,92 +1,91 @@ | ||
| { | ||
| "成员添加成功": "成员添加成功", | ||
| "成员为必选项": "成员为必选项", | ||
| "添加成员": "添加成员", | ||
| "团队成员,可多选": "团队成员,可多选", | ||
| "项目信息更新成功": "项目信息更新成功", | ||
| "项目唯一标识": "项目唯一标识", | ||
| "项目名称": "项目名称", | ||
| "项目名称为必填项": "项目名称为必填项", | ||
| "项目描述": "项目描述", | ||
| "创建人": "创建人", | ||
| "创建时间": "创建时间", | ||
| "确定": "确定", | ||
| "取消": "取消", | ||
| "编辑": "编辑", | ||
| "暂无代码统计信息,请确认是否开启该功能": "暂无代码统计信息,请确认是否开启该功能", | ||
| "回到根目录详情": "回到根目录详情", | ||
| "根目录": "根目录", | ||
| "子文件:": "子文件:", | ||
| "代码行:": "代码行:", | ||
| "注释行:": "注释行:", | ||
| "空白行:": "空白行:", | ||
| "总行数:": "总行数:", | ||
| "差异化": "差异化", | ||
| "最近一次分析相对上次分析结果的比较。当前数据仅包含一级子文件的统计结果,不包含孙子文件的结果": "最近一次分析相对上次分析结果的比较。当前数据仅包含一级子文件的统计结果,不包含孙子文件的结果", | ||
| "新增": "新增", | ||
| "修改": "修改", | ||
| "删除": "删除", | ||
| "圈复杂度详情": "圈复杂度详情", | ||
| "方法圈复杂度分布": "方法圈复杂度分布", | ||
| "历史趋势": "历史趋势", | ||
| "超标圈复杂度总数趋势": "超标圈复杂度总数趋势", | ||
| "千行代码平均圈复杂度": "千行代码平均圈复杂度", | ||
| "代码统计详情": "代码统计详情", | ||
| "代码分布": "代码分布", | ||
| "代码量趋势": "代码量趋势", | ||
| "重复代码详情": "重复代码详情", | ||
| "文件重复率分布": "文件重复率分布", | ||
| "代码检查": "代码检查", | ||
| "新增未处理问题分布": "新增未处理问题分布", | ||
| "存量未处理问题分布": "存量未处理问题分布", | ||
| "历史发现问题趋势": "历史发现问题趋势", | ||
| "与我相关": "与我相关", | ||
| "圈复杂度": "圈复杂度", | ||
| "重复代码": "重复代码", | ||
| "暂无数据": "暂无数据", | ||
| "代码库登记": "代码库登记", | ||
| "欢迎使用代码库登记": "欢迎使用代码库登记", | ||
| "登记仓库以便进行代码分析,支持": "登记仓库以便进行代码分析,支持", | ||
| "代码库。支持可配置认证、选择成员等。": "代码库。支持可配置认证、选择成员等。", | ||
| "登记代码库": "登记代码库", | ||
| "验证失败,请重新输入": "验证失败,请重新输入", | ||
| "确认": "确认", | ||
| "您正在": "您正在", | ||
| "必须输入确认信息!": "必须输入确认信息!", | ||
| "禁用": "禁用", | ||
| "项目": "项目", | ||
| "后续如需恢复项目,请联系平台管理员在管理后台恢复": "后续如需恢复项目,请联系平台管理员在管理后台恢复", | ||
| "禁用项目": "禁用项目", | ||
| "支持C、C++、Java、C#、Dart、JavaScript、Python、Objective-C、Ruby、PHP、Swift、Scala、Go、Lua共14种语言": "支持C、C++、Java、C#、Dart、JavaScript、Python、Objective-C、Ruby、PHP、Swift、Scala、Go、Lua共14种语言", | ||
| "代码重复率": "代码重复率", | ||
| "支持C、C++、Java、JavaScript、Objective-C、PHP、Python、C#、Ruby、Kotlin、Go、Lua、Swift、Scala共14种语言": "支持C、C++、Java、JavaScript、Objective-C、PHP、Python、C#、Ruby、Kotlin、Go、Lua、Swift、Scala共14种语言", | ||
| "分支概览": "分支概览", | ||
| "操作": "操作", | ||
| "移除": "移除", | ||
| "启用": "启用", | ||
| "屏蔽": "屏蔽", | ||
| "自定义级别": "自定义级别", | ||
| "规则名称": "规则名称", | ||
| "所属工具": "所属工具", | ||
| "问题级别": "问题级别", | ||
| "分类": "分类", | ||
| "是否需要编译": "是否需要编译", | ||
| "活跃": "活跃", | ||
| "失效": "失效", | ||
| "未知": "未知", | ||
| "规则详情": "规则详情", | ||
| "规则定制配置": "规则定制配置", | ||
| "严重级别": "严重级别", | ||
| "规则参数": "规则参数", | ||
| "规则初始详情": "规则初始详情", | ||
| "展示名称": "展示名称", | ||
| "(私有)": "(私有)", | ||
| "规则概述": "规则概述", | ||
| "责任人": "责任人", | ||
| "规则状态": "规则状态", | ||
| "适用语言": "适用语言", | ||
| "解决方法": "解决方法", | ||
| "详细描述": "详细描述", | ||
| "分析方案模板": "分析方案模板", | ||
| "分析方案模版用于在创建分析方案时作为模版参考。分析方案模版全局可用,不用和某个代码库关联。": "分析方案模版用于在创建分析方案时作为模版参考。分析方案模版全局可用,不用和某个代码库关联。" | ||
| "成员添加成功": "Member added successfully", | ||
| "成员为必选项": "Member is required", | ||
| "添加成员": "Add member", | ||
| "团队成员,可多选": "Team members, multiple choices available", | ||
| "项目信息更新成功": "Project information updated successfully", | ||
| "项目唯一标识": "Project unique identifier", | ||
| "项目名称": "project name", | ||
| "项目名称为必填项": "Project name is required", | ||
| "项目描述": "project description", | ||
| "创建人": "founder", | ||
| "创建时间": "creation time", | ||
| "确定": "Sure", | ||
| "取消": "Cancel", | ||
| "编辑": "edit", | ||
| "暂无代码统计信息,请确认是否开启该功能": "There is currently no code statistics. Please confirm whether this function is turned on.", | ||
| "回到根目录详情": "Return to root directory details", | ||
| "根目录": "Root directory", | ||
| "子文件:": "sub file:", | ||
| "代码行:": "Line of code:", | ||
| "注释行:": "Comment line:", | ||
| "空白行:": "Blank lines:", | ||
| "总行数:": "Total number of rows:", | ||
| "差异化": "Differentiation", | ||
| "最近一次分析相对上次分析结果的比较。当前数据仅包含一级子文件的统计结果,不包含孙子文件的结果": "A comparison of the results of the most recent analysis with those of the last analysis. The current data only includes the statistical results of first-level sub-files and does not include the results of grandchild files.", | ||
| "新增": "New", | ||
| "修改": "Revise", | ||
| "删除": "delete", | ||
| "圈复杂度详情": "Cyclomatic complexity details", | ||
| "方法圈复杂度分布": "Method cyclomatic complexity distribution", | ||
| "历史趋势": "historical trends", | ||
| "超标圈复杂度总数趋势": "The trend of the total number of exceeded cyclomatic complexity", | ||
| "千行代码平均圈复杂度": "Average cyclomatic complexity per thousand lines of code", | ||
| "代码统计详情": "Code statistics details", | ||
| "代码分布": "code distribution", | ||
| "代码量趋势": "Code volume trends", | ||
| "重复代码详情": "Duplicate code details", | ||
| "文件重复率分布": "File duplication rate distribution", | ||
| "代码检查": "code inspection", | ||
| "新增未处理问题分布": "Added distribution of unsolved issues", | ||
| "存量未处理问题分布": "Distribution of unprocessed issues in stock", | ||
| "历史发现问题趋势": "Historical discovery problem trends", | ||
| "与我相关": "related to me", | ||
| "圈复杂度": "Cyclomatic complexity", | ||
| "重复代码": "Duplicate code", | ||
| "暂无数据": "No data", | ||
| "代码库登记": "Code base registration", | ||
| "欢迎使用代码库登记": "Welcome to use code base registration", | ||
| "登记仓库以便进行代码分析,支持": "Register the warehouse for code analysis and support", | ||
| "代码库。支持可配置认证、选择成员等。": "Code library. Supports configurable authentication, member selection, etc.", | ||
| "登记代码库": "Register code base", | ||
| "验证失败,请重新输入": "Verification failed, please re-enter", | ||
| "确认": "confirm", | ||
| "您正在": "you are", | ||
| "必须输入确认信息!": "Confirmation information must be entered!", | ||
| "禁用": "Disable", | ||
| "项目": "project", | ||
| "后续如需恢复项目,请联系平台管理员在管理后台恢复": "If you need to restore the project later, please contact the platform administrator to restore it in the management background.", | ||
| "禁用项目": "Disabled items", | ||
| "支持C、C++、Java、C#、Dart、JavaScript、Python、Objective-C、Ruby、PHP、Swift、Scala、Go、Lua共14种语言": "Supports 14 languages including C, C++, Java, C#, Dart, JavaScript, Python, Objective-C, Ruby, PHP, Swift, Scala, Go, and Lua", | ||
| "代码重复率": "code duplication rate", | ||
| "支持C、C++、Java、JavaScript、Objective-C、PHP、Python、C#、Ruby、Kotlin、Go、Lua、Swift、Scala共14种语言": "Supports 14 languages including C, C++, Java, JavaScript, Objective-C, PHP, Python, C#, Ruby, Kotlin, Go, Lua, Swift, and Scala", | ||
| "分支概览": "Branch overview", | ||
| "移除": "Remove", | ||
| "启用": "enable", | ||
| "屏蔽": "shield", | ||
| "自定义级别": "Custom level", | ||
| "规则名称": "Rule name", | ||
| "所属工具": "Tools", | ||
| "问题级别": "problem level", | ||
| "分类": "Classification", | ||
| "是否需要编译": "Does it need to be compiled?", | ||
| "活跃": "active", | ||
| "失效": "Invalid", | ||
| "未知": "unknown", | ||
| "规则详情": "Rule details", | ||
| "规则定制配置": "Rule customization configuration", | ||
| "严重级别": "Severity level", | ||
| "规则参数": "Rule parameters", | ||
| "规则初始详情": "Rule initial details", | ||
| "展示名称": "display name", | ||
| "(私有)": "(private)", | ||
| "规则概述": "Rules Overview", | ||
| "责任人": "Responsible", | ||
| "规则状态": "Rule status", | ||
| "适用语言": "Applicable languages", | ||
| "解决方法": "Solution", | ||
| "详细描述": "A detailed description", | ||
| "分析方案模板": "Analysis plan template", | ||
| "分析方案模版用于在创建分析方案时作为模版参考。分析方案模版全局可用,不用和某个代码库关联。": "The analysis plan template is used as a template reference when creating an analysis plan. Analysis plan templates are available globally and do not need to be associated with a certain code base." | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.