Skip to content

Commit 436d2cb

Browse files
changes, mainly regarding translations
1 parent 271b7c4 commit 436d2cb

File tree

4 files changed

+248
-250
lines changed

4 files changed

+248
-250
lines changed

Source/ORTS.Common/GetStringAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public class GetParticularStringAttribute : GetStringAttribute
4949
public string Context { get; protected set; }
5050
public GetParticularStringAttribute(string context, string name) : base(name) { Context = context; }
5151

52-
public static string GetParticularPrettyName(Enum value, string context)
52+
public static string GetParticularPrettyName(string context, Enum value)
5353
{
5454
var type = value.GetType();
5555
string toBeReturned = type.GetField(Enum.GetName(type, value))

0 commit comments

Comments
 (0)