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.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user