Skip to content

🐛 fix: correct misspellings in source code comments - #21853

Open
TINGyu123644 wants to merge 1 commit into
apache:masterfrom
TINGyu123644:fix/comment-typos
Open

TINGyu123644 wants to merge 1 commit into
apache:masterfrom
TINGyu123644:fix/comment-typos

Conversation

@TINGyu123644

Copy link
Copy Markdown

Summary

Correct objective spelling mistakes found in source code comments across 8 files. These are comment-only edits; no runtime behavior is affected and no tests are modified.

File Before After
src/chart/treemap/TreemapView.ts tranform transform
src/component/legend/ScrollableLegendView.ts begining beginning
src/component/toolbox/ToolboxModel.ts explicity (x2) explicitly
src/coord/axisCommonTypes.ts lables labels
src/coord/axisDefault.ts lables labels
src/coord/axisNiceTicks.ts explicity explicitly
src/coord/matrix/MatrixBodyCorner.ts refering referring
src/scale/breakImpl.ts lables labels

Diff

9 lines changed, all in comments: +9 / -9 across 8 files. No source logic, identifiers, or tests were touched — the misspelled words occur only inside // / * comments.

Verification

  • Confirmed each misspelling is present on master (34f4d927) via the Contents API.
  • Confirmed each target line occurs exactly once before replacement.
  • Confirmed the branch is ahead 1 / behind 0 of upstream master; compare shows +9 / -9, 8 files, no test files.
  • No CI/build required for comment-only changes.

AI assistance disclosure

This patch was identified and prepared with the assistance of an AI tool. All edits are trivial comment spelling corrections that were independently verified against upstream sources; I take full responsibility for the contribution.

Fix objective spelling mistakes in comments across several source files:
- 'tranform' -> 'transform' (TreemapView)
- 'begining' -> 'beginning' (ScrollableLegendView)
- 'explicity' -> 'explicitly' (ToolboxModel, axisNiceTicks)
- 'lables' -> 'labels' (axisCommonTypes, axisDefault, breakImpl)
- 'refering' -> 'referring' (MatrixBodyCorner)

Comment-only changes; no runtime behavior is affected. No tests modified.
@echarts-bot

echarts-bot Bot commented Nov 21, 2026

Copy link
Copy Markdown

Thanks for your contribution!
The community will review it ASAP. In the meanwhile, please checkout the coding standard and Wiki about How to make a pull request.

Please DO NOT commit the files in dist, i18n, and ssr/client/dist folders in a non-release pull request. These folders are for release use only.

To reviewers: If this PR is going to be described in the changelog in the future release, please make sure this PR has one of the following labels: PR: doc ready, PR: awaiting doc, PR: doc unchanged

This message is shown because the PR description doesn't contain the document related template.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant