1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-09 19:45:21 +01:00

Fix indentation

This commit is contained in:
Bradley Pierce
2024-01-27 10:38:30 -05:00
parent caee8eeff3
commit 9bb080b0a9
10 changed files with 154 additions and 152 deletions

View File

@@ -30,13 +30,13 @@ Optionally, you can also define additional helper functions `FS`, `NS` and `NFS`
Here is the list of all recognized function names. All functions return a string.
* `S`: Returns translation of input. See Minetest's `lua_api.md`. You should always have at
least this function defined.
least this function defined.
* `NS`: Returns the input. Useful to make a string visible to the script without actually
translating it here.
translating it here.
* `FS`: Same as `S`, but returns a formspec-escaped version of the translation of the input.
Supported for convenience.
Supported for convenience.
* `NFS`: Returns a formspec-escaped version of the input, but not translated.
Supported for convenience.
Supported for convenience.
Here is the boilerplate code you have to add at the top of your source code file: