# HG changeset patch # User almikes@aol.com # Date 1419125383 0 # Node ID f3e3229af8bfc90775afb0d960cf285951642ffe # Parent 88cc64932e786aca5c5b01afb8faa169af0cd098 Replaced old lang function with loc. diff -r 88cc64932e78 -r f3e3229af8bf LuaLibraries.wiki --- a/LuaLibraries.wiki Sun Dec 21 01:27:45 2014 +0000 +++ b/LuaLibraries.wiki Sun Dec 21 01:29:43 2014 +0000 @@ -19,9 +19,9 @@ This library allows you to translate string and should be used whenever a script has text. It loads the appropriate locale file and check automatically. -=== lang(text) === +=== `loc(text)` === -Returns the localised string of text or if it is not found it returns text. +Returns the localised string of `text` or, if it is not found, it returns `text`.