This commit is contained in:
Ed
2025-04-13 15:37:00 +03:00
committed by GitHub
parent ac541b63ef
commit 6f665266c4
2 changed files with 10 additions and 10 deletions

View File

@@ -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";
/// <summary>
/// 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);

View File

@@ -1,5 +1,5 @@
[whitelist]
enabled = true
enabled = false
[log]
path = "logs"
@@ -14,13 +14,13 @@ bindto = "::,0.0.0.0"
max_connections = 100
[game]
hostname = "⚔️ CrystallEdge [RU] ⚔️ Status: Whitelist only"
hostname = "⚔️ CrystallEdge [EN] ⚔️ Status: Whitelist Open playtest"
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
maxplayers = 80
lobbyduration = 300
role_timers = true
role_timers = false
[server]
rules_file = "CP14SandboxRU"
@@ -47,7 +47,7 @@ preload_grids = false
auto_call_time = 0
[admin]
deadmin_on_join = false
deadmin_on_join = true
[ic]
flavor_text = true
@@ -61,4 +61,4 @@ enable_during_round = true
[cp14]
discord_auth_enabled = true
closet_beta_test = true
closet_beta_test = false