feat(locadex): i18n on cursor/iso-coaster-city-button-e9f2#405
Open
locadex-agent[bot] wants to merge 3 commits intocursor/iso-coaster-city-button-e9f2from
Open
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Your pull request is now ready for review with Assert. Stop waiting for your code to break. Ship with confidence using Assert. |
| window.location.replace(`/coaster/coop/${roomCode.toUpperCase()}`); | ||
| } | ||
| }, [refreshSavedParks]); | ||
| }, []); |
There was a problem hiding this comment.
Duplicated park-loading logic in useEffect
Medium Severity · Code Quality
The useEffect on lines 299-316 duplicates the exact logic already defined in the refreshSavedParks callback (lines 286-297). The effect should simply call refreshSavedParks() followed by the URL parameter handling, instead of duplicating the entire park-loading implementation.
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.


PR Opened by Locadex
This PR was automatically opened by Locadex to keep your Next.js repository up to date with the latest translations.
Note
Low Risk
Primarily translation wiring and dependency/version bumps; main risk is minor UI regressions from changed render/wrapping of labels.
Overview
Adds
gt-next-based i18n to the IsoCoaster landing page (src/app/coaster/page.tsx), wrapping user-facing labels (e.g., Continue/New Park/Co-op, saved park metadata, loading state, delete tooltip) inT/Varand usinguseGT()for imperative strings.Refreshes generated translation assets (
public/_gt/*.json) and GT config/lock metadata (gt.config.json,gt-lock.json) to include the new strings, and bumpsgt-nextfrom6.12.3to6.12.7(with corresponding lockfile updates).Written by Cursor Bugbot for commit f08c123. This will update automatically on new commits. Configure here.