Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed last vestiges of references to technical messages from docume…

…ntation.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5f605678f073967a4a7bae5c1e9c59fbc0ae0620 1 parent e127e17
Ramiro Morales authored May 14, 2011
10  docs/ref/utils.txt
@@ -229,12 +229,12 @@ SyndicationFeed
229 229
 .. class:: SyndicationFeed
230 230
 
231 231
     Base class for all syndication feeds. Subclasses should provide write().
232  
-    
  232
+
233 233
     .. method:: __init__(title, link, description, [language=None, author_email=None, author_name=None, author_link=None, subtitle=None, categories=None, feed_url=None, feed_copyright=None, feed_guid=None, ttl=None, **kwargs])
234 234
 
235 235
         Initialize the feed with the given dictionary of metadata, which applies
236 236
         to the entire feed.
237  
-        
  237
+
238 238
         Any extra keyword arguments you pass to ``__init__`` will be stored in
239 239
         ``self.feed``.
240 240
 
@@ -492,12 +492,6 @@ For a complete discussion on the usage of the following see the
492 492
      * ``False`` = left-to-right layout
493 493
      * ``True`` = right-to-left layout
494 494
 
495  
-.. function:: get_date_formats()
496  
-
497  
-    Checks whether translation files provide a translation for some technical
498  
-    message ID to store date and time formats. If it doesn't contain one, the
499  
-    formats provided in the settings will be used.
500  
-
501 495
 .. function:: get_language_from_request(request)
502 496
 
503 497
     Analyzes the request to find what language the user wants the system to show.
23  docs/topics/i18n/index.txt
@@ -88,26 +88,3 @@ way Django does translation:
88 88
       that those are as small as possible.
89 89
     * Django doesn't use ``xgettext`` alone. It uses Python wrappers around
90 90
       ``xgettext`` and ``msgfmt``. This is mostly for convenience.
91  
-
92  
-.. _technical-messages:
93  
-
94  
-Django technical message IDs
95  
-----------------------------
96  
-
97  
-.. versionchanged:: 1.2
98  
-    Starting with Django 1.2, technical message IDs are being replaced by :ref:`format-localization`
99  
-
100  
-Django uses technical message IDs to translate date formats and time formats.
101  
-Technical message IDs are :term:`translation strings <translation string>` and
102  
-can be easily recognized; they're all upper case. You don't translate the
103  
-message ID as with other translation strings, you provide the correct local
104  
-variant on the provided English value. The format is identical to the format
105  
-strings used by the ``now`` template tag.
106  
-
107  
-For example, with ``DATETIME_FORMAT`` (or ``DATE_FORMAT`` or ``TIME_FORMAT``),
108  
-this would be the format string that you want to use in your language. A Django
109  
-contributor localizing it to Spanish probably would provide a ``"j N Y P"``
110  
-"translation" for it in the relevant ``django.po`` file::
111  
-
112  
-    msgid "DATETIME_FORMAT"
113  
-    msgstr "j N Y P"

0 notes on commit 5f60567

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