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:
@@ -1,3 +1,5 @@
|
||||
using HSchool.Simulation;
|
||||
|
||||
namespace HSchool.Server.Game;
|
||||
|
||||
/// <summary>
|
||||
@@ -13,7 +15,7 @@ internal abstract record GameCommand
|
||||
|
||||
internal sealed record DeleteSchool(int SchoolId, TaskCompletionSource<bool> Result) : GameCommand;
|
||||
|
||||
internal sealed record SuggestName(TaskCompletionSource<string> Result) : GameCommand;
|
||||
internal sealed record SuggestName(SchoolNameLanguage Language, TaskCompletionSource<string> Result) : GameCommand;
|
||||
|
||||
/// <summary>A connection starts watching a school; its calendar starts running.</summary>
|
||||
internal sealed record OpenSchool(uint PlayerId, int SchoolId) : GameCommand;
|
||||
|
||||
Reference in New Issue
Block a user