webmcp

changeset 325:3384306aa7bc

Autodoc comments improved
author jbe
date Tue Mar 24 00:12:35 2015 +0100 (2015-03-24)
parents 1c3ba14bd679
children ae6e889fe264
files framework/env/__init.lua framework/env/execute/inner.lua
line diff
     1.1 --- a/framework/env/__init.lua	Mon Mar 23 22:41:40 2015 +0100
     1.2 +++ b/framework/env/__init.lua	Tue Mar 24 00:12:35 2015 +0100
     1.3 @@ -9,7 +9,9 @@
     1.4    }
     1.5  )
     1.6  
     1.7 -Translation function for internationalization. The "_" function translates a given string to the currently selected language (see locale.set{...}). If the translated string contains placeholders in the form #{name}, then those placeholders may be automatically replaced with a corresponding substring which is taken from the table passed as optional second argument.
     1.8 +Translation function for localization. The "_" function translates a given string to the currently selected language (see locale.set{...}). If the translated string contains placeholders in the form #{name}, then those placeholders may be automatically replaced with a corresponding substring which is taken from the table passed as optional second argument.
     1.9 +
    1.10 +Hint: Lua's syntax rules allow to write _"text" as a shortcut for _("text"), or _'text' instead of _('text') respectivly.
    1.11  
    1.12  --]]--
    1.13  
     2.1 --- a/framework/env/execute/inner.lua	Mon Mar 23 22:41:40 2015 +0100
     2.2 +++ b/framework/env/execute/inner.lua	Tue Mar 24 00:12:35 2015 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  --[[--
     2.5  execute.inner()
     2.6  
     2.7 -It is MANDATORY to call this function once in each pre-fork and post-fork initializer and once in each filter of a WebMCP application.
     2.8 +It is mandatory to call this function once in each pre-fork and post-fork initializer and once in each filter of a WebMCP application.
     2.9  
    2.10  Calling execute.inner() in an initializer marks the end of initialization (the remaining code is executed when the process is terminated cleanly).
    2.11  

Impressum / About Us