Skip to content

chore: translate to English - #280

Merged
tobiichi3227 merged 11 commits into
TFcis:v2.0from
uyo9:fix/english
Aug 6, 2026
Merged

chore: translate to English#280
tobiichi3227 merged 11 commits into
TFcis:v2.0from
uyo9:fix/english

Conversation

@uyo9

@uyo9 uyo9 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@uyo9
uyo9 marked this pull request as draft July 23, 2026 08:03
@uyo9 uyo9 changed the title fix: translate to English (wip) chore: translate to English (wip) Jul 23, 2026
@uyo9
uyo9 marked this pull request as ready for review July 23, 2026 08:21
@tobiichi3227

Copy link
Copy Markdown
Collaborator

remember change pr title

uyo9 added 10 commits August 2, 2026 22:21
請輸入 TopCoder 帳號 -> Please enter a TopCoder account ID
請輸入數字 -> Please enter a number
Problem List錯誤,請輸入數字、逗號、減號與空白做設定,範例:1, 2, 3, 5-7 -> Invalid problem list format. Use numbers, commas, hyphens, and spaces. Example: 1, 2, 3, 5-7
Account List錯誤,請輸入數字、逗號、減號與空白做設定,範例:1, 2, 3, 5-7 -> Invalid account list format. Use numbers, commas, hyphens, and spaces. Example: 1, 2, 3, 5-7
請選至少一種支援的語言 -> Please select at least one supported language
開始時間不可為空 -> Start time cannot be empty
結束時間不可為空 -> End time cannot be empty
結束時間必須大於開始時間 -> End time must be later than start time
~ 必須是正整數(包含0) -> ~ must be a non-negative integer
請輸入數字、逗號、減號與空白做設定,範例:1, 2, 3, 5-7 -> Use numbers, commas, hyphens, and spaces. Example: 1, 2, 3, 5-7

開始時間不可為空 -> Start time cannot be empty

結束時間不可為空 -> End time cannot be empty

結束時間必須大於開始時間 -> End time must be later than start time
@uyo9 uyo9 closed this Aug 2, 2026
@uyo9
uyo9 deleted the fix/english branch August 2, 2026 15:10
@uyo9
uyo9 restored the fix/english branch August 2, 2026 15:11
@uyo9 uyo9 reopened this Aug 2, 2026
@uyo9 uyo9 changed the title chore: translate to English (wip) chore: translate to English Aug 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A few translated UI strings introduce inconsistent terminology and confusing/unprofessional user-facing text that should be corrected before merge.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

Updates user-facing strings in the static HTML templates to English to improve accessibility for non-Chinese readers across sign-in, reporting, contest management, account management, and bulletin-related pages.

Changes:

  • Translated various button/label texts and validation dialog messages from Chinese to English.
  • Standardized PrismJS “copy” UI text to English in multiple code display templates.
  • Updated bulletin-related headings/notifications and other UI section labels.
File summaries
File Description
src/static/templ/sign.html Translates login/register labels and buttons to English.
src/static/templ/report-problem.html Translates problem report page title/description to English.
src/static/templ/prospec/batch/manage/updatetestdata.html Updates PrismJS copy button label to English.
src/static/templ/prospec/batch/code.html Updates PrismJS copy button label to English.
src/static/templ/proset.html Translates filter label and validation dialogs to English.
src/static/templ/manage/proclass/update.html Translates problem list validation dialog to English.
src/static/templ/manage/proclass/add.html Translates problem list validation dialog to English.
src/static/templ/manage/board/update.html Translates board validation dialogs (time/list formats) to English.
src/static/templ/manage/board/add.html Translates board validation dialogs (time/list formats) to English.
src/static/templ/info.html Translates bulletin page heading/status message to English.
src/static/templ/index.html Translates bulletin notification text in the navbar to English.
src/static/templ/contests/manage/general.html Translates contest configuration validation dialogs to English.
src/static/templ/challist.html Translates filter validation dialogs and filter label to English.
src/static/templ/chal.html Updates PrismJS copy button label to English.
src/static/templ/acct/profile.html Translates profile section headings to English.
src/static/templ/acct/proclass-update.html Translates problem list validation dialog to English.
src/static/templ/acct/proclass-add.html Translates problem list validation dialog to English.
src/static/templ/acct/acct-config.html Translates update/reset-password section labels/buttons to English.
Review details
  • Files reviewed: 18/18 changed files
  • Comments generated: 3
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

Comment thread src/static/templ/info.html
Comment thread src/static/templ/index.html
Comment thread src/static/templ/acct/acct-config.html
@tobiichi3227
tobiichi3227 merged commit b4adea7 into TFcis:v2.0 Aug 6, 2026
3 checks passed
@uyo9
uyo9 deleted the fix/english branch August 6, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants