Some issues (#452)

* possible UI theming fix

* gob blood

* filter guidebooks by Culture settings

* deleted lobby track
This commit is contained in:
Ed
2024-09-23 18:34:04 +03:00
committed by GitHub
parent ecdb02650b
commit 468e3c9f69
17 changed files with 66 additions and 38 deletions

View File

@@ -614,7 +614,7 @@ namespace Content.Shared.CCVar
*/
public static readonly CVarDef<string> UIDefaultInterfaceTheme =
CVarDef.Create("interface.default_theme", "CP14DefaultTheme", CVar.CLIENTONLY);
CVarDef.Create("interface.default_theme", "SS14DefaultTheme", CVar.CLIENTONLY);
public static readonly CVarDef<string> UIClickSound =
CVarDef.Create("interface.click_sound", "/Audio/UserInterface/click.ogg", CVar.REPLICATED);

View File

@@ -49,4 +49,10 @@ public class GuideEntry
[DataField]
public bool CrystallPunkAllowed = false;
/// <summary>
/// ability to disable guidebooks in the wrong language. Use "ru-RU" or "en-US" for example, check ContentLocalizationManager.Culture
/// </summary>
[DataField]
public string? LocFilter;
}

View File

@@ -10,7 +10,7 @@ namespace Content.Shared.Localizations
[Dependency] private readonly ILocalizationManager _loc = default!;
// If you want to change your codebase's language, do it here.
private const string Culture = "ru-RU"; // CrystallPunk-Localization. "ru-RU" or "en-US"
public const string Culture = "ru-RU"; // CrystallPunk-Localization. "ru-RU" or "en-US"
/// <summary>
/// Custom format strings used for parsing and displaying minutes:seconds timespans.