From cd1e8f5a3fc8f527a0ca70f874ac314c41a501cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E9=98=B3?= Date: Sun, 6 Aug 2023 00:23:57 +0800 Subject: [PATCH] Add cn version of issue templates. --- .github/ISSUE_TEMPLATE/bug_report.yaml | 42 +++++++++++------- .github/ISSUE_TEMPLATE/feature_request.yaml | 49 ++++++++++++++------- 2 files changed, 59 insertions(+), 32 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 49b095c..cd8b7db 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -1,41 +1,49 @@ name: 🐞 Bug -description: File a bug/issue +description: 提交错误报告 | File a bug/issue title: "[BUG] " labels: ["Bug"] body: - type: checkboxes attributes: - label: Is there an existing issue for this? - description: Please search to see if an issue already exists for the bug you encountered. + label: 是否已有关于该错误的issue? | Is there an existing issue for this? + description: | + 请先搜索您遇到的错误是否在已有的issues中提到过。 + Please search to see if an issue already exists for the bug you encountered. options: - - label: I have searched the existing issues + - label: 我已经搜索过已有的issues | I have searched the existing issues required: true - type: textarea attributes: - label: Current Behavior - description: A concise description of what you're experiencing. + label: 当前行为 | Current Behavior + description: | + 准确描述遇到的行为。 + A concise description of what you're experiencing. validations: required: false - type: textarea attributes: - label: Expected Behavior - description: A concise description of what you expected to happen. + label: 期望行为 | Expected Behavior + description: | + 准确描述预期的行为。 + A concise description of what you expected to happen. validations: required: false - type: textarea attributes: - label: Steps To Reproduce - description: Steps to reproduce the behavior. + label: 复现方法 | Steps To Reproduce + description: | + 复现当前行为的详细步骤。 + Steps to reproduce the behavior. placeholder: | 1. In this environment... - 1. With this config... - 1. Run '...' - 1. See error... + 2. With this config... + 3. Run '...' + 4. See error... validations: required: false - type: textarea attributes: - label: Environment + label: 运行环境 | Environment description: | examples: - **OS**: Ubuntu 20.04 @@ -54,8 +62,12 @@ body: required: false - type: textarea attributes: - label: Anything else? + label: 备注 | Anything else? description: | + 您可以在这里补充其他关于该问题背景信息的描述、链接或引用等。 + + 您可以通过点击高亮此区域然后拖动文件的方式上传图片或日志文件。 + Links? References? Anything that will give us more context about the issue you are encountering! Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index 9951fde..e677af8 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -1,5 +1,5 @@ name: "💡 Feature Request" -description: Create a new ticket for a new feature request +description: 创建新功能请求 | Create a new ticket for a new feature request title: "💡 [REQUEST] - <title>" labels: [ "question" @@ -8,39 +8,48 @@ body: - type: input id: start_date attributes: - label: "Start Date" - description: Start of development + label: "起始日期 | Start Date" + description: | + 起始开发日期 + Start of development placeholder: "month/day/year" validations: required: false - type: textarea id: implementation_pr attributes: - label: "Implementation PR" - description: Pull request used + label: "实现PR | Implementation PR" + description: | + 实现该功能的Pull request + Pull request used placeholder: "#Pull Request ID" validations: required: false - type: textarea id: reference_issues attributes: - label: "Reference Issues" - description: Common issues + label: "相关Issues | Reference Issues" + description: | + 与该功能相关的issues + Common issues placeholder: "#Issues IDs" validations: required: false - type: textarea id: summary attributes: - label: "Summary" - description: Provide a brief explanation of the feature - placeholder: Describe in a few lines your feature request + label: "摘要 | Summary" + description: | + 简要描述新功能的特点 + Provide a brief explanation of the feature + placeholder: | + Describe in a few lines your feature request validations: required: true - type: textarea id: basic_example attributes: - label: "Basic Example" + label: "基本示例 | Basic Example" description: Indicate here some basic examples of your feature. placeholder: A few specific words about your feature request. validations: @@ -48,16 +57,22 @@ body: - type: textarea id: drawbacks attributes: - label: "Drawbacks" - description: What are the drawbacks/impacts of your feature request ? - placeholder: Identify the drawbacks and impacts while being neutral on your feature request + label: "缺陷 | Drawbacks" + description: | + 该新功能有哪些缺陷/可能造成哪些影响? + What are the drawbacks/impacts of your feature request ? + placeholder: | + Identify the drawbacks and impacts while being neutral on your feature request validations: required: true - type: textarea id: unresolved_question attributes: - label: "Unresolved questions" - description: What questions still remain unresolved ? - placeholder: Identify any unresolved issues. + label: "未解决问题 | Unresolved questions" + description: | + 有哪些尚未解决的问题? + What questions still remain unresolved ? + placeholder: | + Identify any unresolved issues. validations: required: false \ No newline at end of file