1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 08:39:30 +00:00

[doc] update doc

This commit is contained in:
Étienne Fildadut 2024-11-09 17:03:39 +01:00
parent a31fefc68b
commit ed7fe34853
6 changed files with 19 additions and 18 deletions

View file

@ -225,7 +225,7 @@ else!
```
:i = 0
while(i < 5)
while($i < 5)
i += 1
if(i == 4)
break!
@ -240,7 +240,7 @@ for(:x, range(10))
# Persistence
_For more detailled information on this, look at [persistence](standard_library.md#persistence-helpers), [alias variables](#api.md#alias-variables)._
_For more detailled information on this, look at [persistence](standard_library.md#persistence-helpers), [alias variables](language.md#alias-variables)._
Variables that needs to be saved and loaded alongside the game's save files can be stored in persistent storage.
@ -333,4 +333,4 @@ Text and any value preceded by a `%` prefix will be replaced with its translatio
%"red" // "rouge"
```
An Anselme script containing a ready-to-translate list of all translatables elements of a file can be obtained using the [translation template generator Lua API methods](#api.md#generate-translation-template). The template can then be loaded as a regular Anselme file for all the translations to be applied.
An Anselme script containing a ready-to-translate list of all translatables elements of a file can be obtained using the [translation template generator Lua API methods](api.md#generate-translation-template). The template can then be loaded as a regular Anselme file for all the translations to be applied.