Skip to content

chore: sync react localization from platform-localization#274

Open
platform-localization-pr-bot[bot] wants to merge 1 commit into
mainfrom
chore/localization-sync-react-20260629-4fa6992
Open

chore: sync react localization from platform-localization#274
platform-localization-pr-bot[bot] wants to merge 1 commit into
mainfrom
chore/localization-sync-react-20260629-4fa6992

Conversation

@platform-localization-pr-bot

@platform-localization-pr-bot platform-localization-pr-bot Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Automated localization sync from platform-localization.

  • Platform: React
  • Source ref: 4fa6992cc909a1115d57ce53d4f0af76ef230692
  • Workflow: Distribute React Localization

Greptile Summary

This automated PR removes two duplicate localization keys (noLanguageSearchResults and languageSearchAriaLabel) from en.json, where they previously appeared both near the top of the file and again around line 45. The keys are retained at their original position (lines 4–5) and all component references remain intact.

  • Duplicate key removal: noLanguageSearchResults and languageSearchAriaLabel were duplicated in the JSON file; only the second (lower) occurrence is removed, so the values are unchanged.
  • No consumer impact: bible-version-picker.tsx uses both keys via t() and will continue to resolve them correctly from the remaining entry.

Confidence Score: 5/5

Safe to merge — the change removes duplicate JSON keys that were already present earlier in the file, leaving all translation strings and component references intact.

The only changed file is en.json, and the two removed entries (noLanguageSearchResults, languageSearchAriaLabel) still exist at the top of the file. The consuming component bible-version-picker.tsx resolves both keys correctly from the retained entries, so no runtime behavior changes.

No files require special attention.

Important Files Changed

Filename Overview
packages/ui/src/i18n/locales/en.json Removes duplicate occurrences of noLanguageSearchResults and languageSearchAriaLabel; both keys remain at the top of the file and all component references are unaffected.

Sequence Diagram

%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
    participant PL as platform-localization
    participant Bot as pr-bot[bot]
    participant SDK as platform-sdk-react
    participant JSON as en.json
    participant Comp as bible-version-picker.tsx

    PL->>Bot: Trigger "Distribute React Localization" workflow
    Bot->>SDK: Open PR with synced en.json
    Note over JSON: Remove duplicate keys at line ~45<br/>(noLanguageSearchResults, languageSearchAriaLabel)<br/>Keys still present at lines 4-5
    SDK-->>JSON: Apply diff (dedup)
    Comp->>JSON: t('noLanguageSearchResults') → still resolved ✓
    Comp->>JSON: t('languageSearchAriaLabel') → still resolved ✓
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
    participant PL as platform-localization
    participant Bot as pr-bot[bot]
    participant SDK as platform-sdk-react
    participant JSON as en.json
    participant Comp as bible-version-picker.tsx

    PL->>Bot: Trigger "Distribute React Localization" workflow
    Bot->>SDK: Open PR with synced en.json
    Note over JSON: Remove duplicate keys at line ~45<br/>(noLanguageSearchResults, languageSearchAriaLabel)<br/>Keys still present at lines 4-5
    SDK-->>JSON: Apply diff (dedup)
    Comp->>JSON: t('noLanguageSearchResults') → still resolved ✓
    Comp->>JSON: t('languageSearchAriaLabel') → still resolved ✓
Loading

Reviews (1): Last reviewed commit: "chore: sync react localization" | Re-trigger Greptile

@changeset-bot

changeset-bot Bot commented Jun 29, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 857eb97

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

1 participant