Difference between revisions of "Lua:translate"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | '''function''' translate(''String'') | + | '''function''' translate(''String'') ''':''' string |
Returns a translation of the string. Returns the same string if it can't be found. | Returns a translation of the string. Returns the same string if it can't be found. |
Revision as of 02:06, 11 March 2017
function translate(String) : string
Returns a translation of the string. Returns the same string if it can't be found.
Function Parameters
Parameter | Type | Description |
---|---|---|
String | string | The string to translate |