Skip to content

Commit d3cfc16

Browse files
committed
Added humanize filter
1 parent 1e84ae9 commit d3cfc16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reference/twig_reference.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ Filters
6767
+---------------------------------------------------------------------------------+-------------------------------------------------------------------+
6868
| Filter Syntax | Usage |
6969
+=================================================================================+===================================================================+
70+
| ``text|humanize`` | Makes a technical name human readable (replaces underscores by |
71+
| | spaces and capitalizes the string) |
72+
+---------------------------------------------------------------------------------+-------------------------------------------------------------------+
7073
| ``text|trans(arguments = {}, domain = 'messages', locale = null)`` | This will translate the text into the current language, more |
7174
| | information in :ref:`book-translation-twig`. |
7275
+---------------------------------------------------------------------------------+-------------------------------------------------------------------+

0 commit comments

Comments
 (0)