MLS-PACK#355
Conversation
|
DO NOT MERGE PLZ |
lmk when it's ready |
|
I can't debug because I can't use npm run dev. start:client |
|
I don't think it is a problem now! Thanks for waiting. |
|
Please add a summary in the description. I also updated the translation code, I put it in LangSelector.ts, so you'll need to put all language related code there. |
|
This PR refactors and improves the language selection experience: Supported Languages Added Translation Keys |
|
I fixed all! |
|
The following version of the MLS-pack has been merged |
6uzm4n
left a comment
There was a problem hiding this comment.
Everything looks good. I can't do a test run right now but I assume you've tested this through!
|
@evanpelle |
| </label> | ||
| <label | ||
| for="instant-build" | ||
| for="host-modal-instant-build" |
There was a problem hiding this comment.
this is the wrong id, this should be singleplayer-modal-
and the HostLobbyModal should be host-modal-
|
I fixed all! |

Please complete the following:
This is commit pack
This PR refactors and improves the language selection experience:
• Centralizes all language-related logic in LangSelector.ts & LanguageModal.ts
• Redesigns the language selection UI for better UX across devices
• Adds new translations and supports more languages
Changes .w.
• Language selection is now handled entirely inside LangSelector.ts & LanguageModal.ts
• Prevents background scrolling when open
• Highlights the current language at the top
• Always shows English second
• Shows browser language third (if different from current)
• All other languages are sorted alphabetically by English name
• Debug option is shown at the end when pressing D
• The language list is scrollable when it exceeds screen height
Supported Languages
["en", "ja", "fr", "bg", "nl", "ru", "ua", "de"]
Added Translation Keys
Please put your Discord username so you can be contacted if a bug or regression is found:
MLS Representative
Translation collaborator
I don't have permission from my collaborators to display their names here, so I'll put the discord link here
https://discord.com/channels/1284581928254701718/1352553113612980224/1352553113612980224
Collaborators from other servers.
meow02952 (discord id) <- This person also gave me a code suggestion. Thanks!
moon_spear (discord id)
ww_what_ww (discord id)
Azuna (he doesn't have discord account)
kyoyume (discord id)
ultrasuper (discord id)
grueg (he doesn't have discord account)
If I forgot to include your name, or if you’d like your name to be added, please let me know via Gmail or Discord.