English OBT setup (#956)

* fix

* Update Dev.toml
This commit is contained in:
Ed
2025-02-28 20:18:28 +03:00
committed by GitHub
parent 310c711adf
commit b8c2d662b6
3 changed files with 10 additions and 9 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,11 +14,12 @@ bindto = "::,0.0.0.0"
max_connections = 100
[game]
hostname = "⚔️ CrystallEdge Alpha [RU] ⚔️ "
hostname = "⚔️ CrystallEdge Alpha [ENG] ⚔️ Status: 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
lobbyduration = 300
role_timers = false
[server]
rules_file = "CP14SandboxRU"

View File

@@ -1,3 +1,3 @@
cp14-ghost-role-information-rules-demiplane = You are the [colour=red]demiplane antagonist[/color]. Your task is to kill the demiplane invaders at any cost. You can fulfil your goal in any number of ways. You do not remember your past life, and you are absolutely [colour=red]NOT[/color] allowed to remember, say, the name, appearance, etc. of your previous character.
cp14-ghost-role-information-rules-demiplane = You are the [color=red]demiplane antagonist[/color]. Your task is to kill the demiplane invaders at any cost. You can fulfil your goal in any number of ways. You do not remember your past life, and you are absolutely [color=red]NOT[/color] allowed to remember, say, the name, appearance, etc. of your previous character.
cp14-ghost-role-information-rules-free = You are a [colour=yellow]free antagonist[/color]. You can do whatever you want, as long as it doesn't result in widespread destruction and mass deaths. You do not remember your past life, and you are absolutely [colour=red]NOT[/color] allowed to remember, say, the name, appearance, etc. of your previous character.
cp14-ghost-role-information-rules-free = You are a [color=yellow]free antagonist[/color]. You can do whatever you want, as long as it doesn't result in widespread destruction and mass deaths. You do not remember your past life, and you are absolutely [color=red]NOT[/color] allowed to remember, say, the name, appearance, etc. of your previous character.