Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

feat: i18n#663

Merged
IsHPDuwu merged 10 commits into
Class-Widgets:i18nfrom
baiyao105:chore/i18n
Jun 26, 2025
Merged

feat: i18n#663
IsHPDuwu merged 10 commits into
Class-Widgets:i18nfrom
baiyao105:chore/i18n

Conversation

@baiyao105

@baiyao105 baiyao105 commented Jun 13, 2025

Copy link
Copy Markdown
Member

嗯。大概就是:
image

close #669


TODO:

  • 语言切换时 i18n
  • 课程页面问题
语言切换时 i18n 课程页面问题
  • list.py 字符串
  • ClassWidgets 特色肥胖症(布局问题)
list.py 字符串 ClassWidgets 特色肥胖症(布局问题)

  • 流畅布局的边栏

@baiyao105 baiyao105 marked this pull request as draft June 13, 2025 12:28
@IsHPDuwu IsHPDuwu changed the title chore: i18n feat: i18n Jun 13, 2025
IsHPDuwu

This comment was marked as duplicate.

@IsHPDuwu IsHPDuwu added the Ciallo~ 神秘Tag label Jun 14, 2025
@baiyao105 baiyao105 added the 优先级:低 较低的优先级,处理速度可能会很久 label Jun 14, 2025
@IsHPDuwu IsHPDuwu assigned baiyao105 and unassigned IsHPDuwu Jun 14, 2025
@baiyao105

This comment was marked as off-topic.

@baiyao105 baiyao105 closed this Jun 14, 2025
@IsHPDuwu IsHPDuwu reopened this Jun 14, 2025
@baiyao105 baiyao105 assigned IsHPDuwu and baiyao105 and unassigned baiyao105 Jun 14, 2025
@Class-Widgets Class-Widgets deleted a comment from github-actions Bot Jun 23, 2025
@Class-Widgets Class-Widgets deleted a comment from github-actions Bot Jun 23, 2025
@github-actions

github-actions Bot commented Jun 23, 2025

Copy link
Copy Markdown

🧪 静态检查结果

检查已完成(15890130556),以下为结果

🕒 检查时间:2025-06-26 00:35:04 UTC / 2025-06-26 08:35:04 UTC+8
📝 触发提交信息b8c15ba: "Merge branch 'main' of https://github.com/Class-Widgets/Class-Widgets into pr/663"
📁 检查的文件数:2 个 - main.py, menu.py


🚨 严重错误

❌ PyLint 严重错误(点我展开)
************* Module Command line
Command line:1:0: W0012: Unknown option value for '--disable', expected a valid pylint message and got 'unresolved-import' (unknown-option-value)
Command line:1:0: W0012: Unknown option value for '--disable', expected a valid pylint message and got 'dict-item-0-or-1' (unknown-option-value)
************* Module menu
menu.py:245:4: E0102: method already defined line 137 (function-redefined)
menu.py:254:4: E0102: method already defined line 129 (function-redefined)
menu.py:257:4: E0102: method already defined line 133 (function-redefined)
menu.py:260:4: E0102: method already defined line 56 (function-redefined)
❌ MyPy 严重错误(点我展开)
generate_speech.py:918: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
main.py:404: error: List item 2 has incompatible type "int"; expected "str"  [list-item]
main.py:429: error: List item 2 has incompatible type "int"; expected "str"  [list-item]
main.py:431: error: List item 2 has incompatible type "int"; expected "str"  [list-item]
Found 3 errors in 1 file (checked 2 source files)

📋 其他

🔍 PyLint 提示(点我展开)
************* Module Command line
Command line:1:0: W0012: Unknown option value for '--disable', expected a valid pylint message and got 'unresolved-import' (unknown-option-value)
Command line:1:0: W0012: Unknown option value for '--disable', expected a valid pylint message and got 'dict-item-0-or-1' (unknown-option-value)
************* Module menu
menu.py:245:4: E0102: method already defined line 137 (function-redefined)
menu.py:254:4: E0102: method already defined line 129 (function-redefined)
menu.py:257:4: E0102: method already defined line 133 (function-redefined)
menu.py:260:4: E0102: method already defined line 56 (function-redefined)
🔍 MyPy 提示(点我展开)
generate_speech.py:918: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
main.py:404: error: List item 2 has incompatible type "int"; expected "str"  [list-item]
main.py:429: error: List item 2 has incompatible type "int"; expected "str"  [list-item]
main.py:431: error: List item 2 has incompatible type "int"; expected "str"  [list-item]
Found 3 errors in 1 file (checked 2 source files)

@IsHPDuwu IsHPDuwu marked this pull request as ready for review June 26, 2025 00:19
@IsHPDuwu IsHPDuwu marked this pull request as draft June 26, 2025 00:20
@IsHPDuwu IsHPDuwu marked this pull request as draft June 26, 2025 00:20
@IsHPDuwu IsHPDuwu marked this pull request as ready for review June 26, 2025 04:31
@IsHPDuwu IsHPDuwu changed the base branch from main to i18n June 26, 2025 04:31
@IsHPDuwu IsHPDuwu merged commit f0b3cf6 into Class-Widgets:i18n Jun 26, 2025
6 checks passed
@github-actions github-actions Bot mentioned this pull request Jun 26, 2025
@baiyao105 baiyao105 added this to the i18n(国际化) milestone Jul 6, 2025
@baiyao105 baiyao105 added the i18n I18n translation label Jul 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Ciallo~ 神秘Tag i18n I18n translation 优先级:低 较低的优先级,处理速度可能会很久

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: 界面多语言

2 participants