summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2011-05-14 12:28:36 +0000
committerRamiro Morales <cramm0@gmail.com>2011-05-14 12:28:36 +0000
commit5f605678f073967a4a7bae5c1e9c59fbc0ae0620 (patch)
treec1fdc500dcaecb45ed00c55f0d834495a26bc7cb /docs
parente127e17b49429e344952bfe7e44d909388a06f19 (diff)
Removed last vestiges of references to technical messages from documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/utils.txt10
-rw-r--r--docs/topics/i18n/index.txt23
2 files changed, 2 insertions, 31 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 6296c09d0f..6cf527c239 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -229,12 +229,12 @@ SyndicationFeed
.. class:: SyndicationFeed
Base class for all syndication feeds. Subclasses should provide write().
-
+
.. 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])
Initialize the feed with the given dictionary of metadata, which applies
to the entire feed.
-
+
Any extra keyword arguments you pass to ``__init__`` will be stored in
``self.feed``.
@@ -492,12 +492,6 @@ For a complete discussion on the usage of the following see the
* ``False`` = left-to-right layout
* ``True`` = right-to-left layout
-.. function:: get_date_formats()
-
- Checks whether translation files provide a translation for some technical
- message ID to store date and time formats. If it doesn't contain one, the
- formats provided in the settings will be used.
-
.. function:: get_language_from_request(request)
Analyzes the request to find what language the user wants the system to show.
diff --git a/docs/topics/i18n/index.txt b/docs/topics/i18n/index.txt
index 9c25192504..95e2063c81 100644
--- a/docs/topics/i18n/index.txt
+++ b/docs/topics/i18n/index.txt
@@ -88,26 +88,3 @@ way Django does translation:
that those are as small as possible.
* Django doesn't use ``xgettext`` alone. It uses Python wrappers around
``xgettext`` and ``msgfmt``. This is mostly for convenience.
-
-.. _technical-messages:
-
-Django technical message IDs
-----------------------------
-
-.. versionchanged:: 1.2
- Starting with Django 1.2, technical message IDs are being replaced by :ref:`format-localization`
-
-Django uses technical message IDs to translate date formats and time formats.
-Technical message IDs are :term:`translation strings <translation string>` and
-can be easily recognized; they're all upper case. You don't translate the
-message ID as with other translation strings, you provide the correct local
-variant on the provided English value. The format is identical to the format
-strings used by the ``now`` template tag.
-
-For example, with ``DATETIME_FORMAT`` (or ``DATE_FORMAT`` or ``TIME_FORMAT``),
-this would be the format string that you want to use in your language. A Django
-contributor localizing it to Spanish probably would provide a ``"j N Y P"``
-"translation" for it in the relevant ``django.po`` file::
-
- msgid "DATETIME_FORMAT"
- msgstr "j N Y P"