From 4abe6be5264f8357fc1de561805c6780b08aa16c Mon Sep 17 00:00:00 2001 From: jakr <jk_reg@kristoferitsch.name> Date: Sun, 29 Jul 2012 19:57:57 +0200 Subject: [PATCH] The documentation about internationalization in templates in topics/i18n.md did not match how the parser works. Related to ticket #7706. --- docs/en/topics/i18n.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/topics/i18n.md b/docs/en/topics/i18n.md index 91c26ee98..b15b678e9 100644 --- a/docs/en/topics/i18n.md +++ b/docs/en/topics/i18n.md @@ -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