Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The documentation about internationalization in templates in topics/i…

…18n.md did not match how the parser works. Related to ticket #7706.
  • Loading branch information...
commit 4abe6be5264f8357fc1de561805c6780b08aa16c 1 parent b84a170
jakr jakr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/en/topics/i18n.md
2  docs/en/topics/i18n.md
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.