Ticket #7239: patch_django_7239_documentation.20080617.diff
File patch_django_7239_documentation.20080617.diff, 892 bytes (added by , 16 years ago) |
---|
-
docs/i18n.txt
260 260 There are {{ counter }} {{ name }} objects. 261 261 {% endblocktrans %} 262 262 263 **New in development version:** If you need to use `url template tag`_, you 264 can specify it within ``{% blocktrans %}``, as ``count`` above. Example:: 265 266 {% blocktrans url path.to.some_view arg1,arg2,name1=value1 as myurl %} 267 This is a <a href="{{ myurl }}" title="">link</a>. 268 {% endblocktrans %} 269 263 270 Internally, all block and inline translations use the appropriate 264 271 ``ugettext`` / ``ungettext`` call. 265 272 … … 301 308 (keeping the comma intact). 302 309 303 310 .. _Django templates: ../templates_python/ 311 .. _url template tag: ../templates/#url 304 312 305 313 Working with lazy translation objects 306 314 -------------------------------------