mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Don't lower case enums or bools
Why
This commit is contained in:
@@ -259,7 +259,7 @@ namespace Robust.Shared.Localization
|
||||
EntityUid entity => new FluentLocWrapperType(new LocValueEntity(entity)),
|
||||
DateTime dateTime => new FluentLocWrapperType(new LocValueDateTime(dateTime)),
|
||||
TimeSpan timeSpan => new FluentLocWrapperType(new LocValueTimeSpan(timeSpan)),
|
||||
bool or Enum => (FluentString)obj.ToString()!.ToLowerInvariant(),
|
||||
bool or Enum => (FluentString)obj.ToString()!,
|
||||
string str => (FluentString)str,
|
||||
byte num => (FluentNumber)num,
|
||||
sbyte num => (FluentNumber)num,
|
||||
|
||||
Reference in New Issue
Block a user