-
Notifications
You must be signed in to change notification settings - Fork 755
Fix: GulfOfStLawrence map name not being translated #2616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
WalkthroughThe map name translation key construction in PublicLobby.ts is updated to sanitize both whitespace and periods instead of whitespace only. The regex pattern changes from removing spaces to removing both spaces and periods when building translation keys for map names. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (5)📓 Common learnings📚 Learning: 2025-06-09T02:20:43.637ZApplied to files:
📚 Learning: 2025-07-12T06:35:10.457ZApplied to files:
📚 Learning: 2025-10-21T20:06:04.823ZApplied to files:
📚 Learning: 2025-08-19T11:00:55.422ZApplied to files:
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description:
The map name was not translated because it contained a . character, which caused the translation key to break.
To prevent this issue, the map name handling now strips . characters when generating translation keys.
With this change, maps that include . in their names will no longer cause translation issues in the future.
Before fix:

After fix:

Please complete the following:
Please put your Discord username so you can be contacted if a bug or regression is found:
aotumuri