returns ru CBT

This commit is contained in:
Ed
2025-02-22 00:51:50 +03:00
parent 1c433ed581
commit 36916b0952
3 changed files with 42 additions and 42 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 = false
enabled = true
[log]
path = "logs"
@@ -14,7 +14,7 @@ bindto = "::,0.0.0.0"
max_connections = 100
[game]
hostname = "⚔️ CrystallEdge Alpha [ENG] ⚔️ "
hostname = "⚔️ CrystallEdge Alpha [RU] ⚔️ "
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

View File

@@ -27,8 +27,8 @@
- id: CP14MosquitoSpawn
- id: CP14RabbitsSpawn
- id: CP14FrogsSpawn
- id: CP14UnstableDemiplaneT1
- id: CP14UnstableDemiplaneT2
#- id: CP14UnstableDemiplaneT1
#- id: CP14UnstableDemiplaneT2
- type: entity
parent: CP14BaseStationEventShortDelay
@@ -115,36 +115,36 @@
- id: CP14MobGroupSpawnerFrogs
prob: 0.08
- type: entity
parent: CP14BaseStationEventShortDelay
id: CP14UnstableDemiplaneT1
components:
- type: StationEvent
startAnnouncement: cp14-event-announcement-unstable-demiplane
startAudio:
path: /Audio/_CP14/Ambience/event_boom.ogg
earliestStart: 20
minimumPlayers: 15
weight: 5
duration: 60
- type: VentCrittersRule
specialEntries:
- id: CP14AutoDemiplaneKeyT1
prob: 0.001
- type: entity
parent: CP14BaseStationEventShortDelay
id: CP14UnstableDemiplaneT2
components:
- type: StationEvent
startAnnouncement: cp14-event-announcement-unstable-demiplane
startAudio:
path: /Audio/_CP14/Ambience/event_boom.ogg
earliestStart: 20
minimumPlayers: 30
weight: 5
duration: 60
- type: VentCrittersRule
specialEntries:
- id: CP14AutoDemiplaneKeyT2
prob: 0.001
#- type: entity
# parent: CP14BaseStationEventShortDelay
# id: CP14UnstableDemiplaneT1
# components:
# - type: StationEvent
# startAnnouncement: cp14-event-announcement-unstable-demiplane
# startAudio:
# path: /Audio/_CP14/Ambience/event_boom.ogg
# earliestStart: 20
# minimumPlayers: 15
# weight: 5
# duration: 60
# - type: VentCrittersRule
# specialEntries:
# - id: CP14AutoDemiplaneKeyT1
# prob: 0.001
#
#- type: entity
# parent: CP14BaseStationEventShortDelay
# id: CP14UnstableDemiplaneT2
# components:
# - type: StationEvent
# startAnnouncement: cp14-event-announcement-unstable-demiplane
# startAudio:
# path: /Audio/_CP14/Ambience/event_boom.ogg
# earliestStart: 20
# minimumPlayers: 30
# weight: 5
# duration: 60
# - type: VentCrittersRule
# specialEntries:
# - id: CP14AutoDemiplaneKeyT2
# prob: 0.001