updated doc
authorfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Sun, 13 Dec 2009 15:25:48 +0000 (15:25 +0000)
committerfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Sun, 13 Dec 2009 15:25:48 +0000 (15:25 +0000)
git-svn-id: http://svn.twig-project.org/trunk@175 93ef8e89-cb99-4229-a87c-7fa0fa45744b

doc/02-Twig-for-Template-Designers.markdown
doc/04-Extending-Twig.markdown

index 9400039..d169fd6 100644 (file)
@@ -902,10 +902,10 @@ The `in` operator is a syntactic sugar for the `in` filter:
 
 ### `range` (new in Twig 0.9.5)
 
-Returns a list containing a sequence of numbers. The filtered value represents
-the low value and the filter takes two arguments: the first one is mandatory
-are represents the high value, and the second one is optional and represents
-the step (which defaults to `1`).
+Returns a list containing a sequence of numbers. The left side of the filter
+represents the low value. The first argument of the filter is mandatory and
+represents the high value. The second argument is optional and represents the
+step (which defaults to `1`).
 
 If you do need to iterate over a sequence of numbers:
 
index 10df4e8..3dea0b3 100644 (file)
@@ -64,7 +64,7 @@ Defining new Filters
 --------------------
 
 The most common element you will want to add to Twig is filters. A filter is
-just a regular PHP callable that takes the left side of the filter as first
+just a regular PHP function that takes the left side of the filter as first
 argument and the arguments passed to the filter as extra arguments.
 
 Let's create a filter, named `rot13`, which returns the