Merge pull request #679 from jakr/trac_7706_doc

Documentation in topics/i18n
This commit is contained in:
Will Rossiter 2012-08-03 14:45:59 -07:00
commit 49c1ed4e77

View File

@ -195,7 +195,7 @@ which might vary depending on the used language.
:::php
// in SS-template ($Name must be available in the current template-scope)
<%t MYPROJECT.INJECTIONS "Hello {name} {greeting}" name="$Name" greeting="good to see you" %>
<%t MYPROJECT.INJECTIONS "Hello {name} {greeting}" name=$Name greeting="good to see you" %>
Note that you can still use `sprintf()` wrapped around a `_t()` call
for your substitutions. In contrast to `sprintf()`, our API has a more translator friendly