Rename Lua UserInterface.Translate to .GetFluentMessage.
This commit is contained in:
@@ -35,7 +35,7 @@ namespace OpenRA.Mods.Common.Scripting.Global
|
||||
|
||||
[Desc("Formats a language string for a given string key defined in the language files (*.ftl). " +
|
||||
"Args can be passed to be substituted into the resulting message.")]
|
||||
public string Translate(string key, [ScriptEmmyTypeOverride("{ string: any }")] LuaTable args = null)
|
||||
public string GetFluentMessage(string key, [ScriptEmmyTypeOverride("{ string: any }")] LuaTable args = null)
|
||||
{
|
||||
if (args != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user