Localize dedicated server messages.
This commit is contained in:
committed by
Pavel Penev
parent
fe15748cc0
commit
99033ab016
@@ -926,7 +926,7 @@ namespace OpenRA.Server
|
|||||||
DispatchServerOrdersToClients(Order.FromTargetString("Message", text, true));
|
DispatchServerOrdersToClients(Order.FromTargetString("Message", text, true));
|
||||||
|
|
||||||
if (Type == ServerType.Dedicated)
|
if (Type == ServerType.Dedicated)
|
||||||
WriteLineWithTimeStamp(text);
|
WriteLineWithTimeStamp(ModData.Translation.GetFormattedMessage(text));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SendLocalizedMessage(string key, Dictionary<string, object> arguments = null)
|
public void SendLocalizedMessage(string key, Dictionary<string, object> arguments = null)
|
||||||
|
|||||||
Reference in New Issue
Block a user