Update ContentLocalizationManager.cs
This commit is contained in:
@@ -30,7 +30,7 @@ namespace Content.Shared.Localizations
|
|||||||
//CP14 Boilerplate! Should be deleted when https://github.com/space-wizards/space-station-14/pull/34404 is merged
|
//CP14 Boilerplate! Should be deleted when https://github.com/space-wizards/space-station-14/pull/34404 is merged
|
||||||
_loc.Initialize();
|
_loc.Initialize();
|
||||||
//CP14 Boilerplate end
|
//CP14 Boilerplate end
|
||||||
|
|
||||||
_loc.LoadCulture(culture);
|
_loc.LoadCulture(culture);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -64,6 +64,7 @@ namespace Content.Shared.Localizations
|
|||||||
_loc.AddFunction(culture, "NATURALFIXED", FormatNaturalFixed);
|
_loc.AddFunction(culture, "NATURALFIXED", FormatNaturalFixed);
|
||||||
_loc.AddFunction(culture, "NATURALPERCENT", FormatNaturalPercent);
|
_loc.AddFunction(culture, "NATURALPERCENT", FormatNaturalPercent);
|
||||||
_loc.AddFunction(culture, "PLAYTIME", FormatPlaytime);
|
_loc.AddFunction(culture, "PLAYTIME", FormatPlaytime);
|
||||||
|
_loc.AddFunction(culture, "MAKEPLURAL", FormatMakePlural);
|
||||||
|
|
||||||
_loc.AddFunction(culture, "MANY", FormatMany); // TODO: Temporary fix for MANY() fluent errors. Remove after resolve errors.
|
_loc.AddFunction(culture, "MANY", FormatMany); // TODO: Temporary fix for MANY() fluent errors. Remove after resolve errors.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user