chore: sync react localization from platform-localization#278
Closed
platform-localization-pr-bot[bot] wants to merge 1 commit into
Closed
chore: sync react localization from platform-localization#278platform-localization-pr-bot[bot] wants to merge 1 commit into
platform-localization-pr-bot[bot] wants to merge 1 commit into
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated localization sync from
platform-localization.4fa6992cc909a1115d57ce53d4f0af76ef230692Distribute React LocalizationGreptile Summary
This automated localization sync removes two duplicate keys (
noLanguageSearchResultsandlanguageSearchAriaLabel) frompackages/ui/src/i18n/locales/en.json. Both keys still exist at their original positions near the top of the file, so no string references are broken.en.json; the second occurrences (around line 43-45) have been removed, leaving the canonical entries at lines 4-5 intact.Confidence Score: 5/5
Safe to merge — removes duplicate JSON keys while preserving the canonical entries, with no functional impact on any consuming component.
The change is minimal and mechanical: two keys that appeared twice in the locale file now appear only once. The values and the primary key positions are unchanged, so any component that looks up these translation strings will continue to work as before.
No files require special attention.
Important Files Changed
noLanguageSearchResultsandlanguageSearchAriaLabel; both keys remain valid at their original positions near the top of the file.Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A[platform-localization repo\nref: 4fa6992c] -->|Distribute React Localization workflow| B[Sync bot generates PR] B --> C[en.json updated] C --> D{Duplicate keys?} D -->|noLanguageSearchResults\nlanguageSearchAriaLabel| E[Remove second occurrence\naround line 43-45] D -->|All other keys| F[No change] E --> G[Keys remain at lines 4-5\nin final en.json] F --> G%%{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"}}}%% flowchart TD A[platform-localization repo\nref: 4fa6992c] -->|Distribute React Localization workflow| B[Sync bot generates PR] B --> C[en.json updated] C --> D{Duplicate keys?} D -->|noLanguageSearchResults\nlanguageSearchAriaLabel| E[Remove second occurrence\naround line 43-45] D -->|All other keys| F[No change] E --> G[Keys remain at lines 4-5\nin final en.json] F --> GReviews (1): Last reviewed commit: "chore: sync react localization" | Re-trigger Greptile