equal
deleted
inserted
replaced
50 Note these examples do _not_ violate Lua syntax, it is in your responsibility to follow the syntax rules listed above. |
50 Note these examples do _not_ violate Lua syntax, it is in your responsibility to follow the syntax rules listed above. |
51 |
51 |
52 ==== `loc_noop(text)` (0.9.23) ==== |
52 ==== `loc_noop(text)` (0.9.23) ==== |
53 Just returns `text`. This function has the same syntax as `loc`. Like for `loc`, the text will be collected to be made available for translation. |
53 Just returns `text`. This function has the same syntax as `loc`. Like for `loc`, the text will be collected to be made available for translation. |
54 |
54 |
55 You can use this function if you want a make a string available for translation but don't want the string to be translated right now. This can come in handy if you need to store strings in variables and want do something like ´loc(variable_name)` later. |
55 You can use this function if you want a make a string available for translation but don't want the string to be translated right now. This can come in handy if you need to store strings in variables and want do something like `loc(variable_name)` later. |
56 |
56 |
57 == Utils == |
57 == Utils == |
58 |
58 |
59 This library includes miscellaneous functions to use, they are all independent of each other and can be used everywhere. |
59 This library includes miscellaneous functions to use, they are all independent of each other and can be used everywhere. |
60 |
60 |