Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #10503 -- Clarified docs on the operation of the noop option to…

… {% trans %}. Thanks to liangent for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 539bebab3f338af74de9e0caa4e0f94abcc7b31b 1 parent 2aa8890
Russell Keith-Magee authored March 24, 2009

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. 10  docs/topics/i18n.txt
10  docs/topics/i18n.txt
@@ -251,9 +251,9 @@ The ``{% trans %}`` template tag translates either a constant string
251 251
     <title>{% trans "This is the title." %}</title>
252 252
     <title>{% trans myvar %}</title>
253 253
 
254  
-If the ``noop`` option is present, variable lookup still takes place but the
255  
-translation is skipped. This is useful when "stubbing out" content that will
256  
-require translation in the future::
  254
+If the ``noop`` option is present, variable lookup still takes place, but the
  255
+original text will be returned unchanged. This is useful when "stubbing out"
  256
+content that will require translation in the future::
257 257
 
258 258
     <title>{% trans "myvar" noop %}</title>
259 259
 
@@ -995,9 +995,9 @@ test or compile a changed message file, you will need the ``gettext`` utilities:
995 995
       * Add ``;C:\Program Files\gettext-utils\bin`` at the end of the
996 996
         ``Variable value`` field
997 997
 
998  
-You may also use ``gettext`` binaries you have obtained elsewhere, so long as 
  998
+You may also use ``gettext`` binaries you have obtained elsewhere, so long as
999 999
 the ``xgettext --version`` command works properly. Some version 0.14.4 binaries
1000  
-have been found to not support this command. Do not attempt to use Django 
  1000
+have been found to not support this command. Do not attempt to use Django
1001 1001
 translation utilities with a ``gettext`` package if the command ``xgettext
1002 1002
 --version`` entered at a Windows command prompt causes a popup window saying
1003 1003
 "xgettext.exe has generated errors and will be closed by Windows".

0 notes on commit 539beba

Please sign in to comment.
Something went wrong with that request. Please try again.