Skip to content

Commit

Permalink
chore: add type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
liby committed Apr 7, 2023
1 parent 64f709d commit 1bd86fa
Show file tree
Hide file tree
Showing 7 changed files with 482 additions and 25 deletions.
8 changes: 2 additions & 6 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,17 @@ body:
value: |
**非常感谢您的反馈!Thank you very much for your feedback!**
有关讨论、建议或者咨询的内容请去往[讨论区](https://github.com/yetone/bob-plugin-openai-translator/discussions)
有关翻译错误的内容请附在此 [issue](https://github.com/yetone/bob-plugin-openai-translator/issues/30) 中
For suggestions or help, please consider using [Github Discussion](https://github.com/yetone/bob-plugin-openai-translator/discussions) instead.
Please post any translation-related errors in this [issue](https://github.com/yetone/bob-plugin-openai-translator/issues/30).
- 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: >
Expand Down
5 changes: 0 additions & 5 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

32 changes: 22 additions & 10 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,35 @@ body:
- type: markdown
attributes:
value: |
**非常感谢您的功能建议!Thank you very much for your feature proposal!**
**非常感谢您的功能建议!**
**Thank you very much for your feature proposal!**
- type: checkboxes
attributes:
label: Search before asking
description: >
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: >
- 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.
description: |
一句话概括你的功能建议。
Please provide a brief description of your feature proposal.
validations:
required: true
- type: textarea
attributes:
label: 描述 Motivation
description: >
description: |
解释一下这个功能将如何解决您的问题。
Explain how this feature will resolve your problem, including the way it addresses the issue that you are facing.
Expand All @@ -38,18 +42,26 @@ body:
- type: textarea
attributes:
label: Solution
description: 描述建议的解决方案。Describe the proposed solution. (if you have any additional information, please add it here.)
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.
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!"
value: |
"非常感谢您的功能建议!"

"Thank you very much for your feature proposal!"

Loading

0 comments on commit 1bd86fa

Please sign in to comment.