Enhance internationalization support by integrating language selection for school names, updating UI components for localization, and revising documentation. Implement locale-aware formatting for dates and strings, ensuring a seamless user experience in both Russian and English. Update tests to cover new language features.
ci / server (push) Failing after 3m33s
ci / client (push) Successful in 15s

This commit is contained in:
Leonid Pershin
2026-08-18 12:43:14 +03:00
parent b9ddc018d3
commit cc9efca891
24 changed files with 640 additions and 140 deletions
+3 -2
View File
@@ -41,7 +41,8 @@ rather than guessing.
## What you can do
- **Main menu** — every school as a card with its name and its current in-game date and time,
ticking live. Deleting one asks for confirmation first.
ticking live. Deleting one asks for confirmation first. The footer switches the UI between
Russian and English; the choice is remembered in the browser.
- **Create a school** — type a name or roll a random one, pick a start date (3 April 2012, 06:00
by default). At six schools the create button is disabled and says why.
- **Inside a school** — the date, time and weekday of the game calendar, play/pause and the
@@ -81,7 +82,7 @@ dotnet test
npm --prefix src/HSchool.Client test
```
Vitest covers the client codec and the calendar formatting.
Vitest covers the client codec, the calendar formatting and the RU/EN dictionaries.
## Layout