Skip to content

Fix localization strings and wording#8391

Merged
ruibaby merged 1 commit intohalo-dev:mainfrom
ruibaby:refactor/locale-files
Mar 5, 2026
Merged

Fix localization strings and wording#8391
ruibaby merged 1 commit intohalo-dev:mainfrom
ruibaby:refactor/locale-files

Conversation

@ruibaby
Copy link
Member

@ruibaby ruibaby commented Mar 5, 2026

What type of PR is this?

/area ui
/kind improvement
/milestone 2.23.x

What this PR does / why we need it:

This PR optimizes the translation files, fixing some typos and improving phrasing.

All changes in this PR were generated by Codex and reviewed by me.

Does this PR introduce a user-facing change?

None

@f2c-ci-robot f2c-ci-robot bot added the release-note-none Denotes a PR that doesn't merit a release note. label Mar 5, 2026
@f2c-ci-robot f2c-ci-robot bot added this to the 2.23.x milestone Mar 5, 2026
@f2c-ci-robot f2c-ci-robot bot added area/ui Issues or PRs related to the Halo UI kind/improvement Categorizes issue or PR as related to a improvement. labels Mar 5, 2026
@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Mar 5, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign ruibaby for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 5, 2026

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 5, 2026

Open in StackBlitz

@halo-dev/api-client

npm i https://pkg.pr.new/@halo-dev/api-client@8391

@halo-dev/components

npm i https://pkg.pr.new/@halo-dev/components@8391

@halo-dev/richtext-editor

npm i https://pkg.pr.new/@halo-dev/richtext-editor@8391

@halo-dev/ui-shared

npm i https://pkg.pr.new/@halo-dev/ui-shared@8391

@halo-dev/ui-plugin-bundler-kit

npm i https://pkg.pr.new/@halo-dev/ui-plugin-bundler-kit@8391

commit: f1f4306

@codecov
Copy link

codecov bot commented Mar 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.85%. Comparing base (42c374d) to head (7b20779).
⚠️ Report is 475 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8391      +/-   ##
============================================
+ Coverage     59.55%   60.85%   +1.29%     
- Complexity     3812     3999     +187     
============================================
  Files           677      698      +21     
  Lines         23248    23866     +618     
  Branches       1500     1555      +55     
============================================
+ Hits          13846    14523     +677     
+ Misses         8764     8613     -151     
- Partials        638      730      +92     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refines UI localization copy across the console and editor by fixing typos, improving phrasing, and standardizing certain labels (notably switching the “recovery” button label key to “restore”) across supported locales.

Changes:

  • Updates multiple locale JSON files (en/es/zh-CN/zh-TW) to correct wording, punctuation, capitalization, and phrasing.
  • Renames the common button i18n key from core.common.buttons.recovery to core.common.buttons.restore and updates the affected Vue views accordingly.
  • Improves editor locale strings (en/es/zh-CN) for consistency and correctness (e.g., “Enable loop”, “Superscript/Subscript”, “Not found”, etc.).

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
ui/src/locales/zh-TW.json Fixes wording/typos in Traditional Chinese; updates sort labels and “restore” button key.
ui/src/locales/zh-CN.json Fixes wording/typos in Simplified Chinese; updates sort labels and “restore” button key.
ui/src/locales/es.json Fixes whitespace/phrasing in Spanish; updates attachment sort strings and “restore” button key.
ui/src/locales/en.json Broad English wording/punctuation improvements; renames “recovery” button key to “restore”.
ui/packages/editor/src/locales/zh-CN.json Improves Simplified Chinese editor strings (more accurate verbs/status text).
ui/packages/editor/src/locales/es.json Improves Spanish editor strings (more natural upload/link wording).
ui/packages/editor/src/locales/en.json Fixes multiple English editor strings (capitalization and incorrect “Enable loop” text).
ui/console-src/modules/contents/posts/DeletedPostList.vue Updates the deleted-post restore action button to use the new i18n key.
ui/console-src/modules/contents/pages/DeletedSinglePageList.vue Updates the deleted-page restore action button to use the new i18n key.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ruibaby ruibaby merged commit 54b41eb into halo-dev:main Mar 5, 2026
14 of 15 checks passed
@ruibaby ruibaby deleted the refactor/locale-files branch March 5, 2026 10:35
@ruibaby ruibaby modified the milestones: 2.23.x, 2.23.0 Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ui Issues or PRs related to the Halo UI kind/improvement Categorizes issue or PR as related to a improvement. release-note-none Denotes a PR that doesn't merit a release note.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants