Commit Graph

13 Commits

Author SHA1 Message Date
Evan 8b6895d745 add prettier import plugin 2025-03-31 13:09:27 -07:00
Aotumuri 9088adeb7a Translate all out-of-game UI (start screen, lobbies, etc.) (#316)
This PR adds full translation support for all out-of-game UI elements,
including the start screen, public/private lobby modals, and other
pre-game interfaces.

All static text has been externalized to en.json and ja.json for future
language support.
If you find any spots that are not yet translated (missing from the
JSON), please let me know.
Thanks a lot!

This is a follow-up to PR
[#305](https://github.com/openfrontio/OpenFrontIO/pull/305).

---------

Co-authored-by: Cldprv <dubois.cnm@tutanota.com>
Co-authored-by: jacks0n <rosty.west89@gmail.com>
2025-03-24 17:12:04 -07:00
Evan ad90f636b3 better check for profane username 2025-03-12 20:10:37 -07:00
Evan 74f56d8fac allow ü 2025-02-20 19:10:40 -08:00
Evan 40966ca3b9 format all files with prettier 2025-02-12 08:28:15 -08:00
RealJosephStalin d6dce787c0 allow emojis in safestring 2025-02-12 02:55:12 -05:00
RealJosephStalin 92485997f0 more permissive usernames 2025-02-09 22:46:02 -05:00
Evan 963daefdeb allow brackets in names 2025-02-09 11:17:33 -08:00
Evan 2fa576c841 sanitize profane usernames 2025-02-08 19:00:35 -08:00
Evan 4ee37323f9 format codebase with prettier 2025-02-01 12:05:11 -08:00
Evan e4d7686b80 allow spaces, increase max username length to 20 2025-01-24 14:47:34 -08:00
Evan f6b739e263 validate usernames on change, fix public lobby highlight bug, validate
strings with zod for safety
2025-01-02 09:02:23 -08:00
Mittani aba8e5dd81 + add validation server side 2024-12-31 13:06:43 -08:00