Skip to content

feat(#2842): add i18n entries for PolarDB For MySQL TopSQL scan task#3303

Closed
LordofAvernus wants to merge 1 commit into
mainfrom
sqle/feat-2842
Closed

feat(#2842): add i18n entries for PolarDB For MySQL TopSQL scan task#3303
LordofAvernus wants to merge 1 commit into
mainfrom
sqle/feat-2842

Conversation

@LordofAvernus
Copy link
Copy Markdown
Collaborator

@LordofAvernus LordofAvernus commented May 18, 2026

User description

Summary

  • 新增 ApMetaPolarDBForMySQLTopSQL 国际化条目(中文 / 英文均为 PolarDB For MySQL TOP SQL)。
  • 修改 sqle/locale/message_zh.gosqle/locale/active.zh.tomlsqle/locale/active.en.toml

Related

Related to actiontech/sqle-ee#2842

EE 仓库配套 PR:https://github.com/actiontech/sqle-ee/pull/2875

Test plan

  • go vet ./sqle/locale/...

Description

  • 添加 PolarDB For MySQL TOP SQL 国际化入口

  • 更新中文、英文配置文件中的 i18n 条目

  • 确保各语言配置保持同步更新


Diagram Walkthrough

flowchart LR
  A["在message_zh.go中添加新条目"] --> B["在active.en.toml中新增条目"]
  B --> C["在active.zh.toml中新增条目"]
Loading

File Walkthrough

Relevant files
Enhancement
message_zh.go
在 message_zh.go 中增加新国际化条目                                                               

sqle/locale/message_zh.go

  • 新增 ApMetaPolarDBForMySQLTopSQL 国际化入口,确保显示正确
+1/-0     
active.en.toml
在 active.en.toml 中添加英文国际化条目                                                           

sqle/locale/active.en.toml

  • 新增 ApMetaPolarDBForMySQLTopSQL 英文条目,提升前端展示
+1/-0     
active.zh.toml
在 active.zh.toml 中添加中文国际化条目                                                           

sqle/locale/active.zh.toml

  • 新增 ApMetaPolarDBForMySQLTopSQL 中文条目,保持多语言一致
+1/-0     

Add ApMetaPolarDBForMySQLTopSQL locale entries to message_zh.go,
active.zh.toml and active.en.toml with value "PolarDB For MySQL TOP SQL".
@actiontech-bot actiontech-bot requested a review from BugsGuru May 18, 2026 06:45
@github-actions
Copy link
Copy Markdown

PR Reviewer Guide 🔍

🎫 Ticket compliance analysis 🔶

2842 - Partially compliant

Compliant requirements:

  • 新增 i18n 条目(中文 / 英文)
  • 更新相关配置文件
  • 各语言配置保持同步更新

Non-compliant requirements:

(空)

Requires further human verification:

(空)

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 PR contains tests
🔒 No security concerns identified
⚡ No major issues detected

@github-actions
Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@BugsGuru BugsGuru closed this May 18, 2026
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.

2 participants