Skip to content
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

🐛 [Bug] 插件介绍、名称等内容的语言无法跟随面板语言切换 #155

Open
5 of 6 tasks
virtual-panda opened this issue Aug 16, 2024 · 4 comments
Open
5 of 6 tasks

Comments

@virtual-panda
Copy link

virtual-panda commented Aug 16, 2024

在提问之前 (Before Asking)

  • 我已经搜索了现有的 Issues, Discussions 和 Google (I've searched the existing Issues, Discussions and Google)
  • 我已经阅读了 README 中除版本记录以外的所有内容 (I've read everything in the README except the version notes)
  • 我在提问题之前至少花费了 5 分钟来思考和准备 (I spend at least 5 minutes thinking and preparing before asking a question)
  • 我没有改动过面板及系统的任何文件 (I have not changed any files of the panel and system)
  • 这个问题可以被稳定复现 (The problem can be stably reproduced)
  • 问题是在升级之后产生的 (The problem is generated after upgrading)

操作系统 (Operating System)

Debian

操作系统版本 (Operating System Version)

12.6

耗子面板版本 (HaoZi Panel Version)

2.2.27

描述问题 (Describe The Problem)

插件的介绍和名称硬编码在/app/plugins下的部分代码中,导致在面板设置切换语言为英语后,插件的介绍等仍为中文。

如何复现 (How To Reproduce)

  1. 安装面板
  2. 设置语言为英文
  3. 刷新浏览器页面,进入插件市场
    4.终于找到了😱bug概率100%

预期行为 (Expected Behavior)

插件介绍等文本放置于国际化文件中,语言跟随面板语言切换而切换

相关日志 (Related Logs)

No response

截图 (Screenshots)

No response

还有别的吗 (Anything Else)

No response

Copy link

Hi @virtual-panda 👋

我们认为您的反馈非常有价值!欢迎提交 PR,请包含相应的测试用例、文档等,并确保 CI 通过,感谢和期待您的贡献!
We think your feedback is very valuable! Welcome to submit a PR, please include test cases, documentation, etc., and ensure that the CI is passed, thank you and look forward to your contribution!

aoligei

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 15, 2024
@github-actions github-actions bot locked as spam and limited conversation to collaborators Oct 15, 2024
@TheTNB TheTNB deleted a comment from github-actions bot Oct 15, 2024
@devhaozi devhaozi reopened this Oct 15, 2024
@TheTNB TheTNB unlocked this conversation Oct 15, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 15, 2024
Copy link

Thank you for opening this issue. I noticed that you haven not given me a star yet, so I will close this issue. Please give me a star first and wait for it to be unlocked. Thank you for your understanding.

@github-actions github-actions bot locked as spam and limited conversation to collaborators Oct 15, 2024
@github-actions github-actions bot unlocked this conversation Oct 16, 2024
Copy link

Thank you for giving me a star. I have unlocked this issue. If you have any questions, please feel free to ask. Thank you for your support.

Copy link

Hi @virtual-panda 👋

我们认为您的建议非常有价值!欢迎提交 PR,请包含相应的测试用例、文档等,并确保 CI 通过,感谢和期待您的贡献!
We think your suggestion is very valuable! Welcome to submit a PR, please include test cases, documentation, etc., and ensure that the CI is passed, thank you and look forward to your contribution!

干

@devhaozi devhaozi added this to the 2.4.x milestone Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants