Skip to content

Commit

Permalink
[Fix] Localizations / Локализация (#92)
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
Spatison authored Oct 18, 2024
1 parent 8141e99 commit b7ddc51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Content.Shared/Localizations/ContentLocalizationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public void Initialize()
var fallbackCulture = new CultureInfo(FallbackCulture);

_loc.LoadCulture(culture);
_loc.LoadCulture(fallbackCulture);
if (_culture != FallbackCulture)
_loc.LoadCulture(fallbackCulture);
_loc.SetFallbackCluture(fallbackCulture);

_loc.AddFunction(culture, "PRESSURE", FormatPressure);
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/_White/CVars.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static readonly CVarDef<string>
CVarDef.Create("ghost.respawn_max_players", 40, CVar.SERVERONLY);

#endregion

#region OptionsMisc

public static readonly CVarDef<bool> LogInChat =
Expand Down

0 comments on commit b7ddc51

Please sign in to comment.