Fix layers dropdown localised entries

This commit is contained in:
schiavoanto 2024-10-12 02:00:51 +02:00
parent 9cd7f2b5d4
commit fc1ebfdf64
1 changed files with 2 additions and 2 deletions

View File

@ -31,9 +31,9 @@ public GlobalSkinnableContainerLookup(GlobalSkinnableContainers lookup, RulesetI
public override string ToString() public override string ToString()
{ {
if (Ruleset == null) return Lookup.GetDescription(); if (Ruleset == null) return Lookup.GetLocalisableDescription().ToString();
return $"{Lookup.GetDescription()} (\"{Ruleset.Name}\" only)"; return $"{Lookup.GetLocalisableDescription().ToString()} (\"{Ruleset.Name}\" only)";
} }
public bool Equals(GlobalSkinnableContainerLookup? other) public bool Equals(GlobalSkinnableContainerLookup? other)