Skip to content

fix(i18n): fix typo and incorrect translations in langRO - #21785

Merged
plainheart merged 1 commit into
apache:releasefrom
vicuts:fix/i18n-ro
Oct 12, 2026
Merged

plainheart merged 1 commit into
apache:releasefrom
vicuts:fix/i18n-ro

Conversation

@vicuts

@vicuts vicuts commented Oct 10, 2026

Copy link
Copy Markdown

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

Fixes a typo and two incorrect series type names in the Romanian locale (src/i18n/langRO.ts).

Fixed issues

None.

Details

Before: What was the problem?

Three values in langRO.ts were wrong:

Key Before After
aria.general.withTitle Aceasta este o diagrmă despre "{title}" Aceasta este o diagramă despre "{title}"
series.typeNames.gauge Calibru Indicator
series.typeNames.boxplot Diagramă boxbare Diagramă boxplot
  • diagrmă is a typo of diagramă (chart). It shows up in the aria label of every chart that has a title, so screen reader users hear a misspelled word.
  • Calibru means caliber, or a gauge block used to check dimensions. It does not describe a dial chart.
  • boxbare is not a Romanian word.

After: How does it behave after the fixing?

  • The typo is fixed.
  • gauge becomes Indicator, the usual Romanian word for a measuring instrument with a scale and a needle (as in "indicator de presiune" or "indicator de nivel"), which is what the gauge series draws. The Czech (Indikátor), Latvian (Rādītājs) and Turkish (Gösterge) locales use the same idea. I did not use Cadran (dial) because in a chart context it also means a quadrant of the coordinate plane.
  • boxplot becomes Diagramă boxplot, the term used by the Romanian Wikipedia article on the box plot. It also matches the English Boxplot.

Only src/i18n/langRO.ts is changed. The generated files in i18n/ are left for the release build, as the PR guide asks.

Document Info

One of the following should be checked.

  • This PR doesn't relate to document changes
  • The document should be updated later
  • The document changes have been made in apache/echarts-doc#xxx

Misc

Security Checking

  • This PR uses security-sensitive Web APIs.

ZRender Changes

  • This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs

N.A.

Merging options

  • Please squash the commits into a single one when merging.

Other information

npx eslint src/i18n/langRO.ts and npx tsc --noEmit -p tsconfig.json both pass.

@echarts-bot

echarts-bot Bot commented Oct 10, 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.

@plainheart plainheart added this to the 6.1.1 milestone Oct 12, 2026
@plainheart
plainheart merged commit e020f5a into apache:release Oct 12, 2026
@echarts-bot

echarts-bot Bot commented Oct 12, 2026

Copy link
Copy Markdown

Congratulations! Your PR has been merged. Thanks for your contribution! 👍

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.

2 participants