From 1573d1ee8189f6f58a4190e8e2576382dcb73a16 Mon Sep 17 00:00:00 2001 From: Ed <96445749+TheShuEd@users.noreply.github.com> Date: Tue, 1 Apr 2025 11:16:33 +0300 Subject: [PATCH] ru --- .../Localizations/ContentLocalizationManager.cs | 10 +++++----- Resources/ConfigPresets/_CP14/Dev.toml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Content.Shared/Localizations/ContentLocalizationManager.cs b/Content.Shared/Localizations/ContentLocalizationManager.cs index cdfeca62dc..d1ab35aa4e 100644 --- a/Content.Shared/Localizations/ContentLocalizationManager.cs +++ b/Content.Shared/Localizations/ContentLocalizationManager.cs @@ -10,8 +10,8 @@ namespace Content.Shared.Localizations [Dependency] private readonly ILocalizationManager _loc = default!; // If you want to change your codebase's language, do it here. - public const string Culture = "en-US"; - //public const string Culture = "ru-RU"; + //public const string Culture = "en-US"; + public const string Culture = "ru-RU"; /// /// Custom format strings used for parsing and displaying minutes:seconds timespans. @@ -29,9 +29,9 @@ namespace Content.Shared.Localizations var culture = new CultureInfo(Culture); _loc.LoadCulture(culture); // Uncomment for Ru localization - //var fallbackCulture = new CultureInfo("en-US"); - //_loc.LoadCulture(fallbackCulture); - //_loc.SetFallbackCluture(fallbackCulture); + var fallbackCulture = new CultureInfo("en-US"); + _loc.LoadCulture(fallbackCulture); + _loc.SetFallbackCluture(fallbackCulture); // _loc.AddFunction(culture, "PRESSURE", FormatPressure); diff --git a/Resources/ConfigPresets/_CP14/Dev.toml b/Resources/ConfigPresets/_CP14/Dev.toml index f0897af796..8290ab7940 100644 --- a/Resources/ConfigPresets/_CP14/Dev.toml +++ b/Resources/ConfigPresets/_CP14/Dev.toml @@ -14,7 +14,7 @@ bindto = "::,0.0.0.0" max_connections = 100 [game] -hostname = "⚔️ CrystallEdge [EN] ⚔️ Status: Finally Release!" +hostname = "⚔️ CrystallEdge [RU] ⚔️ Status: Долгожданный релиз!" desc = "History of the City of Sword and Magic. A social economic sandbox reinventing the Space Station 14 concept in fantasy style" lobbyenabled = true soft_max_players = 40 @@ -47,7 +47,7 @@ preload_grids = false auto_call_time = 0 [admin] -deadmin_on_join = true +deadmin_on_join = false [ic] flavor_text = true