Skip to content

chore: Add i18n strings for contentDisplayPreference.liveAnnouncementDndGroupLabel - #4847

Merged
NathanZlion merged 1 commit into
mainfrom
dev-v3-natidere-collection_prefs_i18n
Jul 29, 2026
Merged

chore: Add i18n strings for contentDisplayPreference.liveAnnouncementDndGroupLabel#4847
NathanZlion merged 1 commit into
mainfrom
dev-v3-natidere-collection_prefs_i18n

Conversation

@NathanZlion

@NathanZlion NathanZlion commented Jul 29, 2026

Copy link
Copy Markdown
Member

Description

Adds the missing i18n message key for contentDisplayPreference.liveAnnouncementDndGroupLabel so drag-and-drop live announcements for grouped items can be localized consistently across supported locales.

Changes:

  • Add contentDisplayPreference.liveAnnouncementDndGroupLabel translations to multiple locale bundles.
  • Update the English message to include an explicit zero plural branch.
  • Adjust I18nFormatArgTypes for contentDisplayPreference.liveAnnouncementDndGroupLabel.

Related links, issue #, if available: n/a

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.63%. Comparing base (e9c0c76) to head (7b8ebeb).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4847   +/-   ##
=======================================
  Coverage   97.63%   97.63%           
=======================================
  Files         957      957           
  Lines       31097    31097           
  Branches    11434    11435    +1     
=======================================
  Hits        30361    30361           
+ Misses        729      689   -40     
- Partials        7       47   +40     

☔ View full report in Codecov by Harness.
📢 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.

@NathanZlion
NathanZlion requested a review from Copilot July 29, 2026 17:03
@NathanZlion
NathanZlion force-pushed the dev-v3-natidere-collection_prefs_i18n branch from aff9a39 to ea1caf3 Compare July 29, 2026 17:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds the missing i18n message key for contentDisplayPreference.liveAnnouncementDndGroupLabel so drag-and-drop live announcements for grouped items can be localized consistently across supported locales.

Changes:

  • Add contentDisplayPreference.liveAnnouncementDndGroupLabel translations to multiple locale bundles.
  • Update the English message to include an explicit zero plural branch.
  • Adjust I18nFormatArgTypes for contentDisplayPreference.liveAnnouncementDndGroupLabel.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/i18n/messages/all.zh-TW.json Adds the new liveAnnouncementDndGroupLabel message for zh-TW.
src/i18n/messages/all.zh-CN.json Adds the new liveAnnouncementDndGroupLabel message for zh-CN.
src/i18n/messages/all.tr.json Adds the new liveAnnouncementDndGroupLabel message for Turkish.
src/i18n/messages/all.pt-BR.json Adds the new liveAnnouncementDndGroupLabel message for pt-BR.
src/i18n/messages/all.ko.json Adds the new liveAnnouncementDndGroupLabel message for Korean.
src/i18n/messages/all.ja.json Adds the new liveAnnouncementDndGroupLabel message for Japanese.
src/i18n/messages/all.it.json Adds the new liveAnnouncementDndGroupLabel message for Italian.
src/i18n/messages/all.id.json Adds the new liveAnnouncementDndGroupLabel message for Indonesian.
src/i18n/messages/all.fr.json Adds the new liveAnnouncementDndGroupLabel message for French.
src/i18n/messages/all.es.json Adds the new liveAnnouncementDndGroupLabel message for Spanish.
src/i18n/messages/all.en.json Updates English liveAnnouncementDndGroupLabel to include a zero case and consistently include {label} in each branch.
src/i18n/messages/all.en-GB.json Adds the new liveAnnouncementDndGroupLabel message for en-GB.
src/i18n/messages/all.de.json Adds the new liveAnnouncementDndGroupLabel message for German.
src/i18n/messages/all.ar.json Adds the new liveAnnouncementDndGroupLabel message for Arabic.
src/i18n/messages-types.ts Updates format-arg typing for the new/updated message key.

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

Comment on lines 146 to 149
'contentDisplayPreference.liveAnnouncementDndGroupLabel': {
label: string;
count: number;
label: string | number;
};
"contentDisplayPreference.i18nStrings.columnFilteringClearFilterText": "Clear filter",
"contentDisplayPreference.liveAnnouncementDndItemReordered": "{isInitialPosition, select, true {Moving item back to position {currentPosition} of {total}} false {Moving item to position {currentPosition} of {total}} other {}}",
"contentDisplayPreference.liveAnnouncementDndItemCommitted": "{isInitialPosition, select, true {Item moved back to its original position {initialPosition} of {total}} false {Item moved from position {initialPosition} to position {finalPosition} of {total}} other {}}",
"contentDisplayPreference.liveAnnouncementDndGroupLabel": "{count, plural, zero {{label}, 0 items} one {{label}, 1 item} other {{label}, {count} items}}",
@NathanZlion
NathanZlion force-pushed the dev-v3-natidere-collection_prefs_i18n branch from ea1caf3 to 7b8ebeb Compare July 29, 2026 17:49
@NathanZlion
NathanZlion enabled auto-merge July 29, 2026 17:51
@NathanZlion
NathanZlion added this pull request to the merge queue Jul 29, 2026
Merged via the queue into main with commit 850a244 Jul 29, 2026
58 checks passed
@NathanZlion
NathanZlion deleted the dev-v3-natidere-collection_prefs_i18n branch July 29, 2026 18:56
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.

3 participants