LuaLibraries.wiki
changeset 529 f3e3229af8bf
parent 528 88cc64932e78
child 530 9d1b7bddb6d2
equal deleted inserted replaced
528:88cc64932e78 529:f3e3229af8bf
    17 <wiki:toc max_depth="2" />
    17 <wiki:toc max_depth="2" />
    18 = Locale =
    18 = Locale =
    19 
    19 
    20 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.
    20 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.
    21 
    21 
    22 === lang(text) ===
    22 === `loc(text)` ===
    23 
    23 
    24 Returns the localised string of text or if it is not found it returns text.
    24 Returns the localised string of `text` or, if it is not found, it returns `text`.
    25 
    25 
    26 
    26 
    27 
    27 
    28 = Utils =
    28 = Utils =
    29 
    29