Skip to content

chore: Sync Sorted i18n messages - #5118

Merged
NathanZlion merged 1 commit into
mainfrom
chore/sort-i18n-message-keys
Oct 8, 2026
Merged

NathanZlion merged 1 commit into
mainfrom
chore/sort-i18n-message-keys

Conversation

@NathanZlion

@NathanZlion NathanZlion commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Description

Major change here is the sorting of translation keys. This is following internal updates to make output sorted to avoid arbitrary insertion of keys and a slow drift between components and internal i18n package. This helps make it sort of deterministic.

This PR syncs the sorting change and also changes to existing strings that were made but didn't get synced here because they weren't owned by anyone after first translation.

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.

@@ -1,685 +1,687 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
/* eslint-disable prettier/prettier */

@NathanZlion NathanZlion Oct 8, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Added for the sake of ensuring the internal build output which has double quotes doesn't get formatted back to single quote here by prettier and making noisy diffs.

@codecov

codecov Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.70%. Comparing base (3b62c18) to head (6eeac7c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5118   +/-   ##
=======================================
  Coverage   97.70%   97.70%           
=======================================
  Files         990      990           
  Lines       31818    31818           
  Branches    11752    11752           
=======================================
  Hits        31089    31089           
  Misses        722      722           
  Partials        7        7           

☔ 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.

"i18nStrings.slashedMonthConstraintText": "Pour le mois, utilisez le format MM/AAAA.",
"i18nStrings.isoMonthConstraintText": "Pour le mois, utilisez le format MM-AAAA.",
"i18nStrings.isoDateTimeConstraintText": "Pour la date, utilisez le format AAAA-MM-JJ. Pour l’heure, utilisez le format 24 heures.",
"i18nStrings.isoMonthConstraintText": "Pour le mois, utilisez le format AAAA-MM.",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

changed to AAAA-MM because year always comes first regardless, also reflected internally

@NathanZlion
NathanZlion marked this pull request as ready for review October 8, 2026 08:50
@NathanZlion
NathanZlion requested a review from a team as a code owner October 8, 2026 08:50
@NathanZlion
NathanZlion requested review from ernst-dev and removed request for a team October 8, 2026 08:50
@NathanZlion
NathanZlion added this pull request to the merge queue Oct 8, 2026
@NathanZlion
NathanZlion removed the request for review from ernst-dev October 8, 2026 08:51
@NathanZlion NathanZlion changed the title chore: Sync i18n messages chore: Sync Sorted i18n messages Oct 8, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 8, 2026
@NathanZlion
NathanZlion added this pull request to the merge queue Oct 8, 2026
Merged via the queue into main with commit fdcc7a2 Oct 8, 2026
72 checks passed
@NathanZlion
NathanZlion deleted the chore/sort-i18n-message-keys branch October 8, 2026 09:43

This branch was successfully deployed

3 active deployments
dev-pages-react16 — 6eeac7ce Deployed Oct 8, 2026 by NathanZlion via deploy (React 16) / deploy #2616
dev-pages-react18 — 6eeac7ce Deployed Oct 8, 2026 by NathanZlion via deploy (React 18) / deploy #2616
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