Little doc error

Started by linky, July 29, 2014, 05:56:31 PM

Previous topic - Next topic
Hello,

I'm not sure, but i think there is a very little mistake in this page of the documentation (a "coquille" as you say in french) :

http://www.solarus-games.org/doc/latest/lua_api_text_surface.html

when describing the first function :

sol.text_surface.create([properties]):

the name of the optional properties are written in french instead of the real name of the properties which are spelled in english :

horizontal_alignement    instead of    horizontal_alignment
vertical_alignement        instead of    vertical_alignment

I have copied them directly on this page without thinking, to use them in my code, but then got an error by the engine and realized the mistake. But it is ok in the Table of contents to the right. Not very important of course, but could mislead some newcomers like me.

Thanks


Hi,

I found a little other one:

http://www.solarus-games.org/doc/latest/lua_api_map.html#lua_api_map_methods

for wall entity:

1) map:create_wall(properties)
the first link (in yellow on the picture) goes to:

http://www.solarus-games.org/doc/latest/lua_api_switch.html
instead of
http://www.solarus-games.org/doc/latest/lua_api_wall.html

as indicated by the second link at the end (return value (wall)) that seems more logic.

2) the last property is again "stops_blocks" (already used above) instead of the new property "stops_projectiles".

Thanks

Fixed in the git version, thanks again.