From 3c56c377df9d1ce73807a25b2ca349c0f1e3f98e Mon Sep 17 00:00:00 2001 From: Bryan Lee <38807139+liby@users.noreply.github.com> Date: Thu, 6 Apr 2023 17:48:52 +0800 Subject: [PATCH] fix: incorrect release version --- .github/ISSUE_TEMPLATE/bug-report.yml | 111 ++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++ .github/ISSUE_TEMPLATE/feature.yml | 55 +++++++++++++ .github/workflows/release.yaml | 4 +- src/info.json | 2 +- 5 files changed, 174 insertions(+), 3 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000..c142022 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,111 @@ +name: Bug report +description: Problems with the software +title: '[Bug] {{请输入标题,不要留空 - Please enter a title, do not leave it blank.}}' +labels: ['bug'] +body: + - type: markdown + attributes: + value: | + **非常感谢您的反馈!Thank you very much for your feedback!** + + 有关讨论、建议或者咨询的内容请去往[讨论区](https://github.com/yetone/bob-plugin-openai-translator/discussions)。 + + For suggestions or help, please consider using [Github Discussion](https://github.com/yetone/bob-plugin-openai-translator/discussions) instead. + + - type: checkboxes + attributes: + label: Please search before asking + description: | + 辛苦提 Bug 前,检索一下 [问题](https://github.com/yetone/bob-plugin-openai-translator/issues?q=) 列表是否已经存在类似问题。麻烦提供系统版本、录屏或者截图、复现步骤,有助于更好的解决问题。 + + 非 Bug 相关,烦请移步 [讨论区](https://github.com/yetone/bob-plugin-openai-translator/discussions) 找寻有关讨论。 + + Please search [issues](https://github.com/yetone/bob-plugin-openai-translator/issues) to check if your issue has already been reported. + + Not related to bugs, please go to the [discussion area](https://github.com/yetone/bob-plugin-openai-translator/discussions) for relevant discussions. + + options: + - label: > + I searched in the [issues](https://github.com/yetone/bob-plugin-openai-translator/issues) and found nothing similar. + required: true + - type: checkboxes + attributes: + label: Please read README + description: | + 辛苦提 Bug 前,请确定是按照 README 中的 [使用方法](https://github.com/yetone/bob-plugin-openai-translator/tree/main#%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95) 部分安装的。 + + Before reporting bugs, please carefully read the [usage instructions]((https://github.com/yetone/bob-plugin-openai-translator/tree/main#%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95) section in README + + options: + - label: I have read the usage instructions section in README in detail. + required: true + - type: checkboxes + attributes: + label: Please check your network and OpenAI API quota + description: | + 如果您遇到的报错是 Failed to fetch 或者 API quota exceed,则说明是网络问题或者 OpenAI API 使用量超过阈值,这些问题都与 OpenAI Translator Bob Plugin 无关,请自行解决。 + + If you encounter error messages such as 'Failed to fetch' or 'API quota exceed', it means there is a network issue or the usage limit of OpenAI API has been exceeded. These issues are not related to OpenAI Translator Bob Plugin, please resolve them on your own. + + options: + - label: I am sure it is not a network issue or an OpenAI API quota issue. + required: true + - type: input + attributes: + label: OpenAI Translator Bob Plugin version + description: | + 请提供您正在使用的 OpenAI Translator Bob Plugin 的版本。 + + Please provide the version of OpenAI Translator Bob Plugin you are using. For example, `v0.1.0`. + validations: + required: true + - type: input + attributes: + label: 系统版本 | System version + description: | + 请提供您正在使用的系统/浏览器版本。 + + Please provide the version of the System/Browser you are using. For example, `macOS 11.2.3`. + validations: + required: true + - type: input + attributes: + label: Bob version + description: | + 请提供您正在使用的 Bob 版本。Please provide the version of the Bob you are using. For example, `Bob 1.6.0 [103]`. + validations: + required: true + - type: textarea + attributes: + label: 复现步骤 | Reproduce step + description: | + 请提供完整且简明的复现步骤,以方便及时定位并解决问题。 + + Please provide complete and concise reproduction steps to facilitate timely identification and resolution of the issue. + validations: + required: true + - type: textarea + attributes: + label: 你看到了什么错误?What errors do you see? + validations: + required: true + - type: textarea + attributes: + label: 你期望看到什么?What did you expect to see? + validations: + required: true + - type: textarea + attributes: + label: 还有其他的内容吗?Anything else? + - type: checkboxes + attributes: + label: 你是否愿意提交一份 PR 来修改这个错误?Are you willing to submit a PR? + description: | + 我们期待开发人员和用户的帮助,以解决在 OpenAI Translator Bob Plugin 中发现的任何问题。 如果您愿意通过提交 PR 来解决此问题,请勾选。 + + We eagerly anticipate developers' and users' support and collaboration in resolving any issues found in OpenAI Translator Bob Plugin. If you are willing to offer a solution by submitting a PR to fix this matter, kindly mark the checkbox provided. + options: + - label: 我愿意提供 PR! I'm willing to submit a PR! + - type: markdown + attributes: + value: '非常感谢您的反馈!Thank you very much for your feedback!' diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..e86bdf7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Ask a question or get support + url: https://github.com/yetone/bob-plugin-openai-translator/discussions/categories/q-a + about: Ask a question or request support for OpenAI Translator Bob Plugin \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 0000000..c0d227a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,55 @@ +name: Feature +description: Add new feature, improve code, and more +labels: [ "enhancement" ] +body: + - type: markdown + attributes: + value: | + **非常感谢您的功能建议!Thank you very much for your feature proposal!** + - type: checkboxes + attributes: + label: Search before asking + description: > + 请在提交前搜索 [issues](https://github.com/yetone/openai-translator/issues),以查看您的问题是否已经被提交。 + + Please search [issues](https://github.com/yetone/openai-translator/issues) to check if your issue has already been reported. + options: + - label: > + 在 [issues](https://github.com/yetone/openai-translator/issues) 中没有找到类似的内容。 + + I searched in the [issues](https://github.com/yetone/openai-translator/issues) and found nothing similar. + required: true + - type: input + attributes: + label: feature + description: > + 一句话概括你的功能建议。Please provide a brief description of your feature proposal. + validations: + required: true + - type: textarea + attributes: + label: 描述 Motivation + description: > + 解释一下这个功能将如何解决您的问题。 + + Explain how this feature will resolve your problem, including the way it addresses the issue that you are facing. + validations: + required: true + - type: textarea + attributes: + label: Solution + description: 描述建议的解决方案。Describe the proposed solution. (if you have any additional information, please add it here.) + - type: textarea + attributes: + label: 还有其他内容吗?Anything else? + - type: checkboxes + attributes: + label: 你是否愿意提交一份 PR?Are you willing to submit a PR? + description: > + 我们期待开发人员和用户的帮助,以解决在 OpenAI Translator Bob Plugin 中发现的任何问题。 如果您愿意通过提交 PR 来解决此问题,请勾选。We eagerly anticipate developers' and users' support and collaboration in resolving any issues found in OpenAI Translator Bob Plugin. If you are willing to offer a solution by submitting a PR to fix this matter, kindly mark the checkbox provided. + options: + - label: 我愿意提供 PR! I'm willing to submit a PR! + - type: markdown + attributes: + value: "非常感谢您的功能建议!Thank you very much for your feature proposal!" + diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 90cad43..8650966 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -37,8 +37,8 @@ jobs: - name: Commit files run: | - git config --global user.name 'yetone' - git config --global user.email 'yetoneful@gmail.com' + git config --global user.name 'Bryan Lee' + git config --global user.email '38807139+liby@users.noreply.github.com' git add . git commit -am 'update appcast.json' diff --git a/src/info.json b/src/info.json index ec3715c..b2fcfd9 100644 --- a/src/info.json +++ b/src/info.json @@ -1,6 +1,6 @@ { "identifier": "yetone.openai.translator", - "version": "0.2.6", + "version": "0.1.0", "category": "translate", "name": "OpenAI Translator", "summary": "GPT powered translator",